Hi!
I’m trying to implement a users creation module in my application that will call {api/v1/users} api endpoint of okta.
As far as I have studied the documentation, it says to use {api_key} for requesting {api/v1/users} endpoint. The other method to call this end point is to grant {okta.users.manage} scope in Okta API Scope inside the application and request the access token, then use that token to call {api/v1/users} endpoint and it will let you create/get all your current users in org.
As for the efficiency my requirement lies in the second option to grant Okta API Scope and use access token to call these endpoints but when i use this access token it gives {401 unauthorized} and {one or more scope is not configured to the application}, although i have granted access to {okta.users.manage & okta.users.read}.
Note: while working with {api_key} every endpoint works smoothly. I wanted the other way, an Access token way to create or list users.
authorization url : https://dev-36911734.okta.com/oauth2/default/
url or api/vi/users: https://dev-36911734.okta.com/api/v1/users
Thanks