You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to handle SSO login with OSF working from localhost?

edited Sep 18, 2023 6:13PM in Commerce 2 comments

Summary:

Login using SSO is not working in localhost.


Content (required):

The project uses Single Sign On (SSO) with an IDP external to OCC, everything works correctly in the environment.

But we need to be able to log in with the application running on localhost to facilitate and speed up the development process.

We change the parameters that are sent to the IDP so that after logging in it redirects to "localhost" instead of the environment, the redirection to localhost is done correctly but the site remains blank.

Reviewing the behavior in the "Network" tab of devtools, the POST to /SAML/post is made to the environment URL:

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!