Getting invalid_client for Oauth

3 Comments

  • Chandrakant Mathankar

    Hi Team,

    Now we are able to generate access_token, below are the online document link which I am referring

    Reference link :https://developer.zendesk.com/documentation/live-chat/getting-started/auth/?_ga=2.250995846.1862546895.1645623617-772904335.1632167253

    but for it first we have to update"client_type": "public"to"client_type": "confidential"using API(把/ api / v2 / oauth /客户/ {oauth_client_id}).

    please find attached postman screenshot for token request.

    Image 1

    Image 2

    Please let me know if, is there any way which I can update client_type form front end UI instead of API(把/ api / v2 / oauth /客户/ {oauth_client_id}).?

    0
  • Chandrakant Mathankar

    Hi Team,

    Please let me know if, is there any way which I can update client_type form front end UI instead of API(把/ api / v2 / oauth /客户/ {oauth_client_id}).?

    0
  • Sergey
    Zendesk Customer Care

    Hi Chandrakant,

    Albeit a bit too late - I hope that my answer will be helpful for any future developments on your side or for general public.

    Password grant type is not supported by integrated chat accounts (your case) and is used on chat only accounts, as perPassword grant type-
    "This grant type is only supported on Chat-only accounts. It's not supported on Chat+Support accounts".

    I can also see a 401 http response from our chat host for your attempts to get a token - it could indicate that your entered password/email do not match with login database. In case you are getting same error over and over - please reach out to our support team for further assistance, as there could be something unique to your account that prevents you from generating required token.

    All the best!

    0

Pleasesign into leave a comment.

Powered by Zendesk