amazon alexa integration with o auth 2.0
so i have worked on integrating mqtt based devices with custom amazon alexa skill via aws lambda functions. at that time i used i used amazon's o auth server to configure the profile management. now i have moved to local mqtt and i want to have similar environment locally, so for now i was finding a solution for o auth 2.0 integration, it does not have to take the database into consideration, just a want to build a of skeleton which works for the authentication ... basically like hosting and configuring docker image of it .... any resources are appreciated ..
5 Replies
@LMtx
Could you explain once again what are you trying to achieve? Maybe create a diagram representing your target solution.
sure ..
image refrence: https://developer.amazon.com/en-US/docs/alexa/smarthome/implement-your-skill.html
so here i was trying to get the o-auth 2.0 part up and running in my local server ... considering alexa skill is also at same network ...
integration point would be the o-auth server url and api link... i was thinking to figure out a docker container and have like a docker compose configration to get a db also ... as i am a firmware guy i am not very familiar with the server aspect but i am will to learn and implement this ... 🤓
ps. sorry for the late response 😅😅
This is a sample implementation. I haven't tried it, but it should work.
https://github.com/alexa-samples/alexa-oauth-sample/tree/master
GitHub
GitHub - alexa-samples/alexa-oauth-sample: A sample code for Alexa ...
A sample code for Alexa Skill developers to set up an OAuth 2.0 server. - GitHub - alexa-samples/alexa-oauth-sample: A sample code for Alexa Skill developers to set up an OAuth 2.0 server.
sure ... thanks for the link i will soon implement and let you know the results as well ...