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

WebAPI Authorization Code with PKCE 400 Error

WebAPI Authorization Code with PKCE 400 Error

Hello all,

 

I am working on a small project to request player information from the WebAPI, however I am having a lot of issues with authentication. 

 

My Question or Issue

I have been following https://developer.spotify.com/documentation/web-api/tutorials/code-pkce-flow PKCE authentication guide as I am doing a single webpage application. 

 

I have followed the guide and even copied the code directly, I have also tried using the GitHub example authorization_code_pkce. However, no matter what I do I get a bad request: 400 when requesting the access token. 

 

I cannot see from any of the documentation where the formation error is coming from in the api/token POST request. Can any offer any guidance?

 

Is the previously provided documentation and guides out of date considering the recent API changes?

 

Thanks

Reply
0 Replies

Suggested posts

Type a product name