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

Topics with Label: PKCE

Labels

Forum Posts

Welcome to the Spotify for Developers board!

Welcome to the Spotify for Developers board! This forum is the place for conversations about Spotify's Web API, Web Playback SDK, Widgets, and other developer tools. Here you can ask questions about the Spotify platform, chat with other developers, a...

  • Spotify
  • Spotify
  • 18646 Views
  • 0 replies
  • 58 likes
  • Discussion
  • 18646 Views
  • 0 replies
  • 58 likes

400 Bad Request - Access Token - PKCE Auth Code Flow

Hello,I'm currently on Step 2 (Requesting Access Token) of the Auth Code Flow using PKCE, but I am unable to retrieve the access token.ProblemI am receiving a 400 Bad Request when sending my POST request to the https://accounts.spotify.com/api/token ...

tfJWqRc
  • Casual Listener
  • Hello, I'm currently on Step 2 (Requesting Access Token) of the Auth Code Flow using PKCE, but I am unable to retrieve the access token. Problem I am receiving a 400 Bad Request when sending my P...
  • mikemgg123
  • Visitor
  • 614 Views
  • 1 replies
  • 0 likes
  • access token
    PKCE
    question
  • 614 Views
  • 1 replies
  • 0 likes

Web API PKCE Authorize Not Working: INVALID_CLIENT: Invalid redirect URI

PlanPremiumCountryUSADevicePixel 3a EmulatorOperating SystemAndroid 13 My Question or IssueI am developing a mobile app with flutter/dart that uses Spotify's Web API. I am able to authenticate users without PKCE but when I use PKCE I get the error "I...

  • Newbie
  • ...ble to authenticate users without PKCE but when I use PKCE I get the error "INVALID_CLIENT: Invalid redirect URI" yet I have not changed the redirect URI and the URI used in the request matches the U...
  • 131 Views
  • 0 replies
  • 0 likes
  • App authorization
    flutter
    PKCE
    Spotify Web API
  • 131 Views
  • 0 replies
  • 0 likes

Solved!! Unable to refresh token with PKCE flow

I'm using the PKCE flow in my SPA.The initial authorization call works fine, with the following body parameters :code: AQC...redirect_uri: http://localhost:3000/myappgrant_type: authorization_codecode_verifier: DHo4...client_id: f50...Spotify returns...

  • Casual Listener
  • I'm using the PKCE flow in my SPA. The initial authorization call works fine, with the following body parameters : code: AQC... redirect_uri: http://localhost:3000/myapp grant_type: a...
  • Neumann_
  • Casual Listener
  • 316 Views
  • 1 replies
  • 0 likes
  • OAuth
    oAuth2
    PKCE
  • 316 Views
  • 1 replies
  • 0 likes

Refresh token revoked

I am using PKCE for my web app. When a user tries to perform an action and the access token has expired, I use the refresh token to generate a new access token. If my webapp is idle for over a day, and I try to use the refresh token, I get the follow...

  • Casual Listener
  • I am using PKCE for my web app. When a user tries to perform an action and the access token has expired, I use the refresh token to generate a new access token. If my webapp is idle for over a day, a...
  • chrishipgrave
  • Casual Listener
  • 1938 Views
  • 2 replies
  • 0 likes
  • PKCE
    Possible Bug
  • 1938 Views
  • 2 replies
  • 0 likes