Redirection after SSO login and logout
Watch how to configure this feature: ▶ Watch Setup Video
- To configure this feature, go to the Client Configuration section and navigate to the Manage tab to locate your desired application.
- In the corresponding application row, click the dropdown arrow next to Attribute Mapping under the Mappings column, and select Client Settings.
- Scrolldown to the Redirection after SSO login and logout section.
Redirect URL for Anonymous User
- It will redirect anonymous or restricted users who are not allowed to perform SSO to the specified endpoints.
- Enter the complete URL in the Redirect URL for Anonymous User field to specify where anonymous users should be redirected.
Redirect URL after login
- This feature will help you redirect users after successful SSO.
- Enter the URL in the Redirect URL after login field to specify where users should be redirected after SSO.
Redirect URL after logout
- With this feature, you can redirect users after logout wherever you want.
- Enter the URL in the Redirect URL after logout field to specify where users should be redirected after Logout.
- If you want to keep the user on the same page, then check the Keep users on the same page after logout check box.
- Then, scroll down and click the Save button.
How it Works
- Now, let’s see how this feature works.
- Starting with Anonymous User redirection.
- Navigate to the Drupal site login page and click on the provider link to log in to the Drupal site.
- Log in to Provider with an anonymous user.
- After the successful SSO, you'll be redirected to the URL you specified.
- Next, we will see the redirection after login.
- Follow the same process and log in to the provider with the new user.
- After the successful SSO, you'll be redirected to the URL you specified.
- Now, redirection after logout,
- After the logout, you will be redirected to the URL you specified.