Print this page

Redirection of Deep links from community to SAML SSO

Knowledge Article Number 000205506
Description When Community users access deep links, they may be redirected to Standard Authorization Required page , if you had setup Single Sign On for community users .
To resolve this, Check the below options after you have enabled SSO or Auth Providers in your org. 

1)  To Setup the community users to login using your SSO
GoTo Setup->Customize->Communities->All Communities->Administration Settings-> Login & Registration and select your SSO provider
Select options that external users can use to log in. External users are users such as customers or partners. These login options aren't available to employees, who must log in with their Salesforce username and password.
To configure more login options, go to Single Sign-On Settings or Auth. ProvidersTo include more options on the login page, edit your single sign-on or authentication provider settings.
  •  Username and password
  •  SSO


If you do not see your SSO here, make sure you go to Single Sign On settings and configure one. 
Ref Doc : https://help.salesforce.com/HTViewHelpDoc?id=sso_saml.htm


2) For the deep links 
Go to  Setup->Customize->Communities->All Communities->Force.com
Scroll down to the Error Pages Section and set the Authorization Required Page(401) as your default communities Login Page
Action
Error Condition
Site Page Name
Site Page Description
PreviewAuthorization Required Page (401)CommunitiesLoginDefault communities login page
PreviewLimit Exceeded Page (509)Bandwidth_ExceededDefault Force.com Limit Exceeded page
PreviewMaintenance Page(500/503)In_MaintenanceDefault Force.com In Maintenance page
PreviewPage Not Found Page (404)Not_FoundDefault Force.com Page/Data Not Found page
PreviewGeneric Error PageError_PageDefault Force.com page for post-authentication errors
Resolution 1)  To Setup the community users to login using your SSO
GoTo Setup->Customize->Communities->All Communities->Administration Settings-> Login & Registration and select your SSO provider


2) For the deep links 
Go to  Setup->Customize->Communities->All Communities->Force.com
Scroll down to the Error Pages Section and set the Authorization Required Page(401) as your default communities Login Page




promote demote