Add Microsoft ADFS as a single sign-on provider
- Single Sign-on > Provider > Add, Delete, Edit, View permissions
- Admin role in your organization’s ADFS account
- User email addresses are the same in both ADFS and Genesys Cloud
- Any Microsoft ADFS version that supports SAML 2.0. There are some differences in the configuration, depending on the version.
Add Genesys Cloud as an application that organization members can access with the credentials to their Microsoft ADFS account.
- Genesys Cloud does not support assertion encryption for single sign-on third-party identity providers. The Genesys Cloud log in service requires Transport Layer Security (TLS). Since the channel is encrypted, there is no need to encrypt parts of the message.
- Administrators can optionally disable the default Genesys Cloud login and enforce authentication using an SSO provider only. For more information, see Configure Genesys Cloud to authenticate with SSO only.
- Administrators can choose to store four additional certificates to ensure business continuity. If one certificate becomes invalid or expires, the integration is preserved if one of the additional certificates is valid.
There is a general problem when a Service Provider (SP) receives a SAML response from an Identity Provider (IdP) and their system clocks are not in sync. This problem can result in users getting locked out of their single sign-on when logging in. The problem might be caused by the length of the clock skew between the SP and the IdP. Clock skews between Genesys Cloud and your identity provider cannot be greater than 10 seconds.
- The Genesys Cloud desktop app does not support the installation of browser extensions. If you have configured an Azure Conditional Access policy that requires a browser extension, you will need to use a Genesys Cloud supported browser that has the Microsoft Entra ID extension installed. Single sign-on will not work using the desktop app in this configuration.
Configure Microsoft ADFS
Get the certificate for ADFS configuration
- In Genesys Cloud, click Admin.
- Under Integrations, click Single Sign-on.
- Click the ADFS/Azure AD (Premium) tab.
- Under Genesys Cloud Signing Certificate, click Download Certificate.
- Save the file.
Add a Relying Party Trust
- Go to Administrative Tools > AD FS.
- In the console tree, go to AD FS > Trust Relationships > Relying Party Trusts.
- To open the wizard, click Add Relying Party Trust.
- On the Select Data Source page, click Enter data about the replying party manually.
- On the Specify Display Name page, enter a name for the replying party (that is Genesys Cloud).
- On the Choose Profile page, click AD FS profile to select SAML.
- Skip the Configure Certificate page.
- In the Configure URL page, do the following steps:
- Click Enable support for SAML 2.0 WebSSO protocol.
-
In the field below the check box, type the following URL of your Genesys Cloud organization based on the AWS region.
AWS Region URL
US East (N. Virginia) https://login.mypurecloud.com/saml
US East 2 (Ohio) https://login.use2.us-gov-pure.cloud/saml
US West (Oregon) https://login.usw2.pure.cloud/saml
Canada (Canada Central) https://login.cac1.pure.cloud/saml
South America (São Paulo) https://login.sae1.pure.cloud/saml
EU (Frankfurt) https://login.mypurecloud.de/saml
EU (Ireland) https://login.mypurecloud.ie/saml
EU (London) https://login.euw2.pure.cloud/saml
Asia Pacific (Mumbai) https://login.aps1.pure.cloud/saml
Asia Pacific (Seoul) https://login.apne2.pure.cloud/saml
Asia Pacific (Sydney) https://login.mypurecloud.com.au/saml
Asia Pacific (Tokyo) https://login.mypurecloud.jp/saml
- In the Configure Identifiers page, type a value for the Relying party trust identifier. The value can be any unique string that you want to use to identify the relying party trust. On identifying a relying party in a request to the Federation Service, AD FS uses prefix matching logic to determine a matching party trust in the AD FS configuration database.
- On the Configure Multi-factor authentication now page, choose whether to configure MFA.
Note: This document does not cover the procedure to configure MFA. - Leave all other settings at their defaults and click Close.
- On the Relying Party Trusts page, right-click the trust that you created in the previous procedure and select Properties.
- In the Endpoints tab, click Add SAML.
- For Endpoint Type, choose SAML Logout.
AWS Region URL US East (N. Virginia) https://login.mypurecloud.com/saml/logout
US East 2 (Ohio) https://login.use2.us-gov-pure.cloud/saml/logout
US West (Oregon) https://login.usw2.pure.cloud/saml/logout
Canada (Canada Central) https://login.cac1.pure.cloud/saml/logout
South America (São Paulo) https://login.sae1.pure.cloud/saml/logout
EU (Frankfurt) https://login.mypurecloud.de/saml/logout
EU (Ireland) https://login.mypurecloud.ie/saml/logout
EU (London) https://login.euw2.pure.cloud/saml/logout
Asia Pacific (Mumbai) https://login.aps1.pure.cloud/saml/logout
Asia Pacific (Seoul) https://login.apne2.pure.cloud/saml/logout
Asia Pacific (Sydney) https://login.mypurecloud.com.au/saml/logout
Asia Pacific (Tokyo) https://login.mypurecloud.jp/saml/logout
- Click OK.
- In the Signature tab, click Add.
- Choose the certificate saved in step 5 of “Get the certificate for ADFS configuration” and click Open.
- Click OK.
Add the claim rules
Add three claim rules: Email, Email to NameID, and Org Name.
- On the Relying Party Trusts page, right-click the trust that you created in the previous procedure and select Edit Claim Rules.
- Add the Email rule:
- Click Add Rule.
-
Configure the claim rule with the following settings:
Property Description Claim rule template Select Send LDAP Attributes as Claims. Claim rule name Type Email. Attribute store Select Active Directory. LDAP Attribute Select E-Mail Addresses. Outgoing claim type Select E-Mail Address. - Click Finish.
- Add the Email to NameID rule:
- Click Add Rule.
-
Configure the claim rule with the following settings:
Property Description Claim rule template Select Transform an Incoming Claim. Claim rule name Type Email to NameID. Incoming claim type Select E-Mail Address. Outgoing claim type Select Name ID. Outgoing name ID format Select Transient Identifier. Pass through all claims Select Pass through all claim values. -
Click Finish.
-
Add the Org Name rule:
- Click Add Rule.
-
Configure the claim rule with the following settings:
Property Description Claim rule template Select Send Claims Using a Custom Rule. Claim rule name Type Org Name. Custom rule Enter the following text, and replace
OrgName
with the shortname of your Genesys Cloud organization. The organization name is case-sensitive.=> issue(Type = "OrganizationName", Value = "OrgName");
- Click Finish.
- In the Issuance Transform Rules tab, make sure that the rules are in the following order:
- Email to NameID
- Org Name
SAML attributes
If the following SAML attributes are present in the assertion, Genesys Cloud acts on those attributes. The attributes are case-sensitive.
Attribute name | Attribute value |
---|---|
OrganizationName |
|
Email address of the Genesys Cloud user to be authenticated.
|
|
ServiceName |
(Optional) A valid URL for the browser to be redirected to after successful authentication, or one of the following keywords:
|
Get the certificate for Genesys Cloud configuration
- In the console tree, go to AD FS > Service > Certificates.
- Right-click the certificate under Token-signing and select View Certificate.
- Click the Details tab and click Copy to file.
- For the export file format, select Base-64 encoded X.509 (.CER).
- For the file name, do the following steps:
- Click Browse.
- Type a file name.
- Click Save.
- Click Finish.
Get the metadata for Genesys Cloud configuration
The metadata file contains the issuer (entityID) and the redirect URL for configuring Genesys Cloud.
- In the console tree, go to AD FS > Service > Endpoints.
- Navigate to and download the file called FederationMetadata.xml.
Select authentication methods
Select the authentication methods for logging into Genesys Cloud on the extranet and the intranet.
- In the console tree, go to AD FS > Authentication Policies.
- Under Primary Authentication > Global Settings, click Edit.
- Under Extranet, check Forms Authentication.
- Under Intranet, check Forms Authentication and Windows Authentication.
- Click OK.
Configure Genesys Cloud
- In Genesys Cloud, click Admin.
- Under Integrations, click Single Sign-on.
- Click the ADFS/Azure AD (Premium) tab.
-
Enter the Identity Provider metadata gathered from Microsoft ADFS.
Field Description Certificate To upload X.509 certificates for SAML signature validation, do one of the following.
- To upload a certificate, click Select Certificates to upload.
- Select the X.509 certificate.
- Click Open.
- Optionally, to load a backup certificate, repeat steps 1–3.
Or you can:
- Drag and drop your certificate file.
- Optionally, to load a backup certificate, repeat the first step.
Uploaded certificates appear with their expiration date. To remove a certificate, click X.
Note: To renew or update an expiring certificate, follow these instructions to upload X.509 certificates, repeating steps 1--3. You can upload up to five certificates to Genesys Cloud per SSO configuration, and Genesys Cloud chooses the correct certificate during single sign-on and logout.Issuer URI Enter the entityID from the FederationMetadata.xml file. Target URI Find the SingleSignOnService tag in the FederationMetadata.xml file with Binding equal to “urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect.” For example:
<SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://your-adfs.com/adfs/ls”>
Use the URL contained in the “Location” attribute. For example:
https://your-adfs.com/adfs/ls
Single Logout URI Find the SingleLogoutService tag in the FederationMetadata.xml file with Binding equal to “urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect,” for example:
<SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://your-adfs.com/adfs/ls”>
Use the URL contained in the “Location” attribute. For example:
https://your-adfs.com/adfs/ls
Single Logout Binding Select HTTP Redirect. Relying Party Identifier Add the unique identifier configured in step 9 when adding the Relying Party Trust. - Click Save.