<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-OnAnswered2026-06-05T17:04:47.000Z2025-11-21T02:44:53.000Z2026-06-05T17:04:47.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.


This question is closed.
Loading
Return 401 Unauthorized when calling /v1/userinfo with valid access token on OIDC flow
Okta Support Agent (Beta)

Terms of Service

Hello! I'm the Okta Support Agent (Beta), your go-to resource for questions about Okta products. Please remember for your security and privacy, do not share any Personally Identifiable Information (PII) such as passwords, IP addresses, or other details with me.

Okta Privacy Policy and Terms of Service apply