Zendesk SSO Login

Last updated on
23 August 2023

This document will assist you to configure Zendesk as an OAuth/OpenID provider, making Drupal an OAuth Client. Following these steps will allow you to configure OAuth/OpenID SSO between Zendesk and your Drupal site such that your users will be able to log in to your Drupal site using their Zendesk credentials.

We provide the Drupal OAuth Login - OAuth OIDC SSO module which is compatible with Drupal 7, Drupal 8, Drupal 9, and Drupal 10.

Download  Know more

You can check our modules feedback and ratings here.

Prerequisite:

Step 1: Setting up Zendesk as OAuth Provider in Drupal:

  • Navigate to the Configure Application tab and search for Zendesk using the search box.

    Drupal OAuth Login select Application

  • Now, click on the Copy button to copy the Callback/Redirect URL and keep it handy. After that, click on the Step 2/3 button.

    Drupal OAuth Login zendesk copy callback url

Configure OAuth Single Sign-On Application in Zendesk:

  • Select the Zendesk API in the Apps and integration category.

    Drupal OAuth Login zendesk api

  • Enable the checkbox and click on the Get started button.

    Drupal OAuth Login zendesk enable checkbox

  • Enter the Client name and paste the Redirect URL which you have copied in the above step (step 1). Click on the Save button.

    Drupal OAuth login zendesk paste redirect-url

Step 2: Client ID and Client Secret setup in Drupal:

  • Copy the Client ID from the Zendesk application and paste it into Drupal OAuth Login's Client ID text field.

    Drupal OAuth Login zendesk client id

    Drupal OAuth Login zendesk paste client ID

  • Copy the Client Secret from the Zendesk application and paste it into Drupal OAuth Login's Client Secret text field.

    Drupal OAuth login zendesk copy client secret

    Drupal oauth  login zendesk paste client secret

  • Once done, click on the Step 3/3 button.

Step 3: Scope and Endpoints setup in Drupal:

  • Copy Zendesk domain URL.

    Drupal OAuth Login zendesk base url

  • Now, replace the copied Zendesk Domain (copied in the last step) with the {subdomain}.zendesk.com in the Authorize Endpoint, Access Token Endpoint, and Get User Info Endpoint respectively.

    Drupal OAuth login zendesk endpoints

  • Click on the All Done! button.

Zendesk Endpoints and scope:

Scope read write
Authorize Endpoint https://{subdomain}.zendesk.com/oauth/authorizations/new
Access Token Endpoint https://{subdomain}.zendesk.com/oauth/tokens
Get User Info Endpoint https://{subdomain}.zendesk.com/api/v2/users

Verify SSO Connection and Mapping:

  • In Summary, You will be able to review the configuration which you have done so far.
  • Once verified, you can click on the Test Configuration button to check the connection between Drupal and Zendesk.
  • After a successful connection, select the Email Attribute from the dropdown and click on the Done button.

    Drupal OAuth login test configuration

  • Congratulations! You have successfully configured Zendesk as OAuth Provider and Drupal as OAuth login.
  • Now, open a new browser/private window and go to your Drupal site login page.
  • Click on the Login using Zendesk link to initiate the SSO from Drupal.

Support:

Need assistance? Contact our 24*7 support team

If you require any help with installing or configuring this module, please feel free to reach out to us at our 24*7 Support by clicking on the Support Icon from the bottom right corner and send us a query. You can also join us on Drupal Slack in the #miniorange channel.

 Get In Touch With Us Join Our Slack Channel

back to top Back to top