Recent searches


No recent searches

Accessing Session Token in server-side app



Posted Sep 13, 2023

Our agents are logging into Zendesk using SSO. We want to create a server-side app running in our own account and use the token generated when agents log in to Zendesk for authentication so they can access the server-side app. How can we allow the server-side app to access the token generated for the parent Zendesk application? 

Thanks, Simon 


1

3

3 comments

Hi, I posted this 2 weeks ago now, can you help me with an answer please? thanks 

 

0


image avatar

Christopher Kennedy

Zendesk Developer Advocacy

Hi Simon,
 
The app would not be able to access the token received when authenticating the agent session.  But you can use ZAF JWT to ensure that the server-side app's remote URL is being requested by your Zendesk instance (which could only happen during an active agent session).  This accomplishes the goal of securing the server-side app.  Would this fit your use case?

1


Thanks, this is what we've done now

 

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post