Announcements

Help Wizard

Step 1

NEXT STEP

Scopes listed at well-known oidc configuration aren't accepted

Scopes listed at well-known oidc configuration aren't accepted

The openid configuration at https://accounts.spotify.com/.well-known/openid-configuration lists the following scopes: 

- email

- openid

- profile

 

But when trying to use one of these 3 scopes the oauth2 "invalid_scopes" error is thrown 😞 Which is understandable for the email and profile scope, but not for the openid scope since it's required by the open id connect spec

 

Just a heads up 🙃

Reply
6 Replies

The list of scopes used by the Spotify web API are listed here:

https://developer.spotify.com/documentation/general/guides/scopes/

Hi Peter,

Thanks for your answer. I’m aware of that list, but this was more of a heads up about the listed scopes not being supported (and the openid scope missing completly) 😅

I don't know what  openid is. Where is the documentation from Spotify about this?

https://openid.net/specs/openid-connect-basic-1_0.html#Scopes
> REQUIRED. OpenID Connect requests MUST contain the openid scope value. OPTIONAL scope values of profile, email, address, phone, and offline_access are also defined. See Section 2.4 for more about the scope values defined by this document.

This document does not mention Spotify. Where is the documentation that suggests that the Spotify web API supports OpenID?

Hi there

 

OpenID Connect is not a support authorization protocol for our WebAPI at this stage. You'll have to use OAuth with the scopes listed here: https://developer.spotify.com/documentation/general/guides/scopes/

 

We support PKCE, Code Flow, Client Credentials Flow and Implicit Grant. See https://developer.spotify.com/documentation/general/guides/authorization-guide/ for more info.

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random