https://github.com/dguyen/spotify-token-auth
https://github.com/dguyen/spotify-token-auth
nodejs spotify
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/dguyen/spotify-token-auth
- Owner: dguyen
- Created: 2019-08-12T06:56:43.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T01:39:26.000Z (over 3 years ago)
- Last Synced: 2024-10-29T09:17:10.588Z (over 1 year ago)
- Topics: nodejs, spotify
- Language: JavaScript
- Size: 45.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spotify token authentication
Designed to be used in conjunction with [Interactive Wallpaper Application](https://github.com/dguyen/WallpaperWebApp), allowing users to authenticate their [Spotify](https://www.spotify.com) account with the application.
## About
This NodeJS application will allow users to grant permission for the [Interactive Wallpaper Application](https://github.com/dguyen/WallpaperWebApp) to control their music playback. It also returns the user's refresh token which they are required to place back into the application. This application was created seperately due certain constraints revolving around the technology used.
### Build Locally
1. Run `npm install` to install packages
2. Create a [Spotify Application](https://developer.spotify.com/dashboard/applications)
3. Inside the Spotify Application note down your client_id and client_secret
4. Inside the Spotify Application settings, add a RedirectURI `http://localhost:3000/api/callback`
5. Copy spotify-api-settings.js.backup to spotify-api-settings.js
6. Fill out client_id and client_secret
7. Run `npm start`