최근 검색


최근 검색 없음

ZAF App not refreshing Azure token

답변함


2022년 2월 02일에 게시됨

I have an app that connects to an Azure based app to read data. The app is successfully using the Zendesk authentication proxy, but after the token expires the app no longer works. From what I've read, the Zendesk documentation says that the proxy should handle the refreshing of the access token.


0

4

댓글 4개

image avatar

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


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


image avatar

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


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


댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물