Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Android Authentication library Token vs Code

Android Authentication library Token vs Code

Hello,

I would like to create an android app which can call spotify webservices.

So I am using the auth-lib to request an authentication token but I don't understand the difference betweend AuthenticationResponse.Type.Code and AuthenticationResponse.Type.Token. 
Which one should I use? 

I have tried with AuthenticationResponse.Type.Token, and then I get the accessToken but it expires after 60 minutes, do you known how can I refresh it?

Thank you

 

Reply
0 Replies

Suggested posts

Staff
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โ€ฆ

Staff
ModeratorStaff / Moderator/ 3 years ago  in Social & Random

Type a product name