Help Wizard

Step 1

NEXT STEP

Topics with Label: CORS

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
  • rushilshah282
  • Visitor
  • 13794 Views
  • 101 replies
  • 17 likes
  • 13794 Views
  • 101 replies
  • 17 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...
  • MaxPralat
  • Newbie
  • 773 Views
  • 2 replies
  • 0 likes
  • authorization
    CORS
    Developer
  • 773 Views
  • 2 replies
  • 0 likes

Problem with React/authorization

Hi guys, im new to programming, but i really started to enjoy it.I want to make a web app that after pressing a button, creates playlist with last 10 songs you listened to.I ALMOST got it working, however I found one big obstacle.const create_playlis...

  • Newbie
  • ...wait fetch(`https://api.spotify.com/v1/users/${user}/playlists`, reqOptions) Provides me with CORS errors that  I cannot resolve   Access to XMLHttpRequest at 'https://api.spotify.com...
  • Ximzend
  • Roadie
  • 208 Views
  • 1 replies
  • 0 likes
  • CORS
    Question
    Request
  • 208 Views
  • 1 replies
  • 0 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....
  • ryzeus
  • Casual Listener
  • 7211 Views
  • 18 replies
  • 11 likes
  • api
    CORS
    developers
    tokens
  • 7211 Views
  • 18 replies
  • 11 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...

  • Visitor
  • ....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...
  • Zontir
  • Casual Listener
  • 9382 Views
  • 17 replies
  • 13 likes
  • API Bug
    API request
    CORS
    token
  • 9382 Views
  • 17 replies
  • 13 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...
  • 870 Views
  • 0 replies
  • 4 likes
  • API Bug
    authorization
    CORS
  • 870 Views
  • 0 replies
  • 4 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
  • 4815 Views
  • 4 replies
  • 1 likes
  • CORS
    oidc
    openid-configuration
  • 4815 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
  • 4988 Views
  • 3 replies
  • 0 likes
  • CORS
    token
  • 4988 Views
  • 3 replies
  • 0 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...
  • 1963 Views
  • 0 replies
  • 7 likes
  • api
    CORS
    javascript
  • 1963 Views
  • 0 replies
  • 7 likes