marcy-terui / serverless-alexa-skills

Manage your Alexa Skills with Serverless Framework
https://www.npmjs.com/package/serverless-alexa-skills
MIT License
71 stars 13 forks source link

Make the authorization works on not-localhost environments #23

Open paolomainardi opened 5 years ago

paolomainardi commented 5 years ago

With this set of changes and it is possible to authorise alexa also in a not-localhost environment, like Docker or a remote server which is not capable to open a system browser with opn.

danielrbradley commented 5 years ago

Have you tried this out with a custom callback domain? I think this will run into issues if you're using the default security profile as it requires the callback to be exactly 127.0.0.1. It might be worth including some kind guidance if they're using a custom domain to also specify a custom security profile.