This repository exposes the entire authorization flow with PKCE flow up to the Web Playback SDK using the Angular framework
- Create an spotify app
- Fill the environments files with the:
CLIENT_ID
from the created appCLIENT_ENCONDED_DATA
base64 usingCLIENT_ID
andCLIENT_SECRET
from the created app:
btoa(`${CLIENT_ID}:${CLIENT_SECRET}`)
-
Fill in the SCOPES you will need
-
Add
http://localhost:4200/spotify-authorization
in Redirect URIs in the created app settings -
Run the application:
$ npm install
$ npm start
And the witchcraft is done 🧙
Give this repo a star ⭐ ⬆️.