By setting up remote authentication for the Zendesk for WordPress plugin, your WordPress site users access your Zendesk using their WordPress user ID and password. They access your Zendesk at the usual URL (http://mycompany.zendesk.com) but logging in happens through the WordPress log in page, which is displayed when they click the login link in your Zendesk. When they are successfully authenticated by WordPress, they are seamlessly logged in.
Once you've set up remote authentication, all user management and authentication happens in WordPress, not in Zendesk. In other words, you don't add or manage users in Zendesk. All of that happens in WordPress.
If you switch to remote authentication after you've already set up users in Zendesk, they will no longer have access to those user accounts (their old Zendesk login). You can however make sure that their former Zendesk 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 their Zendesk acount, the two accounts will be synced. If a different address is used, a separate user account is created.
To configure remote authentication for the Zendesk for WordPress plugin
This process is a back and forth between your WordPress site and Zendesk. Sign in to both as an administrator.
- Click the Admin icon () in the sidebar, then select Security. Zendesk Classic: Select the Settings menu, then select Security.
- Click the End-users tab and select Single Sign-on.Zendesk Classic: Select the Single Sign-on tab, then select the Enabled option.
- Select the JSON Web Token strategy.Zendesk Classic: Click the Edit link for 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, copy the URL into the
Remote Login URL input box.
- If you want your users to return to your WordPress site after logging out of your Zendesk, copy the Remote Logout URL in WordPress and paste it into the Remote Logout URL in Zendesk.
- In Wordpress, under General Settings, select JSON Web Token from the Remote Auth Strategy drop-down list.
- In Zendesk, turn on the Update of external ids? option.
- In Zendesk, 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, click Save. You've finished the Zendesk part of this set up.
- In Wordpress, copy the shared secret into Remote Auth Shared Token.
- Click Save Changes.
Now all Zendesk users, including yourself, will be authenticated through your WordPress site when logging in to your Zendesk.