ZAF App not refreshing Azure token

Respondida

4 Comentarios

  • Eric Nelson
    Zendesk Developer Advocacy
    Hi Taylor, 

    Would you be able to share with us your oAuth parameters in your manifest file. As well as the corresponding code snippets you're using to authenticate?

    Thanks!
    0
  • Taylor Artunian

    Hi Eric,

    Thank you for the reply. Below is a picture of my manifest file.
    (Edit)
    As for authentication, I don't do that explicitly in the code. I use the `Authentication: Bearer {{setting.token}}` placeholder in my requests to get the token provided by the proxy.

    0
  • Eric Nelson
    Zendesk Developer Advocacy

    Hey Taylor,

    If I remember correctly, you need to include 'offline_access' in your scope for Azure. 

    Hope this helps!

    1
  • Taylor Artunian

    Thank you Eric. That did the trick!

    For anyone else looking for long term Azure tokens:
    Prepending the scope with "openid offline_access" should do it.

    1

Iniciar sesión para dejar un comentario.

Tecnología de Zendesk