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

Auth without "human interaction" #30

Open rogelio-o opened 4 years ago

rogelio-o commented 4 years ago

Hello,

I'm trying to include sls alexa update and sls alexa build command into my skill pipeline. It's required to run first sls alexa auth, which opens a browser to perform code flow Oauth2 validation. Because "human interaction" is required to get a token, it's not possible to include those commands in any automation.

Could it be possible to implement client credentials flow for those cases? It could be configurable what flow you want to use.

I'll be happy to contribute with this enhancement.