During account linking process, Alexa user is redirected and presented with a form to enter his credentials (ID and/or password). Based on what's provided, the user is then being validated by the authentication flow, upon which success an accessToken
is embedded in Alexa request and the user is redirected to the OAuth resource.
Is there a way to pass the ID of the user obtained in the above interaction as part of the Alexa request (JSON session\user\userId
), instead of (or in addition to) it being a userId that gets generated during user's enabling their skill on a device? Or can the userId be gleaned from the accessToken
generated after linking user's account?