Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Linkedin OAuth unauthorized client error

Tags:

linkedin

Getting this as the response:

{"error":"unauthorized_client","error_description":"the client is not authorized"} 

In the final step of OAuth 2.0 to use LinkedIn APIs. Couldn't get any material regarding this, so could anyone please help me with this ?

I am calling it as POST method too.

like image 361
user2655881 Avatar asked Nov 13 '22 00:11

user2655881


1 Answers

I was getting this error when I was not passing the correct value in the client_secret value in the POST to retrieve the access_token. Once I passed in the correct value (BTW, linked calls this parameter as Secret Key on the developer console), this started working for me.

like image 156
Moiz Tankiwala Avatar answered Jan 04 '23 03:01

Moiz Tankiwala