function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
samthakur74samthakur74 

Preserving/Inserting parameters on URL redirect for SSO

Hello,

We are trying to implement SSO with a webapplication and SF. The scenario is the user logs into the webapplication (with that webapplication's user Id. If the login is sucessful, then user can click a link on the webapplication page which sends a REST request to SF. The REST request will have the SF username and password (and anything else required for Login into SF).

SF has been configured to use SSO. So this login request is redirected to IdP , in our case OpenAM. Now i would like to retrieve the SF username in openAM (where i have written a custom authentication module). How can i preserve the parameters passed to SF, when SF redirects to openAM? I think in an http redirect the parameters get lost.

 

The webapplication is within the network, SF is on a public IP and openAM is in the DMZ.

 

Thanks
Sameer

ChrisOctagonChrisOctagon

If the client passes in a "state" parameter, it is returned in the callback. https://login.salesforce.com/help/doc/en/remoteaccess_oauth_web_server_flow.htm