
Navaneetha SankarK.93633 (Customer) asked a question.
Hi All,
I am trying to create some automation through an application APIs that has Okta authentication (oidc implemented with nginx+vouch).
- I got sessionToken from /api/v1/authn
- Got the code from /oauth2/v1/authorize
- I got bearer token from /oauth2/v1/token
When I try to access my application's API by sending a GET with header "Authorization: Bearer {Token}, My application redirects me to Okta login page.
I am stuck with it for a long time and couldn't identify the issue.
Thanks in advance.

Hello @Navaneetha SankarK.93633 (Customer)!
Thanks for using our support forums to ask your Okta related questions.
About the problem you are facing, I would suggest you actually research about or post this question in our dev forums since you might get a better answer over there:
https://devforum.okta.com/
Additionally, this document might be useful for this particular use case:
https://developer.okta.com/blog/2018/08/28/nginx-auth-request
However, if further assistance from our side is required, please open a support case so we may take a more detailed look at the problem.