Recent searches
No recent searches
Using SSO JWT in zendesk app HTTP requests
Posted Jul 28, 2023
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 comment
user1002
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
Sign in to leave a comment.