SAML SSO with FortiGate as IdP
You can enable SAML SSO to allow users to log in to EMS using a FortiGate as an identity provider (IdP).
To configure SAML SSO:
- Configure SAML SSO in FortiOS with EMS as the service provider (SP). See Configuring single-sign-on in the Security Fabric. Ensure that you download the IdP certificate and copy the IdP entity ID and IDP single sign-on URL values to use when configuring SAML SSO on EMS.
- In EMS, go to Administration > SAML SSO.
- Click Enable SAML SSO.
- (Optional) EMS prepopulates the Assertion Attributes > Username Claim field with username as the value. This is the same default value as in FortiOS. If you change this value, ensure that you also change the value in FortiOS by going to Security Fabric > Fabric Connectors > Security Fabric Setup > SAML Single Sign-On Advanced Options. Edit the EMS SP and confirm that the value in SAML Attribute > Name is the same as the value in EMS in Assertion Attributes > Username Claim.
- Configure Service Provider Settings:
- Configure Identity Provider Settings. In this configuration, the FortiGate is the IdP:
Setting
Description
IdP Entity ID
Enter the IdP entity ID value that you copied from FortiOS.
IdP single sign-on URL
Enter the IdP single sign-on URL value that you copied from FortiOS.
IdP Certificate
Click Upload new certificate to upload the IdP certificate.
Upload the same certificate that you configured for the IdP (the FortiGate) in FortiOS in step 1.
- (Optional) If desired, toggle on Enable Authorization Rules. When this feature is disabled, all SSO users from the IdP can become EMS admin users. When this feature is enabled, only SSO users from the IdP that satisfy a configured rule can become an EMS admin user. To add a rule, click Add. In the Authorization Rule field, enter a username. This field is case-insensitive. Add multiple rules as desired. Only SSO users from the IdP with usernames that match the configured authorization rules can access EMS as an admin user.
Deleting an authorization rule does not remove its associated users as admin users from EMS. You must delete them from Administration > Admin Users.
- Click Save.
- In FortiOS, create a new system administrator. These users can log in to EMS using SAML SSO.
For a user to log in using SAML SSO, you must enable remote HTTPS access on EMS. See Configuring EMS settings. |
To log in to EMS using SSO:
- Double-click the FortiClient Endpoint Management Server icon.
- Click Sign in with SSO.
- EMS displays the SSO login page. Enter a username and password configured in FortiOS, then click Login.
When an administrator logs in to EMS with SSO for the first time, they have restricted permissions. An EMS super administrator can adjust permissions for the new administrator. |