[IdP] IdP Configuration - Okta Redirection Stuck in Loop

Hi there,


I've been trying to configure the IdP component in Forge into my web application.

https://www.outsystems.com/forge/component-discussions/599/IdP


I followed the instruction to modify the "No Permission" Preparation part, and created application in Okta, and so forth.

Currently, I can tell the connection has been built. The issue I'm stuck with is that Okta redirection keeps stuck in a loop and goes nowhere.

The stuck URL is like the following:

https://xxxxxx.okta.com/app/evolutionhealth_lsgdoa_2/exkbumhbuNMAn60mi356/sso/saml?SAMLRequest=...

And I debugged it. It turned out that the redirection kept itself endless...

Any thoughts? Thanks.

Andy Yan wrote:

Hi there,


I've been trying to configure the IdP component in Forge into my web application.

https://www.outsystems.com/forge/component-discussions/599/IdP


I followed the instruction to modify the "No Permission" Preparation part, and created application in Okta, and so forth.

Currently, I can tell the connection has been built. The issue I'm stuck with is that Okta redirection keeps stuck in a loop and goes nowhere.

The stuck URL is like the following:

https://xxxxxx.okta.com/app/evolutionhealth_lsgdoa_2/exkbumhbuNMAn60mi356/sso/saml?SAMLRequest=...

And I debugged it. It turned out that the redirection kept itself endless...

Any thoughts? Thanks.

Can u verify the SSO_Url added in Okta Configuration

assif_tiger wrote:

Andy Yan wrote:

Hi there,


I've been trying to configure the IdP component in Forge into my web application.

https://www.outsystems.com/forge/component-discussions/599/IdP


I followed the instruction to modify the "No Permission" Preparation part, and created application in Okta, and so forth.

Currently, I can tell the connection has been built. The issue I'm stuck with is that Okta redirection keeps stuck in a loop and goes nowhere.

The stuck URL is like the following:

https://xxxxxx.okta.com/app/evolutionhealth_lsgdoa_2/exkbumhbuNMAn60mi356/sso/saml?SAMLRequest=...

And I debugged it. It turned out that the redirection kept itself endless...

Any thoughts? Thanks.

Can u verify the SSO_Url added in Okta Configuration

Hi there,


Thanks for the reply.

The SSO URL in Okta configuration was set to be serverdomain/IdP/SSO.aspx. But it redirected me to the servicecenter login page.

So, after that, I changed the SSO URL to be the homepage of the web application. The the loop thing showed up.


Any thoughts? Thanks


Andy Yan wrote:

assif_tiger wrote:

Andy Yan wrote:

Hi there,


I've been trying to configure the IdP component in Forge into my web application.

https://www.outsystems.com/forge/component-discussions/599/IdP


I followed the instruction to modify the "No Permission" Preparation part, and created application in Okta, and so forth.

Currently, I can tell the connection has been built. The issue I'm stuck with is that Okta redirection keeps stuck in a loop and goes nowhere.

The stuck URL is like the following:

https://xxxxxx.okta.com/app/evolutionhealth_lsgdoa_2/exkbumhbuNMAn60mi356/sso/saml?SAMLRequest=...

And I debugged it. It turned out that the redirection kept itself endless...

Any thoughts? Thanks.

Can u verify the SSO_Url added in Okta Configuration

Hi there,


Thanks for the reply.

The SSO URL in Okta configuration was set to be serverdomain/IdP/SSO.aspx. But it redirected me to the servicecenter login page.

So, after that, I changed the SSO URL to be the homepage of the web application. The the loop thing showed up.


Any thoughts? Thanks


Then Probably you didn't set the SSO properly in below property on OKTA.

- Single sign on URL: URL of the outsystems environement to handle the SAML response (http://YOUR_SERVER/IdP/SSO.aspx)
 - Audience URI (SP Entity ID): URL of the outsystems environement to handle the SAML response (http://YOUR_SERVER/IdP/SSO.aspx)


Can you check the same, also do share the Logs from IDP Web



assif_tiger wrote:

Andy Yan wrote:

assif_tiger wrote:

Andy Yan wrote:

Hi there,


I've been trying to configure the IdP component in Forge into my web application.

https://www.outsystems.com/forge/component-discussions/599/IdP


I followed the instruction to modify the "No Permission" Preparation part, and created application in Okta, and so forth.

Currently, I can tell the connection has been built. The issue I'm stuck with is that Okta redirection keeps stuck in a loop and goes nowhere.

The stuck URL is like the following:

https://xxxxxx.okta.com/app/evolutionhealth_lsgdoa_2/exkbumhbuNMAn60mi356/sso/saml?SAMLRequest=...

And I debugged it. It turned out that the redirection kept itself endless...

Any thoughts? Thanks.

Can u verify the SSO_Url added in Okta Configuration

Hi there,


Thanks for the reply.

The SSO URL in Okta configuration was set to be serverdomain/IdP/SSO.aspx. But it redirected me to the servicecenter login page.

So, after that, I changed the SSO URL to be the homepage of the web application. The the loop thing showed up.


Any thoughts? Thanks


Then Probably you didn't set the SSO properly in below property on OKTA.

- Single sign on URL: URL of the outsystems environement to handle the SAML response (http://YOUR_SERVER/IdP/SSO.aspx)
 - Audience URI (SP Entity ID): URL of the outsystems environement to handle the SAML response (http://YOUR_SERVER/IdP/SSO.aspx)


Can you check the same, also do share the Logs from IDP Web



Hi mate,


I set the SSO URL to be in the format of http://YOUR_SERVER/IdP/SSO.aspx.

But like before, it always re-directed me to the Outsystems Service Center Login Page.


Any thoughts? Thanks.