Automating Authorization Code Flow

Hi @vperiyasamy

You can authenticate the user via API using /api/v1/authn endpoint (doc here) and retrieve a sessionToken. From there, you can pass the sessionToken as query parameter on the authorization endpoint and Okta will create the session automatically and redirect the user to the callback endpoint (doc here).