• Hello Community,

    First, let me say that this plugin is really great. It has really allowed me to extend the use on my ZD.

    I need some help and I am exploring a few avenues to try and get the information. I am hoping someone has done this already or knows how I can do this.

    Right now, when I login to WP, I can then navigate to my ZD help centre and click login. That then goes back to WP, authenticates, and I am logged in. I have also created a small piece of JS that checks if the user is anonymous and auto-redirects to login, so no clicking of sign in. So far so good.

    I want to now take it one step further. When a user logs into WP, I would like to automatically authenticate them in ZD without them having to even go to the URL. The basis for this is for a more seamless experience (no weird redirects displaying for the end user) and so that search requests for ZD from a search form on the WP site do not crash when the user is not yet authenticated.

    I hope I am being clear as to what I am trying to do. One thought was to try and do some sort of AJAX call after login that would then have the JWT created and sent to Zendesk, but I wouldn’t know how to then accept the cookie from Zendesk.

    Thank-you anyone in advance for any help you can offer. If I do find a solution, I will attempt to document it here as best as I can.

    https://www.ads-software.com/plugins/zendesk/

  • The topic ‘Send JWT during WordPress Login’ is closed to new replies.