- Spotify's Authorization Flows
- Set up environment variables
- Install and use dotenv
- Set up the redirect URI
- Step 1: Request authorization from Spotify
- Set up the /login route handler
- Refactor with the querystring module
- Add state and scope query params
- Step 2: Use authorization code to request access token
- Set up the /callback route handler
- Set up the POST request with Axios
- Step 3: Use access token to request data from the Spotify API
- Bonus step: Refresh access token
- Set up the /refresh_token route handler
- Lesson recap
- Sources
- Learning Checkpoint
Contents