question

newuser-28f075ed-f299-4ea6-8a4f-5c2ce5ee7f01 avatar image
newuser-28f075ed-f299-4ea6-8a4f-5c2ce5ee7f01 asked ·

We were unable to link your ** at this time

In the account linking view, I config Authorization URI and Access Token URI . When l login and authorize, in my oAuth server logs I only find "Authorization" request, there is no request for "Access Token URI". Why happen this problem, any reason?

Oauth2.0 access_token response like this

{
    "access_token": "w24bR0oOT5KuKcGAD82KaA",
    "client_id": "amzn1.application-oa2-client.f463220f94004fc69e673fe7be7dc0ca",
    "expires_in": 84241,
    "refresh_token": "fT8YGMlMT1S5DRMYQDDa1A",
    "token_type": "Bearer"
}

account linkingsmart home
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Anand@Amazon avatar image
Anand@Amazon answered ·

Please share skill id for which you are having this issue as there are multiple skills in your account.

1 comment
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

amzn1.ask.skill.8d30cb3e-d388-425f-8900-6b4df436e540

0 Likes 0 ·
newuser-f18318cc-e8f6-414a-abd4-b3a72dd90e22 avatar image
newuser-f18318cc-e8f6-414a-abd4-b3a72dd90e22 answered ·

I have solved this problem by completing the certificate chains.

1 comment
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Thanks for you answer!

My certificate chains are complete, ssl certificate provided by "GeoTrust RSA CA 2018". Alexa server only request authorize for code, not query from access_token. Authorize code illegal?

0 Likes 0 ·
newuser-f18318cc-e8f6-414a-abd4-b3a72dd90e22 avatar image
newuser-f18318cc-e8f6-414a-abd4-b3a72dd90e22 answered ·

Authorize code is user defined,it can't be illegal. The problem may be timeout or certificate.

good luck.

10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Anand@Amazon avatar image
Anand@Amazon answered ·

Hello Developer,

It looks like you have enabled "Send Alexa events" which is sending authorization token on your behalf to Alexa event gateway. To get this working please include Alexa.Authorization interface in your smart home skill which will solve your issue.

Please test your account linking by disabling "Send Alexa events" from permission page and if it's successful that means you have not added Alexa.Authorization interface.

Check this link for more details.

10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.