Prerequisites
To implement account linking for smart home add-ons, you must have the following prerequisites:- Your system must support OAuth 2.0 and the authorization code grant type.
If you don’t have your own authorization server, you can use Login with Amazon (LWA) or any OAuth 2.0 provider that has a certificate signed by an Amazon-approved certificate authority. Note that you cannot usehttps://letsencrypt.org/, even though it’s on the certificate list. - Your OAuth provider must meet the Requirements for Account Linking.
- If you enable the Send Alexa Events permission for the smart home add-ons, your add-on must handle the
AcceptGrantdirective. If your add-on doesn’t handle this directive, account linking fails when the user attempts to enable your add-on. For more details, see Request Access to the Alexa Event Gateway.

