Using SSO JWT in zendesk app HTTP requests



2023년 7월 28일에 게시됨

Hi,
I have SSO JWT enabled in my subdomain.
I also have a zendesk app that makes HTTP requests to my app server.
I need to authenticate such requests. Currently I am using a cookie that I set when I reply with the JWT. This works fine.
However this will eventually stop working as browsers will stop allowing third-party cookies (as chrome will do in 2024).
So would it be possible for my zendesk app to send the JWT received in the SSO transaction in the requests?
The purpose is to avoid having to authenticate again inside my zendesk app.

 


0

1

댓글 1개

Hi, this is an old app that I'm back working on.

Reviewing the zendesk app dev docs, I can see although the SSO JWT could be used to authenticate with external APIs in a simpler way (not requiring extra configuration like oauth/api_token), this might not be a proper authentication procedure.

Instead I will follow:

https://developer.zendesk.com/documentation/apps/app-developer-guide/making-api-requests-from-a-zendesk-app/

and
https://developer.zendesk.com/documentation/apps/app-developer-guide/using-the-apps-framework/#authenticating-zendesk-in-your-server-side-app

Thank you.

0


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

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

새 게시물