Oauth token expiration for oauth using client credentials grant type | The place for Zendesk users to come together and share
Skip to main content
Question

Oauth token expiration for oauth using client credentials grant type

  • July 7, 2026
  • 1 reply
  • 22 views

is Oauth token expiration for oauth using client credentials grant type also? I am trying to create a new OAuth client using client credentials to test token expiry and obtain new tokens. But get not a valid grant type error. Is the grant type restricted to only one oAuth client?

URL used is url = "https://gsmls.zendesk.com/oauth/tokens”

If i use the existing Oauth client to get token  get below error

“{"error":"unauthorized_client","error_description":"The authenticated client is not authorized to use the access grant “

1 reply

Ahmed Zaid
  • User Group Leader
  • July 10, 2026

Hi ​@ashlesha,

Client credentials grant is only allowed for client with Confidential kind. It is very likely that your client is Public.