Post

1 follower Follow
0
Avatar

Oauth authorization "Invalid client secret"

Hi,

I'm implementing server side auth for my app. I'm strugglig w/ the last step - obtaining token - providing credentials from API keys page (I can get auth code w/out any problems):

client_id being Client ID (f.e 'testapp') and secret the Client Secret I allways get:

{"error_propagate":true,"error_parameters":{},"error_detail":"oauth.client.invalid_secret","error_description":"Sorry, you've supplied an invalid client secret.","error":"invalid_client"}

What client_id and client_secret should I provide then? Does my app has some numeric id I have to post? What am I missing here?

my POST req looks like this (***ed):

redirect_uri=http%3A%2F%2F*******.cz%2Fauth%2Fstep3&client_secret=*****&code=****&client_id=*****&grant_type=authorization_code

 

 

Jan Florian Answered

Please sign in to leave a comment.

1 comment

0
Avatar

Oh, my bad. I've regenerated the secret, but provided the old one. Sorry.

Jan Florian 0 votes