question

Ralf Stephan avatar image
Ralf Stephan asked

account linking: server sends invalid_request / code_challenge_method+required

Hello, account linking proceeds until, after manual authentication, the Alexa app returns an error.

this is my config:

tmp.png

I could catch the oauth request exchange by using the Alexa app in Chrome. This is the request POST:

https://lichess.org/oauth/authorize?client_id=rwstlichess&response_type=code&state=A2SAAEAE.... 

and this the response:

https://layla.amazon.com/api/skill/link/M26VZ7NVANEZAU?error=invalid_request&error_description=code_challenge_method+required&state=A2SAAEAEE... 

The server requires Authorization Code Flow with PKCE, and the only accepted code challenge method is S256.

Any ideas as to the reason of the fail?

Thanks,

alexa skills kitaccount linking
tmp.png (104.3 KiB)
10 |5000

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

0 Answers