Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

invalid_client

Client authentication failed.

Explanation

Clients are authenticated by the values of certain parameters. One or more of these mechanisms were not correct.

Remediation

This error is encountered when:

  • the client_id is not valid
  • the redirect_uri does not match exactly
  • the client_secret if issued is incorrect

Info

The redirect_uri and client_secret should be URL (percent) encoded when submitting them to /token. Additionally, the client_secret must be properly masked before it is URL encoded.