How to perform Authorization code grant flow on Zendesk with Agent when I have SSO enabled.
I have SSO enabled for my agents on Zendesk. We have a custom page where we redirect users to the login page to authenticate themselves and get the code for Auth tokens. For customers it works fine as expected, but for Agents, I have to Click on the I'm an Agent option on the login.
What I'm expecting is, When I'm already logged in my SSO provider, and then jump on the Zendesk Auth code grant URL, It should directly Log me in and give me my code in response, (instead of me clicking on the "I'm an Agent"). Is there any way to do this?
Additional Details :
1. When I'm logged in to my SSO provider and jump to Zendesk Auth code grant URL, it logs me in and gives me my code once I click on I'm an agent.
2. My URL looks like this : https://${subdomain}.zendesk.com/oauth/authorizations/new?response_type=code&redirect_uri=${redirectUrl}&client_id=${clientId}&scope=${scope}
3. My main objective is to bypass Clicking "I'm an agent" when logging in as agent.
Also, Every time I have to click on I'm an agent, as shown in the image. Is there anyway I can directly jump to Agent login?
-
Hi Raghav,
Did you get a chance to check out this: https://develop.zendesk.com/hc/en-us/articles/360001069287/comments/1260800320529
Please sign in to leave a comment.
1 Comments