Unable to get scope "okta.users.read" working in OpenID connect API call

Hello All, Can you please let me know the reason the below query is not working in postman?


but the following API call is working and its prompting for credentials.


Hi there - A couple things:

  1. OAuth for Okta uses the org server for granting tokens, not a custom/default auth server. So you’ll want to get rid of the /default/ in your URL.
  2. Have you granted the okta.users.read scope in your Okta app? You need to grant this scope under the Okta API Scopes tab in your application integration.

Thanks Cale. This works.