Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.26 KB

README.md

File metadata and controls

31 lines (22 loc) · 1.26 KB

Angular + Spotify integration

This repository exposes the entire authorization flow with PKCE flow up to the Web Playback SDK using the Angular framework

Angular Spotify

Steps

  1. Create an spotify app
  2. Fill the environments files with the:
  • CLIENT_ID from the created app
  • CLIENT_ENCONDED_DATA base64 using CLIENT_ID and CLIENT_SECRET from the created app:
 btoa(`${CLIENT_ID}:${CLIENT_SECRET}`)
  1. Fill in the SCOPES you will need

  2. Add http://localhost:4200/spotify-authorization in Redirect URIs in the created app settings

  3. Run the application:

$ npm install
$ npm start

And the witchcraft is done 🧙


Give this repo a star ⭐ ⬆️.