Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAuth Sequence Handler #2

Open
mateothegreat opened this issue Jun 10, 2019 · 0 comments
Open

OAuth Sequence Handler #2

mateothegreat opened this issue Jun 10, 2019 · 0 comments
Labels
feature New feature request

Comments

@mateothegreat
Copy link
Member

After installation using autobots framework the bot will require an OAuth procedure. The user will need to configure an application resulting in a client id and secret. Next the user will need to authenticate with Spotify using OAuth.

Oauth Implementation

  • Bot command message for >oauth login
  • Send user a url which the bot listens to with spotify login and redirect back to bot
  • Listen for http response from oauth sequence and receive the token, updating the bot config

HTTP Endpoint

  • Host of bot must have proper networking (ingress controller for k8, nginx proxy, etc.)
  • Exposed over 443 behind cloudflare
@mateothegreat mateothegreat added the feature New feature request label Jun 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request
Projects
None yet
Development

No branches or pull requests

1 participant