Adding external IdP roles to the application
Once you have configured the external IdP application, you can begin to add external IdP roles. For more information on roles, see External IdP roles.
This document only covers configuring external IdP with Okta and Microsoft Entra ID. However, multiple external identity providers are supported by FortiCloud. This topic includes the following examples on adding external IdP roles:
Adding roles in Okta
External IdP roles can be added in Okta.
To add external IdP roles in Okta:
-
In Okta, go to Applications > Applications.
-
Navigate to the application you created when enrolling.
-
Edit the General > SAML Settings:
-
In Group Attribute Statements, set the Name to Role and the Filter to Contains > externidp_.
-
Click Next.
-
Click Finish.
-
-
Assign the users and groups:
-
Go to Directory > Groups.
-
Click Add group.
-
Set the Name to extidp_<name>.
-
Click Save.
-
Select Group name > Everyone.
-
Select the group you created.
-
Click Assign people to select the users you want to add.
-
Go to the Applications tab and click Assign applications to select the application you created.
-
-
Create the external IdP roles:
-
Go to Applications > Applications.
-
Select the application and go to the Assignments tab.
-
Copy the group name.
-
In the FortiCloud IAM portal, create an external IdP role with the role Name set to the group name you copied. See Adding external IdP roles.
-
Repeat these steps for other groups, as needed.
You can now log into FortiCloud Services using the external IdP roles. See Selecting IdP roles.
-
Adding roles in Entra ID
External IdP roles can be added in Entra ID.
To add external IdP roles in Entra ID:
-
In Microsoft Azure, select Microsoft Entra ID.
-
Go to Enterprise applications.
-
Navigate to the application you created when enrolling.
-
Select Set up single sign on.
-
Edit Attributes & Claims:
-
Click Add new claim to create a username source attribute.
-
Click Add a group claim to create a role group claim.
-
-
Assign the users and groups:
-
Go to Overview > Assign users and groups.
-
Click Add user/group.
-
Select Users and groups.
-
Search for the desired groups and select them.
-
Click Assign.
-
-
Create the external IdP roles:
-
Go to Overview > Assign users and groups.
-
Select the group.
-
Copy the Object Id.
-
In the FortiCloud IAM portal, create an external IdP role with the role Name set to the Object Id. See Adding external IdP roles.
-
Repeat these steps for other groups, as needed.
You can now log into FortiCloud Services using the external IdP roles. See Selecting IdP roles.
-