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: CORS

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
  • 13877 Views
  • 0 replies
  • 51 likes
  • Discussion
  • 13877 Views
  • 0 replies
  • 51 likes

Authorization Endpoint return CORS error

PlanPremiumCountryUSADevice(iPhone 8, Samsung Galaxy 9, Macbook Pro late 2016)Operating SystemMacOS 10 My Question or Issue Hi Spotify team, I am trying to call the User Authorization endpoint as specified here: https://developer.spotify.com/document...

Screen Shot 2022-03-12 at 8.48.44 PM.JPG
  • Casual Listener
  • ...ser Authorization endpoint as specified here: https://developer.spotify.com/documentation/general/guides/authorization/code-flow/   But all I get in response is a status code of 303 and a CORS...
  • pwhauman
  • Casual Listener
  • 207 Views
  • 1 replies
  • 0 likes
  • authorization
    CORS
    Developer
  • 207 Views
  • 1 replies
  • 0 likes

CORS error with authorization endpoint

Hi! I posted a question under this topic already but it seems it's disappeared. I'm trying to build an app that connects to the spotify API and extracts some data. In order to do this I need to use the authorization endpoint to get an authorization c...

  • Casual Listener
  • ...his I need to use the authorization endpoint to get an authorization code which will in turn allow me to get an access token. However, the authorization endpoint is currently giving me the following CORS...
  • 293 Views
  • 0 replies
  • 2 likes
  • API Bug
    authorization
    CORS
  • 293 Views
  • 0 replies
  • 2 likes

Solved!!Superuser Contribution CORS openid-configuration

I am trying to use OIDC for auth.When my Blazor WASM client-app (which runs in the browser) attempts to hit https://accounts.spotify.com/.well-known/openid-configuration the response fails because of CORS. The error is:Access to XMLHttpRequest at 'ht...

  • Casual Listener
  • ...ecause of CORS. The error is: Access to XMLHttpRequest at 'https://accounts.spotify.com/.well-known/openid-configuration' from origin 'https://localhost:5001' has been blocked by CORS policy: No 'A...
  • ohej
  • Spotify
  • 1392 Views
  • 4 replies
  • 1 likes
  • CORS
    oidc
    openid-configuration
  • 1392 Views
  • 4 replies
  • 1 likes

Solved!!Superuser Contribution /token endpoint - CORS Error

My Question or IssueWhen sending an request to: https://accounts.spotify.com/token Access to fetch at 'https://accounts.spotify.com/token' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is...

  • Regular
  • ...ttp://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'n...
  • spotifyjosh
  • Spotify
  • 1611 Views
  • 3 replies
  • 0 likes
  • CORS
    Possible Bug
    token
  • 1611 Views
  • 3 replies
  • 0 likes

Superuser Contribution Token API CORS error

Hi. I am building a web application consuming Spotify API.The feature is simply searching for a song which had worked fine until yesterday. However, all of a sudden I was not able to get a access token from the API server any more - which lead the se...

  • Not applicable
  • ....com/api/token' from origin 'https://(my site name)' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is p...
  • jasuke75
  • Newbie
  • 3635 Views
  • 15 replies
  • 13 likes
  • API Bug
    API request
    CORS
    token
  • 3635 Views
  • 15 replies
  • 13 likes

Refresh Token API returning CORS errors

Hello,I am a developer consuming the Web API and suddenly today all my requests to Refresh Access Tokens are not working on the browser. Postman works fine, but the browser is throwing CORS errors. No change to code on my end, and if I get an access ...

  • Music Fan
  • Hello, I am a developer consuming the Web API and suddenly today all my requests to Refresh Access Tokens are not working on the browser. Postman works fine, but the browser is throwing CORS errors....
  • etsai20
  • Casual Listener
  • 3226 Views
  • 14 replies
  • 11 likes
  • api
    CORS
    developers
    tokens
  • 3226 Views
  • 14 replies
  • 11 likes

Cross-Origin Request Blocked: CORS request did not succeed

Hi, I'm currently having an issue where any Spotify API requests I send from client-side JavaScript are resulting in CORS errors. For example, a request to get a user's saved tracks would result in the following error: Cross-Origin Request Blocked: T...

  • Newbie
  • Hi, I'm currently having an issue where any Spotify API requests I send from client-side JavaScript are resulting in CORS errors. For example, a request to get a user's saved tracks would result in t...
  • 1129 Views
  • 0 replies
  • 2 likes
  • api
    CORS
    Error
    javascript
  • 1129 Views
  • 0 replies
  • 2 likes