By setting up single sign-on (SSO) for the Zendesk Support for WordPress plugin, your WordPress site users can access Zendesk Support using their WordPress user ID and password. They access Zendesk Support at the usual URL (http://mycompany.zendesk.com), but logging in happens through the WordPress login page, which is displayed when they click the login link in Zendesk Support. When they are successfully authenticated by WordPress, they are seamlessly logged in.
Once you've set up single sign-on, all user management and authentication happens in WordPress.
If you switch to SSO after you've already set up users in Zendesk Support, they will no longer have access to those user accounts (their old login). You can however make sure that their former identity is associated with their WordPress user account, by using the same email address in both user accounts. In other words, if a user's WordPress account uses the same email address as in Zendesk Support, the two accounts will be synced. If a different address is used, a separate user account is created.
To configure single sign-on for the Zendesk Support for WordPress plugin
This process is a back and forth between your WordPress site and Zendesk Support. Sign in to both as an administrator.
- Click the Admin icon () in the sidebar, then select Security.
- Click the End-users tab and select Single Sign-on.
Note: You must enable Help Center to set up single sign-on for WordPress. See Enabling Help Center in setup mode
- Select the JSON Web Token strategy.
- In WordPress, select Remote Auth from the Zendesk panel.
- Select and copy the Remote Login URL.
- Back in the JSON Web Token options you opened in Zendesk Support, copy the URL into the Remote Login URL input box.
- If you want your users to return to your WordPress site after logging out, copy the Remote Logout URL in WordPress and paste it into the Remote Logout URL in Zendesk Support.
- In Wordpress, under General Settings, select JSON Web Token from the Remote Auth Strategy drop-down list.
- In Zendesk Support, turn on the Update of external ids? option.
- In Zendesk Support, select and copy your Shared secret token.
Note: It's a long number and may exceed the length of the text control that it's displayed in so double-click the number to make sure you've selected it all.
- In Zendesk Support, click Save. You've finished the Zendesk Support part of this set up.
- In Wordpress, copy the shared secret into Remote Auth Shared Token.
- Click Save Changes.
Now all users, including yourself, will be authenticated through your WordPress site when logging in.