160
Views
5
Comments
[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.

2021-04-09 11-42-43
assif_tiger
 
MVP

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

UserImage.jpg
Andy Yan

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


2021-04-09 11-42-43
assif_tiger
 
MVP

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 (https://YOUR_SERVER/IdP/SSO.aspx)
 - Audience URI (SP Entity ID): URL of the outsystems environement to handle the SAML response (https://YOUR_SERVER/IdP/SSO.aspx)


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



UserImage.jpg
Andy Yan

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 (https://YOUR_SERVER/IdP/SSO.aspx)
 - Audience URI (SP Entity ID): URL of the outsystems environement to handle the SAML response (https://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 https://YOUR_SERVER/IdP/SSO.aspx.

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


Any thoughts? Thanks.


2021-01-07 18-44-43
Paul Ward

I know this is a very old thread, but there's no resolution so I wanted to chime in.  I just hit the same symptoms and my problem was that I was integrating Okta SSO in a Reactive Web App, but I did NOT have IdPReact installed.  It would successfully authenticate with Okta and redirect back to my OS app, but then it'd just keep redirecting to itself over and over.

I saw the setting in the IdP app for "Allow React Apps" was disabled because I didn't have IdPReact installed.  Once I installed that, it was enabled and my redirect worked properly.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.