Setting up the Login server
This topic provides guidelines to setup and configure the Reference Alexa Skill’s Login Server, to serve as the authentication bridge between the Reference Alexa Skill and Amazon Alexa services. This enables shoppers to interact with the Alexa skill using their accounts through Cortex.
Setting up Account Linking
- Set up the Reference Account Linking server
Configuring Account Linking in Alexa
Log into the Alexa Developer account at
developer.amazon.com
, and go toAlexa
>Your Alexa Consoles
>Skills
><Your Skill Name>
On the left sidebar, scroll down and select
Account Linking
In the
Do you allow users to create an account or link to an existing account with you?
field, set it toOn
In the
Security Provider Information
field, selectImplicit Grant
Fill in the fields under Security Provider Information. For more information, see the preceding chart.
Field name field Authorization URI Set to the endpoint of the Account Linking server you set up in step one (Note: An https://
endpoint is required)Client ID An identifier for your skill Scope An optional list of scopes that indicating the access the Alexa user needs. Domain List Set to the Domain of your Account Linking endpoint Click Save
Test Account Linking
- Go to the Test tab and invoke the skill. Note: Alexa responds with asking the user to link account. For more information about account linking with Alexa Skills, see the How users connect section