<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z0000ABvBqiCQFOkta Classic EngineAuthenticationAnswered2025-08-13T09:01:22.000Z2024-07-12T12:35:30.000Z2024-07-12T20:28:42.000Z

bcul3 (bcul3) asked a question.

Getting errror: Client Credentials requests to the Org Authorization Server must use the private_key_jwt token_endpoint_auth_method.

Hi All,

I am getting following error using client credentials flow -

Client Credentials requests to the Org Authorization Server must use the private_key_jwt token_endpoint_auth_method.

 

this is how I am making request -

response = requests.post(TOKEN_URL, data={

'grant_type': 'client_credentials',

'client_id': CLIENT_ID,

'client_secret': CLIENT_SECRET,

'scope': 'okta.clients.read'

})

 

can you please guide me or point to some documentation on how to excahnge client_id and client_secret for access token.

I don't have option to create a custom authorization server.


This question is closed.
Loading
Getting errror: Client Credentials requests to the Org Authorization Server must use the private_key_jwt token_endpoint_auth_method.