<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
0D5KZ000019sbxE0AQOkta Classic EngineAPI Access ManagementAnswered2025-08-18T15:54:21.000Z2025-07-25T03:49:32.000Z2025-08-18T15:54:20.000Z

OktaS.66131 (Customer) asked a question.

About Client Credentials Flow with API Service

We created an API service and attempted to obtain an access token using the Client Credentials flow, utilizing the Client ID and Client Secret generated in Okta. However, we received the following 401 Unauthorized error:

{

  "error": "invalid_client",

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

}

 

I have the following two questions:

  1. If we do not have the API Access Management license and thus do not have access to custom authorization servers, is it impossible to obtain an access token using just the Client ID and Client Secret?
  2. Does the default Org Authorization Server only support access token requests using the private_key_jwt method in the Client Credentials flow?

 

 


This question is closed.
Loading
About Client Credentials Flow with API Service