Setting up single sign-on (SSO) for WordPress Follow

team professional enterprise plans

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.

Note: You need to have already installed the Zendesk Support for WordPress plugin. For more information about setting up and using the Zendesk Support for WordPress plugin, see Setting up and using the Zendesk for WordPress plugin.
  1. Click the Admin icon () in the sidebar, then select Security.
  2. Click the End-users tab and select Single Sign-on.
  3. Select the JSON Web Token strategy.
  4. In WordPress, select Remote Auth from the Zendesk panel.

  5. Select and copy the Remote Login URL.

  6. Back in the JSON Web Token options you opened in Zendesk Support, copy the URL into the Remote Login URL input box.

  7. 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.
  8. In Wordpress, under General Settings, select JSON Web Token from the Remote Auth Strategy drop-down list.
  9. In Zendesk Support, turn on the Update of external ids? option.
  10. 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.
  11. In Zendesk Support, click Save. You've finished the Zendesk Support part of this set up.
  12. In Wordpress, copy the shared secret into Remote Auth Shared Token.
  13. Click Save Changes.

Now all users, including yourself, will be authenticated through your WordPress site when logging in.

Note: If you, as an administrator, need to sign in to Zendesk Support with your user account, you can do so at the following URL: http://mycompany.zendesk.com/access/normal.
Have more questions? Submit a request

Comments

  • 0

    Hi there,

    I don't want to use SSO, but I do want comments made on our Wordpress to appear as tickets in Zendesk (like Facebook posts), and the ability to respond to those (either directly or via a new comment on the page). Is that possible?

    The people making comments are not required to log in, but the comments are subject to editorial approval (in case that makes a difference).

    We also have the web widget installed and working on the WP site.

  • 0

    @Paul - I believe zapier.com can do this. Not sure about all the detail and how you want to use it.

  • 0

    Hi Paul!

    Have you had a chance to take a look at our WordPress Integration? I'm not certain that WordPress comments will automatically create tickets, but you can definitely do so manually. Unfortunately I haven't been able to do any testing on it so I can't give more detailed answers to your specific questions, but it might be worth looking into if you haven't done so already.

  • 0

    In the web form is possible have the email field  automatically filled for authenticated users?

  • 0

    Hi Jorge,

    You can definitely do that by using the script zE.identify in our API. I encourage you to have a look at the following link which provides all the information you'll need: 

    Web Widget API

    Regards,

    Enrique

  • 0

    @Enrique,

    Thanks for the tip!

    Sorry, I'm beginner :( my integration is done by the plugin for Wordpress, I can make this change in the plugin configuration?

    Thank you!

Please sign in to leave a comment.

Powered by Zendesk