How to pull my OAuth token when I'm logging in using Okta?

4 コメント

  • Thomas Verschoren
    Community Moderator

    Hey,

    When using SAML you can not use the session token for auth to connect to the Zendesk API:

    https://support.zendesk.com/hc/en-us/articles/231530827

    What are my credentials for API access when using SSO/Google/MS to sign in?
    To access the API you will need to use an API token along with your agent or admin email address on the account. Authentication for API access would then be formatted as your_email@domain.com/token.

    So there is a session between session token for Auth and Zendesk API access.

    0
  • Shweta

    Hi Raghav Mishra, we are having a similar kind of requirement. By any chance did you find any workaround? Thanks.

    0
  • Brett Bowser
    Zendesk Community Team

    Hey Shweta,

    Was the solution provided by Thomas not helpful in this case?

    0
  • Raghav Mishra

    Hey Shweta, Sorry for the delayed response. We could not find anything exactly as per our requirements. So, We're using a custom login on our support as of now, This helps me login using Okta ( with the Okta Auth library) and I'm sending the same credentials to my server. I use these credentials on the server to get the OAuth token from Zendesk using password grant. 

    0

サインインしてコメントを残してください。

Powered by Zendesk