How to handle SSO login with OSF working from localhost?
Login using SSO is not working in localhost.
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: