We are using below endpoint to get access token
username and password is clientID and secret
In body we are passing Grant_type as client_credentials and scope as ‘ABC’
We are getting access token
You must enable (in the Application configuration on the Okta admin console) and request (in your /token call) the appropriate Okta API scope for the method/endpoint. In this case, you need okta.users.read
If you do get a valid Access Token back from the Org AS with the appropriate scopes, you will need to send it as Authorization: Bearer instead of SSWS. SSWS is only used for API tokens
In order to use a Service App and Client Credentials flow with the Org AS to get tokens that you can use against Okta’s own management endpoints, you need to configure the app to use private key JWT auth.