Explains how to configure OpenID Connect to enable secure authentication and single sign-on using an external identity provider.
OpenID uses the OAuth 2.0 framework to allow to securely authenticate users via third-party IdPs.
Procedure
-
From the Security Cloud Control home page, choose Platform Management.
-
Choose Auth Config > Identity Providers.
-
On the Identity providers page, click + Add an IdP.
-
On the Add an Identity Provider page, select OpenID Connect as your Identity Provider.
-
On the Connect your IdP page, select OpenID Connect and click Next.
-
On the Configure OpenID Connect IdP metadata page,
- Redirect URI: Copy the redirect URI into your application's IdP configuration.
- Enter your IdP information:
-
Name: Enter a name to identify your IdP.
-
Client ID: The unique ID by which to identify you and your IdP.
-
Client Secret: The password that you and your IdP know.
-
Scopes: The scopes you want to associate with your IdP. Select Profile to capture the user profile details such as email, first name and last name.
-
- Choose how to add endpoints. This can be done automatically or manually.
-
Select Use the discovery URL to add endpoints automatically.
-
Enter the Discovery URLfor your IdP. This URL automatically populates the necessary endpoints for OIDC single logout.
-
Select Manually add all endpoint information to add endpoints manually. Add these endpoint details:
-
Issuer: Enter the Issuer URL as specified by your IdP.
-
Authorization endpoint: Enter the URL for the authorization endpoint.
-
Token endpoint: Enter the URL for the token endpoint.
-
JWKS URI: Enter the JSON Web Key Set (JWKS) URL.
-
Userinfo endpoint: Enter the URL for the user information endpoint.
-
Session sign out endpoint : Enter the endpoint URL for session signouts.
-
You must provide a URL if you want to enable Allow the session to automatically sign out and implement single logout (SLO) across all connected applications.
-
-
-
Click Next and advance to the Configure the Just In Time (JIT) settings and Custom Claims page.
Note
Use the pre-configured custom claims for your IdP to send user details, such as roles or groups, from your application to Security Cloud Control. The pre-configured custom claims use the Token endpoint or Userinfo endpoint URLs to read this information.
-
Check both the Create or activate users and Update user with OIDC claims check boxes to enable the Just In Time (JIT) settings.
-
Configure Profile attributes.
Note
Configure the givenname and surname attributes. These attributes are required, and the IdP returns them in the ID Token. Ensure that the profile scope is enabled for the IdP to send these details in Token endpoint and Userinfo endpoint.
Here is a list of profile attributes you can configure.
SAML Response Attribute Name
Cisco Identity attribute name
Attribute description
user.objectid
externalId
To identify this user from other individual profiles. This is necessary when mapping between directories or changing other profile attributes.
user.preferredlanguage
preferredLanguage
The user's preferred language.
user.locale
locale
The user's primary work location.
user.timezone
timezone
The user's primary time zone.
user.displayname
displayName
The user's display name in Security Cloud Control.
user.givenname
name.givenName
The user's first name.
user.surname
name.familyName
The user's last name.
user.streetaddress
addresses.streetAddress
The street address of their primary work location.
user.locality
addresses.locality
The locality of their primary work location.
user.region
addresses.region
The region of their primary work location.
user.postalcode
addresses.postalCode
The zip code of their primary work location.
user.country
addresses.country
The country of their primary work location.
work phonenumber
phoneNumbers.work
The work phone number of their primary work location. Use the international E.164 format only (15 digits maximum).
extension phonenumber
phoneNumbers.extension
The work extension of their primary work phone number. Use the international E.164 format only (15 digits maximum).
mobile phonenumber
phoneNumbers.mobile
The mobile phone number of their primary work location. Use the international E.164 format only (15 digits maximum).
user.jobtitle
title
The user's job title.
user.department
department
The user's job department or team.
work emails
emails.work
The user's work emails.
user.organization
organization
The user's organisation ID
When you set up OpenID Connect with Entra ID or an IdP where the email is not a permanent identifier, we recommend that you use the
externalIdlinking attribute to map to a Unique Identifier. For Entra ID, map the OIDC attribute to externalId. If the entered email does not match the linking attribute, you are prompted to verify their identity or create a new user with the correct email address. -
Click Add IdP.
-
Click Set up routing rule to add routing rules for your IdP, or click Skip for now to add routing rules later. See Add routing rules.
-
Click the
icon next to the IdP you want to test and select Test SSO Setup to test your SSO before you activate your routing rule.We recommend that you test your SSO setup to ensure that you've configured your organization's SSO correctly. The SSO test opens in a new browser window.
What to do next
Add routing rules, as described in Add routing rules.