Giter Club home page Giter Club logo

sublexa's People

Contributors

andocromn avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sublexa's Issues

OAuth 2.0 Support

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.