Announcements

Help Wizard

Step 1

NEXT STEP

Topics with Label: PKCE

Labels

Forum Posts

Important: App review and quota extension waiting times

The Spotify for developers platform helps many bring their ideas to life. Whether it's a short term app helping an artist’s release or something more long term - there is always a chance of success. Things start to grow and then you might also need w...

  • Moderator
  • Moderator
  • zaronwald123
  • Regular
  • 6646 Views
  • 42 replies
  • 11 likes
  • 6646 Views
  • 42 replies
  • 11 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...
  • rentzy
  • Casual Listener
  • 1870 Views
  • 6 replies
  • 3 likes
  • access token
    PKCE
  • 1870 Views
  • 6 replies
  • 3 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...
  • 267 Views
  • 0 replies
  • 0 likes
  • App authorization
    flutter
    PKCE
    Spotify Web API
  • 267 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
  • 520 Views
  • 1 replies
  • 0 likes
  • OAuth
    oAuth2
    PKCE
  • 520 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
  • 3039 Views
  • 2 replies
  • 1 likes
  • PKCE
  • 3039 Views
  • 2 replies
  • 1 likes