Okta UserInfo Returns HTTP 403 Forbidden

Hi, I Need user info In My Spring Boot Services for the custom Logic. When I making call for the below Endpoint it is giving me error 403 Error

https://dev-6928379.okta.com/oauth2/default/v1/userinfo With The API token

I am using I am using Spring Boot 2.1.4.RELEASE

Not Sure Exactly where im doing wrong

would be nice to see a request sent to this endpoint

Below Is the Complete Request

https://dev-6928379.okta.com/oauth2/default/v1/userinfo - POST

  • H Authorization Bearer Xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Note: Token was generated using Client Credentials

Since Token is generated Using Client credentials, userinfo end point is not working. But when i generate using Password Grant Type for a user. userinfo Working… Makes Sense …

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.