alexa-samples / alexa-smarthome

Resources for Alexa Smart Home developers.
https://alexa.design/smarthome
Other
686 stars 336 forks source link

How to handle non LWA authentication #8

Closed albinantony2904 closed 6 years ago

albinantony2904 commented 6 years ago

I am planning to direct the user to a login page that I provide in companion app when the user tries to enable a smart home skill.So how can I handle such kind of authentication.? Is there any tutorial available that does not involve LWA authentication.?

modescode commented 6 years ago

Here's a blog, as a guide for LwA implementation - https://developer.amazon.com/blogs/post/Tx3CX1ETRZZ2NPC/Alexa-Account-Linking-5-Steps-to-Seamlessly-Link-Your-Alexa-Skill-with-Login-wit

albinantony2904 commented 6 years ago

@modescode I don't want to use LWA

briankel commented 6 years ago

@albinantony2904 setting up the OAuth provider is not something we can provide documentation for as this will vary greatly depending on the web platform you are using. However we do have some documentation which can help you with configuration based on what Alexa is expecting:

dairong commented 6 years ago

To add to @modescode and @briankel's comments, we expect smart home skill authorization to be based on the OAuth 2 spec, so if you do not want to use LWA, then you can use any other OAuth 2 compliant provider. Resolving this issue, please re-open if needed, thanks!