Technical Tip: Hiding Group membership details from browser after SAML login success
| Description | when users authenticate through SAML SSO with FortiAuthenticator, the success page may display group memberships and other attributes. These details are visible in the browser and may not be desirable to expose to end users. |
| Scope | FortiAuthenticator. |
| Solution | When integrating FortiAuthenticator with Microsoft Entra ID (formerly Azure AD) or other SAML Identity Providers, users connecting to wireless SSIDs get redirected to the IdP for authentication.
After a user successfully authenticates through SAML SSO, the browser is redirected to the FortiAuthenticator SAML Service Provider success page. By default, this page not only confirms successful login but also displays attributes passed from the Identity Provider (IdP), including group memberships, device IP address, and username.
This detailed information can be used for troubleshooting or administrative review, but in production environments, it is often unnecessary and should be hidden to ensure a cleaner and more secure user experience.
To remove or customize what is displayed in the browser:
The lines below can be edited out of the HTML code to hide group membership details:
<div id="group_info">
After applying this change, the post-login success page will only display the customized confirmation message (e.g., 'Login successful'), and group membership details will not be displayed.
|

