Scope issue when authorizing Oauth

Request :

https://dev-29677267.okta.com/oauth2/default/v1/authorize?response_type=code&client_id=0oa5b18407lQNYZqw5d7&scope=openid%20offline_access%20okta.apps.read%20okta.apps.manage&redirect_uri=https://hari-2138.csez.zohocorpin.com:7443/callback&state=striung

Response

https://hari-2138.csez.zohocorpin.com:7443/callback?state=striung&error=invalid_scope&error_description=One+or+more+scopes+are+not+configured+for+the+authorization+server+resource.

How to add these scopes “okta.apps.read%20okta.apps.manage” in my app to get access_token?
In default authorization server i couldn’t find the above mentioned scopes? Can you help me with adding these?

Okta API Scopes exist only on the Org Authorization Server. Remove /default from your request path and retry.

See our docs for reference: Implement OAuth for Okta | Okta Developer

1 Like

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