brokenprogrammer / RapidTunes

A music player that lets you play music from all sources.
MIT License
7 stars 4 forks source link

Spotify Authorization support #87

Closed brokenprogrammer closed 3 years ago

brokenprogrammer commented 3 years ago

We need support for user Authorization within the application for spotify users.

This is done through the Authorization Guide.

The spotify-web-api-js package from NPM does not support this out of the box hence we will have to implement our own support for this.

Preferably the user can start the authorization flow through an action within the interface, and then the implementation can handle updating the token by itself. Since we are using a third party library to talk to the spotify api we might want to just implement the refreshing of a token as an exported function or something similar.