Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

Administration Guide

Service providers

Service providers (SP) can be managed from Authentication > SAML IdP > Service Providers.

To configure SAML service provider settings:
  1. Select Create New.

  2. Enter the following information:
    IdP address To configure the IDP address (and IDP settings below), you must have already configured the server's address under Authentication > SAML IdP > General.
    SP name Enter a name for the SP.
    IdP prefix

    Enter a prefix for the IDP that is appended to the end of the IDP URLs.

    Alternatively, you can select Generate prefix to generate a random 16 digit alphanumeric string.

    Server certificate

    Select a server certificate to use for the SP. If a certificate is not selected, the specified default IdP certificate is used.

    IDP entity id

    The IDP's entity ID, for example:

    http://www.example.com/saml-idp/xxx/metadata/

    IDP single sign-on URL

    The IDP's login URL, for example:

    http://www.example.com/saml-idp/xxx/login/

    IDP single logout URL

    The IDP's logout URL, for example:

    http://www.example.com/saml-idp/xxx/logout/

    Support IdP-initiated assertion response

    Allows the IdP to send an assertion response to the SP without a prior request from the SP.

    Enabling this setting allows the SP to participate in IdP initiated login, and causes the SP to appear in the IdP login portal.

     

    Relay state

    Allows SP to redirect user to the provided URL after a successful assertion response.

    Participate in single logout

    Enable or disable participation in single logout for the SAML IdP service.

    SP Metadata SP Metadata fields are only available once the SAML Service Provider settings has been saved.

     

    SP entity id Enter the SP's entity ID.

     

    SP ACS (login) URL

    Enter the SP's Assertion Consumer Service (ACS) login URL.

    Click Alternative ACS URLs to configure up to three additional ACS (login) and SLS (logout) URLs.

     

    SP SLS (logout) URL Enter the SP's Single Logout Service (SLS) logout URL.
    SAML request must be signed by SP Enable this option and import the SP certificate for authentication request signing by the SP.

     

    Certificate type

    SP certificate: The SP request is signed by the specified certificate.

    Direct CA certificate: The SP request must contain the SP certificate fingerprint that was used to sign the request, and the certificate fingerprint must be issued by the CA specified in the configuration.

     

    Certificate fingerprint

    The primary certificate for verifying the SP request signature.

     

    Fingerprint algorithm

    Displays the detected fingerprint algorithm of the certificate fingerprint or alternative certificate fingerprint.

     

    Alternative certificate fingerprint

    Specify a second acceptable certificate for verifying the SP request signature. FortiAuthenticator will accept SP requests with a valid signature from either configured certificate.

     

    Use ACS URL from SP authentication request

    When enabled, indicates that the ACS URL must be included within the SP request, and that the FortiAuthenticator must use it instead of the pre-configured ACS URL.

    Authentication
      Authentication method

    Select one of the following:

    • Mandatory two-factor authentication

    • Verify all configured authentication factors

    • Password-only authentication (exclude users without a password)
    • Token-only authentication (exclude users without a FortiToken)
      Adaptive Authentication

    Enable this option if you would like to have certain users bypass the OTP verification, so long as they belong to a trusted subnet.

    Select Configure subnets to configure trusted subnets (under Authentication > User Account Policies > Trusted Subnets).

    Select All trusted subnets to add all the available trusted subnets.

    You can specify the trusted subnets by selecting Specify trusted subnets and clicking the pen icon. This opens a window where you can choose from a list of available trusted subnets.

     

    Application name for FTM push notification

    Enter the client application name. This field is displayed on the FortiToken app.

    When creating a new SP or upgrading to FortiAuthenticator 6.3, the SP name is the default client application name.

    Assertion Attributes
      Subject NameID

    Select the user attribute that serves as SAML assertion subject NameID.

    Select from either Username, Email, Remote LDAP user DN, Remote LDAP user objectGUID, Remote LDAP user mS-DS ConsistencyGuid, Remote LDAP Custom attribute, Remote SAML Subject NameID, or Remote SAML Custom assertion.

    If the attribute selected is not available for a user, Username is used by default.

      Format Select from Unspecified, Transient, or Persistent.

     

    Include realm name in subject NameID

    When enabled, you can select the username/realm format to include in subject NameID.

    SAML Attribute

    Select Create New to create a new attribute that is added to SAML assertion.

    The following user attributes are available when creating a new assertion attribute:

    FortiAuthenticator:

    • Username

    • First Name

    • Last Name

    • Email

    • Group

    • IAM account name

    • IAM account alias

    • IAM username

    Remote LDAP server:

    • DN

    • sAMAccountName

    • userPrincipalName

    • displayName

    • objectGUID

    • mS-DS-ConsistencyGuid

    • Group
    • Custom attribute

    Remote RADIUS server:

    • RADIUS attribute

    When RADIUS attribute is selected as the User attribute, the following additional settings are available in the Create New Assertion Attribute dialog:

    • Vendor: The RADIUS vendor name.

    • Attribute ID: The attribute within the vendor's RADIUS dictionary.

    Remote SAML server:

    • SAML username

    • SAML group membership

    • SAML assertion

    Other:

    • Authentication status

    • Realm (returns the realm that the end user was authenticated against)

     

    Debugging Options
      Do not return to service provider automatically after successful authentication, wait for user input Enable this option to let users choose where to navigate to after they are authenticated.
      Disable this service provider Disables the SP.

