Security Assertion Markup Language (SAML) is a mechanism used for exchanging authentication and authorization data between applications, in particular, an identity provider (IdP) such as OneLogin, Okta, PingIdentity and a service provider (such as Zoho Desk). You can configure SAML-based single sign-on (SSO) for end users so they can access your Help Center without being prompted to enter separate login credentials.
Notes:
- SAML single sign-on is not available on the Free edition.
- Only users with Administrator profiles will be able to manage the SAML settings.
- SAML authentication will only apply to end user accounts and not to your agent accounts.
- You can set up either remote authentication or SAML for single sign-on, but not both at the same time.
- End users cannot self-sign up or change their account password on a SAML-enabled Help Center.
How SAML Works
SAML single sign-on authentication involves a service provider, in this case, Zoho Desk, and an identity provider. When you've enabled SAML, end-user management and authentication are handled through your company's identity provider (IDP). An end user who requests access to the Zoho Desk's Help Center will be redirected to your identity provider for authentication. The identity provider authenticates the end user and in return, generates an authentication assertion, which indicates that a user has been authenticated. On receiving the assertion, the end user is redirected back to your Help Center and then signed in seamlessly. Being a single point of authentication that happens with your trusted identity provider, SAML ensures that your end-user credentials are secure within your company's firewall boundary.
Setting up SAML SSO
The third-party identity provider provides the configuration details for the SAML. Note that you must log in with administrator credentials to set up SAML single sign-on in your Zoho Desk.
- Click the Setup icon ( ) in the top bar.
- Click Help Center under the Channels menu.
- Select the Help Center in which you want to authenticate users using SAML.
- Click User Authentication under the Help Center sub-menu.
- On the SAML page, provide the following details:
- Remote Login URL: Enter the remote login URL of your IdP where Zoho Desk will redirect your end users when they login to the Help Center.
- Remote Logout URL: Enter the remote logout URL of your IdP that Zoho Desk will redirect your end users when they attempt to log out of the Help Center.
- Reset Password URL: Enter the reset password URL of your IdP where Zoho Desk will redirect your end users when they try to change their password for the Help Center.
- Public Key: Upload the Public X.509 certificate in the text format. We will use the public key contained in the certificate to verify that your identity provider has issued all received SAML authentication requests.
- Algorithm: Select an algorithm between RSA and DSA using which your IdP generated the public keys and certificates.
- Click Save.
Before clicking Save, you'll see new fields (like Help Center SAML Request URL, etc.) and values listed. Copy those values over to your identity provider to ensure that your IdP is capable of communication with your SAML-enabled Zoho Desk.
Disabling SAML SSO
You may go back to using Zoho Desk's built-in authentication, or switch to a different identity provider (IdP), by disabling the SAML configuration. Once you disable SAML, end users will need a Zoho Desk account password to log in to your Help Center. Please keep the following implications in mind as you disable SAML for single sign-on:
- End users who had a password on your Help Center account before enabling SAML single sign-on can use that to log in.
- End users who signed up for your Help Center after enabling SAML single sign-on will need to reset their password when they log in the next time.
To disable SAML single sign-on:
- Click the Setup icon ( ) in the top bar.
- Click Help Center under the Channels menu.
- Select the Help Center in which you want to disable SAML single sign-on.
- Click User Authentication under the Help Center sub-menu.
- On the SAML page, click Disable in the upper-right corner of the screen.
- Click Continue to confirm your action.
Configuring the Identity Provider
Find the provider-specific instructions listed here, or look up instructions with the identity provider you use.
This section describes how to configure Zoho Vault to provide SSO for your Zoho Desk Help Center.
- Log in to your Zoho Vault account.
- Navigate to Apps >> Manage Apps.
- Click Add Custom App
- In the Application Settings tab, provide the following details:
- Application Name: Provide a name for the application. For example, Zoho Desk.
- Assertion Consumer Service URL - Paste the value for SAML Response URL that you copied from the SAML page in Zoho Desk.
- Audience URI (SP Entity ID) - Enter your Zoho Desk Help Center instance URL (it has the pattern https://support.mycompany.com/ ).
- Click Next.
- You now need to provide the details of Zoho Vault (IdP) to Zoho Desk (SP).
In the IdP Details tab, do the following:
- Copy the Identity Provider Single Sign-On URL and paste it into the Remote Login URL field in Zoho Desk SAML page.
- Copy the Identity Provider Single Logout URL and paste it into the Remote Logout URL field in Zoho Desk SAML page.
- Copy the Identity Provider Issuer and paste it into the Reset Password URL field in Zoho Desk SAML page.
- Copy the Identity Provider Certificate and save it to a .txt file. Then upload the file into the Public Key field in Zoho Desk SAML page.
- Click Next.
- In the Manage App Access tab, select the list of users to whom you wish to give access to the SAML-enabled Help Center.
- Click Save.
This section describes how to configure Okta to provide SSO for your Zoho Desk Help Center.
- Log in to your Okta account with administrative privileges.
- Click the Applications tab.
- Click Add Application and then click Create New App.
- On the pop-up window, select the SAML 2.0 option and then click Create.
- In the General Settings page, provide a name for the application. For example, Zoho Desk.
- Click Next to continue.
- In the Configure SAML page, do the following:
- Single sign on URL - Paste the value for SAML Response URL that you copied from the SAML screen in Zoho Desk.
- Audience URI (SP Entity ID) - Paste the value of SAML Response URL here as well.
- Default RelayState - Paste the value for Default Relay State that you copied from the SAML screen in Zoho Desk.
- Name ID format - Specify as EmailAddress.
- Click Next to continue.
- In the Feedback page, select I’m an Okta customer adding an internal app, and check the This is an internal app that we have created option.
Click Finish.
The Sign On section of your newly created application appears.
Click View Setup Instructions on the Sign On tab. It opens a new window to the IdP settings.
On the IdP Settings window, do the following:
Copy the Identity Provider Single Sign-On URL and paste it into the Remote Login URL field in Zoho Desk SAML page.
Copy the Identity Provider Issuer and paste it into the Remote Logout URL field in Zoho Desk SAML page.
Copy the Identity Provider Single Sign-On URL and paste it into the Reset Password URL field in Zoho Desk SAML page.
Copy the X.509 Certificate and save it to a .txt file. Then upload the file into the Public Key field in Zoho Desk SAML page.
Click Save.
Now you must select the users to whom you wish to give access to the SAML-enabled Help Center. To do this:
Click the Applications tab and select your newly created application on Okta.
Click on the Assignments section of the application.
Click Assign and then select Assign to People.
In the pop-up window, type your username into the search box and then click Assign next to your username.
Repeat this step to add more users.
Click Done to exit the assignment wizard.
Back in Zoho Desk, check the Enable Signup option on the SAML page to allow new users to log in for the first time and then click Save.
This section describes how to configure OneLogin to provide SSO for your Zoho Desk Help Center.
- Log in to your OneLogin account.
- Go to Apps >> Add Apps in the OneLogin administrator dashboard.
- Search for 'SAML Test Connector' and select the first result from the search results.
It should be SAML Test Connector (IdP). - When the Configuration tab appears, provide a name for the application. For example, Zoho Desk.
- Click Save.
Now, additional tabs appear, and you land on the Info tab. - Click the Configuration tab and enter the following details:
- RelayState - Paste the value for Default Relay State that you copied from the SAML screen in Zoho Desk.
- Recipient - Paste the value for SAML Response URL that you copied from the SAML screen in Zoho Desk.
- ACS (Consumer) URL Validator - Paste the value of SAML Response URL here as well.
- ACS (Consumer) URL - Paste the value of SAML Response URL here as well.
- Once done, click the SSO tab and do the following:
- Copy the SAML 2.0 Endpoint (HTTP) URL and paste it into the Remote Login URL field in Zoho Desk SAML page.
- Copy the SAML 2.0 Endpoint (HTTP) URL and paste it into the Reset Password URL field in Zoho Desk SAML page.
- Copy the SLO Endpoint (HTTP) URL and paste it into the Remote Logout URL field in Zoho Desk SAML page.
- In the X.509 Certificate field, click View Details and save the contents to a .txt file. Then upload the file into the Public Key field in Zoho Desk SAML page.
- Now you must select the users to whom you wish to give access to the SAML-enabled Help Center. To do this:
Click the Users tab and then click All Users to add the app to individual user accounts. - Click Save.
- Back in Zoho Desk, check the Enable Signup option on the SAML page to allow new users to log in for the first time and then click Save.
This section describes how to configure Auth0 to provide SSO for your Zoho Desk Help Center.
- Log in to your Auth0 account.
- Go to Dashboard >> Applications.
- Click the + CREATE APPLICATION button on the right.
- In the Name field, enter a name for the application. For example, Zoho Desk.
- Select the type of Application you want to create.
- Click Save.
- Go back to Dashboard >> Applications.
- Find the application you just created in Step 4, and click the Gear icon corresponding to it.
- Scroll down and click on the Advanced Settings link.
- In the expanded window, click the Download Certificate button under the Certificates section.
The downloaded certificate will be a .pem file. - Now scroll back up and click on the Addons tab. Then enable the SAML2 WEB APP option.
You will see a screen asking you to provide additional configuration information. - On the Settings section of the screen, enter the following details:
- In the Addon SAML2 Web App popup, click the Usage tab and do the following:
Copy the Identity Provider Login URL and paste it into the Remote Login URL and the Reset Password URL fields in Zoho Desk SAML page.
Upload the certificate you saved in Step 10 into the Public Key field in Zoho Desk SAML page.
When done, click Save in Zoho Desk.
Your end users will now be redirected to the Auth0's sign-in page when signing in to the Help Center.
This section describes how to configure Google Workspace to provide SSO for your Zoho Desk Help Center.
- Sign in to your Google Workspace admin console with an administrator account.
- In the Admin console, click through to Apps > Web and mobile apps.
- From the Add App drop-down list, select Add custom SAML app.
- On the App Details page, do the following:
- Enter a unique name for the app.
- Upload an icon for the app (optional).
- Click Continue.
- On the Google Identity Provider details page, do the following:
- Copy the SSO URL and paste it into the Remote Login URL and the Reset Password URL fields in Zoho Desk SAML page.
Your members redirect here when they sign in with an email address with your Google domain. - Download the Certificate and save it to a .txt file. Then upload the file into the Public Key field in Zoho Desk SAML page.
- Enter the Remote Logout URL as https://accounts.google.com/logout in Zoho Desk SAML page.
- Click Continue.
- In the Service Provider Details window, do the following:
- Paste the value for SAML Response URL from SAML screen in Zoho Desk in the ACS URL field.
- In the Entity ID field, paste the value for Entity ID (Issuer) that you copied from the SAML screen in Zoho Desk.
Note: If the IdP doesn't support a duplicate Entity ID, you can edit the Entity ID field in Zoho Desk to select the alternative and enter the same. - Select EMAIL as the Name ID Format.
- Click Continue.
- Skip the Attribute Mapping page.
- Click Finish.
Note: Make sure to check whether the app is provisioned to users or groups. - Back in Zoho Desk, check the Enable Signup option on the SAML page to allow new users to log in for the first time and then click Save.
Microsoft Azure AD
This section describes how to configure Microsoft Azure Active Directory to provide SSO for your Zoho Desk Help Center.
- Sign in to your Azure AD portal with an administrator account.
- In the Azure portal, on the left navigation pane, click Azure Active Directory.
- Select Enterprise Applications and then All Applications.
- Click the New Application button.
- In the search box, type SAML SSO, select Confluence SAML SSO by Microsoft from result panel then click Add to add the application to your portal.
- Navigate back to Enterprise Applications and then click Confluence SAML SSO by Microsoft app.
- Click Single sign-on and then choose SAML for Mode.
- On the Set up Single Sign-On with SAML page, click Edit icon to open Basic SAML Configuration dialog.
- On the Basic SAML Configuration section, do the following:
- In the Identifier text box, enter zoho.com
Note(1): If the IdP doesn't support a duplicate Identifier, you can edit the Entity ID field in Zoho Desk to select the alternative and enter the same.
Note(2): If you are on the .eu domain enter zoho.eu. Likewise, enter zoho.in if you are on the .in domain. - In the Reply URL text box, paste the value for SAML Response URL that you copied from the SAML screen in Zoho Desk.
- In the Sign-on URL text box, paste the value for Redirect URL (For Microsoft Azure) that you copied from the SAML screen in Zoho Desk.
- In the Relay State text box, paste the value for Default Relay State that you copied from the SAML screen in Zoho Desk.
- Check the radio boxes for the entered values.
- Click Save at the top of the page.
- On the Set up Single Sign-On with SAML page, click the Edit button to open User Attributes & Claims dialog.
- In the User Attributes section on the User Attributes & Claims dialog, do the following:
- Click Edit icon to open the Manage user claims dialog.
- From the Source attribute list, select the attribute value user.mail.
- Click Save.
- Go to SAML Signing Certificate menu and do the following:
- In the Signing Option drop-down list, choose Sign SAML response.
This enables Azure AD to sign the SAML response with the X.509 certificate of the application. - Click Save to apply the new SAML signing certificate settings.
- Download the certificate by clicking Certificate (PEM).
- Go to Set up Confluence SAML SSO by Microsoft menu and do the following:
- Copy the Login URL and paste it into the Remote Login URL and the Reset Password URL field in Zoho Desk SAML page.
- Copy the Logout URL and paste it into the Remote Logout URL field in Zoho Desk SAML page.
- Upload the certificate you saved in Step 12 into the Public Key field in Zoho Desk SAML page.
- Click Save.
- Back in Zoho Desk, check the Enable Signup option on the SAML page to allow new users to log in for the first time and then click Save.
Keycloak IDP
This section describes how to configure Keycloak to provide SSO for your Zoho Desk Help Center.
- Log in to Keycloak and open the administration console.
- Click Clients from the left panel, and then click Create to start creating a new client application.
- On the Add Client page, enter the following details:
- Client ID: Enter as zoho.com
- Client Protocol: Select SAML from the drop-down menu
- Client SAML Endpoint: Paste the value for Help Center SAML Response URL that you copied from the SAML page in Zoho Desk.
- Click Save.
This will create the client and bring you to the client Settings tab.
- On the Client Settings page, do the following:
- Select email in the Name ID Format drop-down box.
- Toggle Client Signature Required off.
- Toggle Front Channel Logout off.
- Click the + sign to enter https://accounts.zohoportal.com/* and https://desk.zoho.com/* as Valid Redirect URIs.
- Click Save.
- The next step is to enter details on the Zoho Desk Help Center SAML page.
Go to the URL: http://{your-keycloak-server:8080}/auth/realms/{your-realm}/protocol/saml/descriptor
E.g. http://localhost:8080/auth/realms/master/protocol/saml/descriptor - To get the public key:
- Copy the value of “dsig:X509Certificate” node in the XML configuration file.
- Paste the value to a text file. Make sure you place the value between "-----BEGIN CERTIFICATE-----" and "-----END CERTIFICATE-----".
- Save the text file.
- To get the Remote Login URL and Reset Password URL:
- Find the node SingleSignOnService with the attribute Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" in the XML file.
- Copy the value of the location.
- To get the Remote Logout URL:
- Create an URL like http://{your-keycloak-server:8080}/auth/realms/{your-realm}/protocol/openid-connect/logout?redirect_uri={URL_encoded_Help Center URL}
E.g. http://localhost:8080/auth/realms/master/protocol/openid-connect/logout?redirect_uri=https%3A%2F%2Fdesk.zoho.com%2Fportal%2Fdeccanpl%2F - Copy the value of the location.
- Back in the Zoho Desk Help Center SAML page, do the following:
- Paste the values for Remote Login URL, Remote Logout URL, and Reset Password URL.
- Upload the saved text file into the Public Key field.
- Click Save.
- Your federated SAML SSO is ready for use.
It is the responsibility of the data administrator to provide requisite permissions to their agents.