I am trying to get the access token or id token manually by calling my custom authorization server
https://{yourOktaDomain}/oauth2/{authServerId}/v1/authorize
however I am getting 302 not found with no repose which it is still successful but I am not seeing any response coming back from this call. then I see a call to the
https://{yourOktaDomain}/oauth2/{authServerId}/v1/keys API which in return I get the public key.
How can I obtain the access token or the actual JWT token from this call?
Yes But how do I get that token from the redirect url? If I make a call the /authorize call pragmatically? also I cannot use Response_mode query if the Response_type is token or token_id.
In this case, you should be able to retrieve it from the query parameters on redirect_uri using either language built-in variables or methods (for example in PHP you can retrieve it directly from $_GET global variable) or through custom methods that parse the URL and retrieve the query parameters individually.