Service providers

Service providers (SP) can be managed from Authentication > SAML IdP > Service Providers.

To configure SAML service provider settings:
  1. Select Create New.

  2. Enter the following information:
    IdP address To configure the IDP address (and IDP settings below), you must have already configured the server's address under Authentication > SAML IdP > General.
    SP name Enter a name for the SP.
    IdP prefix

    Enter a prefix for the IDP that is appended to the end of the IDP URLs.

    Alternatively, you can select Generate prefix to generate a random 16 digit alphanumeric string.

    Server certificate

    Select a server certificate to use for the SP. If a certificate is not selected, the specified default IdP certificate is used.

    IDP entity id

    The IDP's entity ID, for example:

    http://www.example.com/saml-idp/xxx/metadata/

    IDP single sign-on URL

    The IDP's login URL, for example:

    http://www.example.com/saml-idp/xxx/login/

    IDP single logout URL

    The IDP's logout URL, for example:

    http://www.example.com/saml-idp/xxx/logout/

    Support IdP-initiated assertion response

    Allows the IdP to send an assertion response to the SP without a prior request from the SP.

    Enabling this setting allows the SP to participate in IdP initiated login, and causes the SP to appear in the IdP login portal.

     

    Relay state

    Allows SP to redirect user to the provided URL after a successful assertion response.

    Participate in single logout

    Enable or disable participation in single logout for the SAML IdP service.

    SP Metadata SP Metadata fields are only available once the SAML Service Provider settings has been saved.

     

    SP entity id Enter the SP's entity ID.

     

    SP ACS (login) URL

    Enter the SP's Assertion Consumer Service (ACS) login URL.

    Click Alternative ACS URLs to configure up to three additional ACS (login) and SLS (logout) URLs.

     

    SP SLS (logout) URL Enter the SP's Single Logout Service (SLS) logout URL.
    SAML request must be signed by SP Enable this option and import the SP certificate for authentication request signing by the SP.

     

    Certificate type

    SP certificate: The SP request is signed by the specified certificate.

    Direct CA certificate: The SP request must contain the SP certificate fingerprint that was used to sign the request, and the certificate fingerprint must be issued by the CA specified in the configuration.

     

    Certificate fingerprint

    The primary certificate for verifying the SP request signature.

     

    Fingerprint algorithm

    Displays the detected fingerprint algorithm of the certificate fingerprint or alternative certificate fingerprint.

     

    Alternative certificate fingerprint

    Specify a second acceptable certificate for verifying the SP request signature. FortiAuthenticator will accept SP requests with a valid signature from either configured certificate.

     

    Use ACS URL from SP authentication request

    When enabled, indicates that the ACS URL must be included within the SP request, and that the FortiAuthenticator must use it instead of the pre-configured ACS URL.

    Authentication
      Authentication method

    Select one of the following:

    • Mandatory two-factor authentication

    • Verify all configured authentication factors

    • Password-only authentication (exclude users without a password)
    • Token-only authentication (exclude users without a FortiToken)
      Adaptive Authentication

    Enable this option if you would like to have certain users bypass the OTP verification, so long as they belong to a trusted subnet.

    Select Configure subnets to configure trusted subnets (under Authentication > User Account Policies > Trusted Subnets).

    Select All trusted subnets to add all the available trusted subnets.

    You can specify the trusted subnets by selecting Specify trusted subnets and clicking the pen icon. This opens a window where you can choose from a list of available trusted subnets.

     

    Application name for FTM push notification

    Enter the client application name. This field is displayed on the FortiToken app.

    When creating a new SP or upgrading to FortiAuthenticator 6.3, the SP name is the default client application name.

    Assertion Attributes
      Subject NameID

    Select the user attribute that serves as SAML assertion subject NameID.

    Select from either Username, Email, Remote LDAP user DN, Remote LDAP user objectGUID, Remote LDAP user mS-DS ConsistencyGuid, Remote LDAP Custom attribute, Remote SAML Subject NameID, or Remote SAML Custom assertion.

    If the attribute selected is not available for a user, Username is used by default.

      Format Select from Unspecified, Transient, or Persistent.

     

    Include realm name in subject NameID

    When enabled, you can select the username/realm format to include in subject NameID.

    SAML Attribute

    Select Create New to create a new attribute that is added to SAML assertion.

    The following user attributes are available when creating a new assertion attribute:

    FortiAuthenticator:

    • Username

    • First Name

    • Last Name

    • Email

    • Group

    • IAM account name

    • IAM account alias

    • IAM username

    Remote LDAP server:

    • DN

    • sAMAccountName

    • userPrincipalName

    • displayName

    • objectGUID

    • mS-DS-ConsistencyGuid

    • Group
    • Custom attribute

    Remote RADIUS server:

    • RADIUS attribute

    When RADIUS attribute is selected as the User attribute, the following additional settings are available in the Create New Assertion Attribute dialog:

    • Vendor: The RADIUS vendor name.

    • Attribute ID: The attribute within the vendor's RADIUS dictionary.

    Remote SAML server:

    • SAML username

    • SAML group membership

    • SAML assertion

    Other:

    • Authentication status

    • Realm (returns the realm that the end user was authenticated against)

     

    Debugging Options
      Do not return to service provider automatically after successful authentication, wait for user input Enable this option to let users choose where to navigate to after they are authenticated.
      Disable this service provider Disables the SP.