question

Kirushanth avatar image
Kirushanth asked

Unable to link account. Problem in receiving access token.

I am using authorization code flow in account linking process in my alexa skill. My server responds to access token request after 8s. Whereas Alexa waits for just 5s to receive the response. This lead to error in account linking. It is difficult to reduce my server response time. Any idea how we can make Alexa wait few more secs?! Or how do we increase the waiting time from Alexa?!

alexa skills kitalexa voice servicealexaaccount linking
10 |5000

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

Jason@Amazon avatar image
Jason@Amazon answered

Currently there is a requirement for the authorization server to respond to the token request within 4.5 seconds.

10 |5000

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

newuser-c6014a8f-1964-448d-aa13-6f7f765cecdb avatar image
newuser-c6014a8f-1964-448d-aa13-6f7f765cecdb answered

Or you can just use Login with Amazon LWA so time response in not an issue.

10 |5000

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