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
timlitimli 

Wrong redirect after SSO login

Hi all,

we have a newly setup working SSO SAML configuration with ADFS.
However, after SSO login the user will be redirected to the original server instance URL instead of the configured MyDomain although the MyDomain is the configured Entity ID and the login page is accessed via MyDomain.

Has anyone an idea how to resolve this?

Thank you.
Best Answer chosen by timli
AbhishekAbhishek (Salesforce Developers) 
That means you haven't configured properly.

https://salesforce.stackexchange.com/questions/11713/how-does-a-user-with-saml-sso-get-redirected-to-idp-login-page

Check the settings and URL based on the above discussion.

For further reference check this too.

Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.

Thanks.

All Answers

AbhishekAbhishek (Salesforce Developers) 
That means you haven't configured properly.

https://salesforce.stackexchange.com/questions/11713/how-does-a-user-with-saml-sso-get-redirected-to-idp-login-page

Check the settings and URL based on the above discussion.

For further reference check this too.

Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.

Thanks.
This was selected as the best answer
timlitimli
It wasn't the settings themselves - the trick was to re-deploy the existing MyDomain. After that the redirect worked correctly.
Thanks.
Kirsten CoxKirsten Cox
@timli - Can you elaborate on how you re-deployed the existing domain? I'm having a hard time finding documentation on that
timlitimli
When you change and save your My-Domain-Details, you are provided a button to deploy changes to your users