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

PKCETokenRequest and Spotify Agreement

PKCETokenRequest and Spotify Agreement

Operating System

Windows

 

My Question or Issue

Hello, I am using the Spotify API to developer a Windows UWP application. I'm using the PKCE Authorization work flow. It works as follows:
1. Start application

2. User is asked to login to spotify

3. After logging in, the user is taken to the screen where he agrees to grant my application access to view his spotify data.
4. The user agrees and proceeds to use the app
5. The user shuts down the app

When the user restarts the application the following happens

1. The user is NOT asked to login to Spotify again

2. The user is, however, asked to agree to grant my application access again

 

Is that right? I wouldn't expect that he would have to re-grant my application each time.

 

I was previously using the Authorization Code workflow and I didn't have to re-grant each time. The Authorization Code seemed to work well, but when I facebook authenticated I would get an "invalid_grant" every time I attempted to request a token.

I'm looking for any advice about what I might be doing wrong.  Thanks in advance for any help

Follow Me
DJ Mikey
Strangeways Radio
Owner / Program Director

What's a Spotify Rock Star, and how do I become one?
Reply
0 Replies

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