Announcements

Help Wizard

Step 1

NEXT STEP

Authorization Code Flow for Artists and Managers

Authorization Code Flow for Artists and Managers

 

 Hello everyone,

 

 I have got one question when implementing the Authorization Code Flow.

 

 Once the user authorize access to an Application and the app use the request token to web api to get user data like in the example bellow:

 

{
  "display_name":"JMWizzler",
  "email":"**bleep**",
  "external_urls":{
  "spotify":"https://open.spotify.com/user/wizzler"
  },
  "href":"https://api.spotify.com/v1/users/wizzler",
  "id":"wizzler",
  "images":[{
  "height":null,
  "url":"https://fbcdn...2330_n.jpg",
  "width":null
  }],
  "product":"premium",
  "type":"user",
  "uri":"spotify:user:wizzler"
}

 

 The  type param will always be user or if an Artist/Manager authorizes the app will be something like artist/manager ?

 

 My application Use Case has different scenarios to deal with Users/Artists/Managers. It would be nice to know in the Authorization flow what type of user each one is.

 

Thank you,

Reply
1 Reply

Hey @juniormp, thanks for reaching out!

 

Good question! I've taken a look and since artist profiles/manager profiles are logged into using a regular Spotify account, it's not possible to determine whether the user is an artist/manager at this moment. 

 

If this is something you'd like to see, I recommend creating a new idea on the Ideas board. That way, Spotify can keep track of it.

 

Feel free to give me a shout, if you have any questions!

 

Hope you're having a great day,

Hubo

HuboSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

Suggested posts