Reputation: 379
I am developing custom skill in Alexa, which required Account Linking. I am using Implicit grant for account linking. I have my own login page for account linking here. I also refer this post for implicit grant account linking. but I have no luck. when i try to login it will redirect to it's redirect url but every time I receive Unable to Link your skill.
My Account linking authorization URI looks like this
and when user enter the correct crediential it will redirect user to the redirect url as mension in the Account linking console. My redirect uri is
I have no idea what am i doing wrong.I have gone through the forums about the same, but couldn't find what exactly the issue is. Could any one please help me out in this regard.
Upvotes: 1
Views: 488
Reputation: 2349
It must be due to value of state
Query String parameter being sent to Amazon Skill redirect URL along with access_token
.
According to Implicit Grant Flow, when the Alexa app calls the specified authorization URI
, it includes state
, client_id
, response_type
, scope
, and redirect_uri
as query string parameters. You must pass un-altered value of state
parameter when redirect along with access_token
.
Upvotes: 1