Setting up SAML Single Sign-on for Help Center

Setting up SAML Single Sign-on for Help Center

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.
  1. Click the Setup icon  ) in the top bar.
  2. Click Help Center under the Channels menu.
  3. Select the Help Center in which you want to authenticate users using SAML.
  4. Click User Authentication under the Help Center sub-menu.
  5. 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.
  6. 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:
  1. Click the Setup icon  ) in the top bar.
  2. Click Help Center under the Channels menu.
  3. Select the Help Center in which you want to disable SAML single sign-on.
  4. Click User Authentication under the Help Center sub-menu.
  5. On the SAML page, click Disable in the upper-right corner of the screen.
  6. 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.

Zoho Vault

This section describes how to configure Zoho Vault to provide SSO for your Zoho Desk Help Center.
  1. Log in to your Zoho Vault account.
  2. Navigate to Apps  >>  Manage Apps.
  3. Click Add Custom App
  4. 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/ ).
  5. Click Next.
  6. You now need to provide the details of Zoho Vault (IdP) to Zoho Desk (SP).
  7. 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.
  8. Click Next.
  9. In the  Manage App Access tab, select the list of users to whom you wish to give access to the SAML-enabled Help Center.
  10. Click Save.

Okta

This section describes how to configure Okta to provide SSO for your Zoho Desk Help Center.
  1. Log in to your Okta account with administrative privileges.
  2. Click the Applications tab.
  3. Click Add Application and then click Create New App.
  4. On the pop-up window, select the SAML 2.0 option and then click Create.
  5. In the General Settings page, provide a name for the application. For example, Zoho Desk.
  6. Click Next to continue.
  7. 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.
  8. Click Next to continue.
  9. 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.
  10. Click Finish.
    The 
    Sign On section of your newly created application appears.
  11. Click View Setup Instructions on the Sign On tab. It opens a new window to the IdP settings.
  12. 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.
  13. Click Save.
  14. 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.
  15. Click Done to exit the assignment wizard.
  16. 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.

OneLogin

This section describes how to configure OneLogin to provide SSO for your Zoho Desk Help Center.
  1. Log in to your OneLogin account.
  2. Go to Apps >> Add Apps in the OneLogin administrator dashboard.
  3. Search for 'SAML Test Connector' and select the first result from the search results.
    It should be 
    SAML Test Connector (IdP).
  4. When the Configuration tab appears, provide a name for the application. For example, Zoho Desk.
  5. Click Save.
    Now, additional tabs appear, and you land on the 
    Info tab.
  6. 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.
  7. 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.
  8. 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.
  9. Click Save.
  10. 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.

Auth0

This section describes how to configure Auth0 to provide SSO for your Zoho Desk Help Center.
  1. Log in to your Auth0 account.
  2. Go to Dashboard >> Applications.
  3. Click the + CREATE APPLICATION button on the right.
  4. In the Name field, enter a name for the application. For example, Zoho Desk.
  5. Select the type of Application you want to create.
  6. Click Save.
  7. Go back to Dashboard >>  Applications.
  8. Find the application you just created in Step 4, and click the Gear icon corresponding to it.
  9. Scroll down and click on the Advanced Settings link.
  10. In the expanded window, click the  Download Certificate button under the Certificates section.
    The downloaded certificate will be a 
    .pem file.
  11. 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.
  12. On the Settings section of the screen, enter the following details:
  13. 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.
    • Enter https://your_auth0_domain/v2/logout in the the Remote Logout URL field. Replace YOUR_AUTH0_DOMAIN with your actual Auth0 domain.
    • Upload the certificate you saved in Step 10 into the Public Key field in Zoho Desk SAML page.
  14. 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.

Google Workspace

