andocromn / sublexa Goto Github PK
View Code? Open in Web Editor NEWTesting code for Subsonic personal media streamer integration with Amazon Alexa
License: MIT License
Testing code for Subsonic personal media streamer integration with Amazon Alexa
License: MIT License
One of the requirements for publishing this Alexa Skill will be to implement support for OAuth 2.0.
Currently no authentication is used and the service open to be used by any Alexa developer account.
-- The Main Problem --
The Alexa Skill configuration requires a static default URL for the service endpoint and a static URL for the Authorization URL to enable account linking. There is no way for the user to specify the URL of their own server for the skill to use. This creates a necessity for the OAuth to occur a central server and redirect requests to the user's actual server.
-- My Idea --
Create a simple web service on AWS using Amazon's "Login with Amazon" service. The user would go to a page on their PC where they register an account and store their subsonic server address, username, and password. When the skill is enabled and the user links their account, the central server will perform the OAuth 2.0 authentication. Once authenticated, when the Alexa service makes a request to the central server, it will 302 redirect the service to the user's actual server.
I'm admittedly not an expert on the OAuth 2.0 protocol and there are certainly some holes in that plan that need to be ironed out... my goal though is to keep the AWS hosted service as light as possible placing the majority of the load on the user's own server
again I'm creating this to start a dialog so please feel free to comment with any thoughts
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.