chance-nelson / SnowStorm

easy-to-use audio streamer, with a restful api
MIT License
5 stars 8 forks source link

Add user authentication #7

Open chance-nelson opened 5 years ago

chance-nelson commented 5 years ago

Add a way for users to log in to the system, and only allow authenticated users to append into the queue and skip the current song.

Preferably, utilize these technologies:

Endpoint

/api/auth:

Once this is implemented, alter the /stream/skip and the POST version of /stream/queue to require the JWT to be present in the Authorization header, under the bearer method.

palaparthi commented 5 years ago

I can take this up

Glyphack commented 5 years ago

Maybe it should split into two issues:

  1. Monoengine
  2. User authentication