spotify / web-api-examples

Basic examples to authenticate and fetch data using the Spotify Web API
Apache License 2.0
1.99k stars 1.67k forks source link

Streaming scope not being read in PCKE auth flow #133

Closed m-shum closed 2 months ago

m-shum commented 2 months ago

Issue description Adding 'streaming' scope doesn't return a token scoped for streaming as per the example in the Spotify docs here: https://developer.spotify.com/documentation/web-api/howtos/web-app-profile

const scope =
  'openid streaming user-read-email user-modify-playback-state user-read-private'

Following the docs above appears to return a token only with public scope regardless of what scope is set in the redirect to auth code flow.