This section describes how to configure Google Workspace to provide SSO for your Zoho Desk Help Center.
  1. Sign in to your Google Workspace admin console with an administrator account.
  2. In the Admin console, click through to Apps > Web and mobile apps.
  3. From the Add App drop-down list, select Add custom SAML app.
  4. On the App Details page, do the following:
    1. Enter a unique name for the app.
    2. Upload an icon for the app (optional).
  5. Click Continue.
  6. On the Google Identity Provider details page, do the following:
    1. 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.
    2. Download the Certificate and save it to a .txt file. Then upload the file into the Public Key field in Zoho Desk SAML page.
    3. Enter the Remote Logout URL as https://accounts.google.com/logout in Zoho Desk SAML page.
  7. Click Continue.
  8. In the Service Provider Details window, do the following:
    1. Paste the value for SAML Response URL from SAML screen in Zoho Desk in the ACS URL field.
    2. 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.
    3. Select EMAIL as the Name ID Format.
  9. Click Continue.
  10. Skip the Attribute Mapping page.
  11. Click Finish.
    Note: Make sure to check whether the app is provisioned to users or groups.
  12. 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.
  1. Sign in to your Azure AD portal with an administrator account.
  2. In the Azure portal, on the left navigation pane, click Azure Active Directory.
  3. Select Enterprise Applications and then All Applications.
  4. Click the New Application button.
  5. 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.
  6. Navigate back to Enterprise Applications and then click Confluence SAML SSO by Microsoft app.
  7. Click Single sign-on and then choose SAML for Mode.
  8. On the Set up Single Sign-On with SAML page, click Edit icon to open Basic SAML Configuration dialog.
  9. On the Basic SAML Configuration section, do the following:
    1. 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.
    2. In the Reply URL text box, paste the value for SAML Response URL that you copied from the SAML screen in Zoho Desk.
    3. 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.
    4. In the Relay State text box, paste the value for Default Relay State that you copied from the SAML screen in Zoho Desk.
    5. Check the radio boxes for the entered values.
    6. Click Save at the top of the page.
  10. On the Set up Single Sign-On with SAML page, click the Edit button to open User Attributes & Claims dialog.
  11. In the User Attributes section on the User Attributes & Claims dialog, do the following:
    1. Click Edit icon to open the Manage user claims dialog.
    2. From the Source attribute list, select the attribute value user.mail.
    3. Click Save.
  12. Go to SAML Signing Certificate menu and do the following:
    1. 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.
    2. Click Save to apply the new SAML signing certificate settings.
    3. Download the certificate by clicking Certificate (PEM).
  13. Go to Set up Confluence SAML SSO by Microsoft menu and do the following:
    1. Copy the Login URL and paste it into the Remote Login URL and the Reset Password URL field in Zoho Desk SAML page.
    2. Copy the Logout URL and paste it into the Remote Logout URL field in Zoho Desk SAML page.
    3. Upload the certificate you saved in Step 12 into the Public Key field in Zoho Desk SAML page.
  14. Click Save.
  15. 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.
  1. Log in to Keycloak and open the administration console.
  2. Click Clients from the left panel, and then click Create to start creating a new client application.
  3. On the Add Client page, enter the following details:
    1. Client ID: Enter as zoho.com
    2. Client Protocol: Select SAML from the drop-down menu
    3. Client SAML Endpoint: Paste the value for Help Center SAML Response URL that you copied from the SAML page in Zoho Desk.
    4. Click Save.
      This will create the client and bring you to the client Settings tab.
  4. On the Client Settings page, do the following:
    1. Select email in the Name ID Format drop-down box.
    2. Toggle Client Signature Required off.
    3. Toggle Front Channel Logout off.
    4. Click the + sign to enter https://accounts.zohoportal.com/* and https://desk.zoho.com/* as Valid Redirect URIs.
    5. Click Save.
  5. 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
  6. To get the public key:
    1. Copy the value of “dsig:X509Certificate” node in the XML configuration file.
    2. Paste the value to a text file. Make sure you place the value between "-----BEGIN CERTIFICATE-----" and "-----END CERTIFICATE-----".
    3. Save the text file.
  7. To get the Remote Login URL and Reset Password URL:
    1. Find the node SingleSignOnService with the attribute Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" in the XML file.
    2. Copy the value of the location.
  8. To get the Remote Logout URL:
    1. 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
    2. Copy the value of the location.
  9. Back in the Zoho Desk Help Center SAML page, do the following:
    1. Paste the values for Remote Login URLRemote Logout URL, and Reset Password URL.
    2. Upload the saved text file into the Public Key field.
    3. Click Save.
  10. Your federated SAML SSO is ready for use.



It is the responsibility of the data administrator to provide requisite permissions to their agents.

    • Related Articles

    • Configuring ADFS for Zoho Desk with SAML

      Zoho Desk supports SAML 2.0 (Security Assertion Markup Language 2.0), which allows for the use of SSO (Single Sign-On) using enterprise identity providers such as Active Directory. Enabling SSO via SAML 2.0 means that user authentication is handled ...
    • Configuring Active Directory SSO for Agents

      Active Directory (AD) by Microsoft is a centralized and standardized system that automates network management of user data, security, and distributed resources. In other words, it allows the management and storage of information and provides ...
    • Google Analytics Dashboard for Help Center

      Google Analytics provides tools for everything from search analytics to visitor tracking that can be used to improve your self-service option in Zoho Desk. You can use the statistics to learn, for example, how long your customers look at the KBase ...
    • Managing Help Center Users

      Help Center users are users who prefer to find solutions by reading through your knowledge base articles or community posts. When they are unable to find answers they can get it resolved from your agents by submitting a ticket. Users can also ...
    • Enabling Google Analytics for your Help Center

      Google Analytics is a free tool for analyzing the traffic of websites. It provides valuable insights on visitor trends and behavior. By knowing how your customers react and respond to your web pages, you can identify what works best, and what needs ...