user1590569
user1590569

Reputation: 55

OAuth Unauthorized Client Error

Working on my Google Glassware and everything seemed to be going fine. I tried loading it up the other day after a while of not working on it and had an OAuth error. I tried refreshing the key and even starting a new project. The Error I got has atleast changed I am now getting - An error occurred: Error refreshing the OAuth2 token, message: '{ "error" : "unauthorized_client" }'

The code is pretty much completely based off of the PHP Quick Start. This happens when I try and authorize the app with my account. I know my information is correct for the config.php file. Any suggestions?

Upvotes: 2

Views: 8676

Answers (1)

yogendra689
yogendra689

Reputation: 106

I think in this case , it is possible that Authorization server has not allowed to access Authorization grant type

{error: 'unauthorized client'} may be related to Authorization server settings Grant_types it has allowed.

Reference: http://tools.ietf.org/id/draft-ietf-oauth-v2-12.html#token-errors

Upvotes: 2

Related Questions