Announcements

Authorization Code Flow for Artists and Managers

Reply

Authorization Code Flow for Artists and Managers

juniormp
Casual Listener

 

 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,

1 Reply

Re: Authorization Code Flow for Artists and Managers

Hubo
Rock Star 16
Rock Star 16

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

HuboRock Star 16
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