I am creating custom skill in Alexa which uses account linking. I have created my own authentication server using OAuth2 php library and I have configured the authorization url and token urls in skill configuration.
When I try account linking from Alexa mobile app, I get error 'unable to link your skill'. following is my work progress.
- Alexa app is able to open my authentication url.
- I am able authorize and provide authorization code with redirect uri.
- Alexa is requesting for access token using authorization code previously provided.
- I am able validate authorization code and response back with access token and refresh token.
- Alexa fails in this step to link with my skill. It say's 'Unable to link your skill'.
I have gone through my forums about the same, but couldn't find what exactly the issue is. Could any one please help me out in this regard.