<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D5WR000010EkAh0AKOkta Classic EngineSingle Sign-OnAnswered2025-11-21T15:39:23.000Z2025-11-21T02:44:53.000Z2025-11-21T15:39:23.000Z

KeithW.28821 (Customer) asked a question.

Return 401 Unauthorized when calling /v1/userinfo with valid access token on OIDC flow

I am new on using OKTA Integrator.

 

I am following this tutorial to create the application.

https://developer.okta.com/docs/guides/sign-into-spa-redirect/react/main/

 

I am ok to redirect back to the single app application after okta login and can see application being called /v1/token to retrieve the access_token, however, I try to get this token to make call to /v1/userinfo with Authorization Bearer Header, it return 401 Unauthorized.

 

I did not have idea how to continue the troubleshooting that which settings I have missed and make this issue.

 

Thanks any one can answer this.


Loading
Return 401 Unauthorized when calling /v1/userinfo with valid access token on OIDC flow