Configure Zendesk for your Active Directory/Microsoft environment

Have more questions? Submit a request

9 Comments

  • Stephen Hudson
    Comment actions Permalink

    I'm curious if this script could be used with the mobile SDK as well I managed to use this to get the web portal JWT auth working but am hitting a brick wall getting it to return the proper stuff for the mobile

    0
  • Jake Bantz
    Comment actions Permalink

    Hi Stephen,

    The SDK Authentication is completely separate from the SSO configuration in your Zendesk account. As long as the JWT requests are formatted properly, you should be able to authenticate. I see you have a ticket open with us already, but I wanted to be sure to share our documentation for anyone who finds this post in the future:

    Hope this helps!

    0
  • Reese
    Comment actions Permalink

    Is it possible to delay the redirection to AD sign-on? Say we wanted to allow non-AD users to be able to access our help page and submit tickets using the form, would that be possible using this?

    Also, what might it take to allow both domain\username and name@email.com sign in?

    0
  • Dan Beirouty
    Comment actions Permalink

    Hey Reese!

    I'd like to get more context around what you're trying to achieve. Let me loop you in to a new ticket so we can discuss this further. See you in the ticket!

    0
  • Matthew Kisow
    Comment actions Permalink

    what modifications to this code are made to pass "user_fields"?  I have tries several modifications however I have not been able to correctly pass this hash.

    0
  • Matt Sirianni
    Comment actions Permalink

    Matthew - check out this pull request here: https://github.com/zendesk/zendesk_jwt_sso_examples/pull/18

    It is updated to support passing of all supported fields, including User Fields. Be sure to read the comments. 

    0
  • John Basile
    Comment actions Permalink

    What are the optimal hardware recommendations?

    0
  • Sergei Dudko
    Comment actions Permalink

    Hi John,

     

    For Zendesk in general? There are no hardware requirements or recomendations, except for Insights. As a rule - if your hardware can handle Chrome, Firefox or AD - it will handle Zendesk. Have a look at this article for some additional answers - https://support.zendesk.com/hc/en-us/articles/203661786-Zendesk-Support-system-requirements 

    Regards

    0
  • Longathrow
    Comment actions Permalink

    For anyone having problems with this code and the server time being out, you will need to modify the utils.asp file to adjust for timezone difference.  Zendesk servers are in UTC time, if your server isn't in UTC, then it will pass back the incorrect time and not authenticate with an error of "The supplied iat value is more than 3 minutes off, check your server clock."

    To fix this find the following lines

    dtmAdjusted = DateAdd("n", lngBias, dtmDateValue)
    dtmAdjusted_date = dtmAdjusted

    And modify it to the following, making sure you adjust the X in DateAdd("h", X, dtmAdjusted), to how ever many hours you are in front of behind UTC time.

    dtmAdjusted = DateAdd("n", lngBias, dtmDateValue)
    dtmAdjusted_timeshift = DateAdd("h", X, dtmAdjusted)
    dtmAdjusted_date = dtmAdjusted_timeshift

    So an example for Sydney, Australia would be -18

    dtmAdjusted = DateAdd("n", lngBias, dtmDateValue)
    dtmAdjusted_timeshift = DateAdd("h", -18, dtmAdjusted)
    dtmAdjusted_date = dtmAdjusted_timeshift

    I also had a small stumbling block when trying to login as an agent, with agents with multiple sign in options, Zendesk would have another fit.  So test the login with an end-user instead.

    0

Please sign in to leave a comment.

Powered by Zendesk