We've build a custom support portal for our agents that accepts login through Okta. We have added Zendesk to out Okta applications. Once our agent logs in on our support portal, they have access to Zendesk console whenever they redirect to it. However, we want to make a few API calls from the support portal to Zendesk (once the user is logged in). To make these API calls we have no tokens available. How can I extract my Auth token for Zendesk when I login using Okta?
Note: We cannot use the Authorization grant flow or implicit grant flow (we do not want to redirect our users to "Accept" access page). We also cannot use the password grant, as Okta takes care of the login and credentials.
Ref : https://support.zendesk.com/hc/en-us/articles/203663836-Using-OAuth-authentication-with-your-app