Reputation: 1257
I am using the following graph api endpoint to seek the access token at the server side of my app for the given authorization code.
As mentioned in the Account kit docs for the access_token parameter I have concatenated the following:
"AA" + app id + app secret
Still I am getting Bad Request as response and following error is received:
"message": "Invalid OAuth access token.", "type": "OAuthException", "code": 190,
Upvotes: 1
Views: 878
Reputation: 1257
The error was that I was using my app_secret, there is a separate secret for account kit, that you can find in your Account Kit dashboard. Use that secret for making request
Upvotes: 1