Announcements

Help Wizard

Step 1

NEXT STEP

Topics with Label: CORS

Labels

Forum Posts

Updating the Criteria for Web API Extended Access

Hey, I created this thread to get your feedback on our blog post around changes to the Web API extended access criteria, which will take place on May 15th. Please share any of your thoughts on this change in the comments below. All of your feedback w...

Spotify

stefanbathman

Casual Listener

45725 Views

153 replies

17 likes

Discussion
  • 45725 Views
  • 153 replies
  • 17 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 ...

Roadie

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....

SaeedDev94

Casual Listener

10678 Views

19 replies

11 likes

api
CORS
developers
tokens
  • 10678 Views
  • 19 replies
  • 11 likes

iFrame shows only Preview on Safari

PlanPremium CountryTurkey Device(M1 Macbook Air ) My Question or Issue Hi all,I am developing a web app using the Spotify IFrame API and have encountered a peculiar issue. When accessing the app using Chrome or Firefox, the embedded player works perf...

Regular

Plan Premium   Country Turkey   Device (M1 Macbook Air )   My Question or Issue   Hi all, I am developing a web app using the Spotify IFrame API and have encountered a...

berksngn1

Regular

809 Views

3 replies

0 likes

CORS
iframe
  • 809 Views
  • 3 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...

krantikc

Visitor

583 Views

2 replies

0 likes

CORS
Question
Request
  • 583 Views
  • 2 replies
  • 0 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...

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

1630 Views

2 replies

0 likes

authorization
CORS
Developer
  • 1630 Views
  • 2 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...

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

13406 Views

17 replies

13 likes

API Bug
API request
CORS
token
  • 13406 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...

1390 Views

0 replies

4 likes

API Bug
authorization
CORS
  • 1390 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

6346 Views

4 replies

1 likes

CORS
oidc
openid-configuration
  • 6346 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

6663 Views

3 replies

0 likes

CORS
token
  • 6663 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...

2599 Views

0 replies

8 likes

api
CORS
javascript
  • 2599 Views
  • 0 replies
  • 8 likes