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

Topics with Label: authorization

Labels

Forum Posts

Changes to Web API

Folks, some news on changes to the web API has been posted on the Spotify For Developers blog. We want to reiterate the main message from the blog that we're committed to providing a safe and secure environment for all Spotify stakeholders. As such w...

  • Spotify
  • Spotify
  • Oblivasty
  • Regular
  • 42552 Views
  • 333 replies
  • 36 likes
  • Discussion
  • 42552 Views
  • 333 replies
  • 36 likes

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
  • bartubrt
  • Casual Listener
  • 40891 Views
  • 190 replies
  • 21 likes
  • 40891 Views
  • 190 replies
  • 21 likes

Superuser Contribution The Spotify authorization screen only opens in the browser and not in the app.

I'm using the Spotify Web API and have configured the Authorization Code Flow correctly according to the documentation. However, when the user clicks the link in my app, the authorization screen opens in the browser instead of launching the Spotify a...

  • Visitor
  • I'm using the Spotify Web API and have configured the Authorization Code Flow correctly according to the documentation. However, when the user clicks the link in my app, the authorization screen o...
  • LambertSpot
  • Spotify
  • 365 Views
  • 2 replies
  • 0 likes
  • App
    authorization
    authorization code flow
    Deeplink
  • 365 Views
  • 2 replies
  • 0 likes

I want to deauthorize SongShift, how do I do it?

I downloaded SongShift to try it out. I don't think I'm going to use it. I did gave it permission to access my music. Now I want to revoke its permissions to access my Spotify account. How do I do this? I'm using macOS Sonoma 14.6.

  • Casual Listener
  • I downloaded SongShift to try it out. I don't think I'm going to use it. I did gave it permission to access my music. Now I want to revoke its permissions to access my Spotify account. How do I do th...
  • cfelipe
  • Casual Listener
  • 170 Views
  • 1 replies
  • 0 likes
  • api
    authorization
    deauthorize
    Permission
  • 170 Views
  • 1 replies
  • 0 likes

401's on some, not all, search API calls

I have an app that maintains a ranking of my most played songs over certain periods. I get this ranked list from last.fm, which does not have direct links to the spotify URIs, so I make calls to the /search endpoint for each song in order to get a UR...

  • Newbie
  • ...espite them all using the same authorization token, a few of those requests will return with a 401, even on app start when the access token was just generated. Is anyone else experiencing this? I'm g...
  • ReubenF
  • Regular
  • 388 Views
  • 1 replies
  • 5 likes
  • api
    authorization
    Search
  • 388 Views
  • 1 replies
  • 5 likes

Superuser Contribution Understanding Long Term Authorization

PlanFree/PremiumCountry Device(iPhone 8, Samsung Galaxy 9, Macbook Pro late 2016)Operating System(iOS 10, Android Oreo, Windows 10,etc.) My Question or IssueHi, I'm developing a front end React Application where the only things I want from the API ar...

  • Casual Listener
  • Plan Free/Premium Country   Device (iPhone 8, Samsung Galaxy 9, Macbook Pro late 2016) Operating System (iOS 10, Android Oreo, Windows 10,etc.)   My Question or Issue Hi, I'm...
  • smacklol
  • Regular
  • 897 Views
  • 4 replies
  • 0 likes
  • authorization
    Web API
  • 897 Views
  • 4 replies
  • 0 likes

Trouble Accessing Spotify API with Google-Linked Account

I am encountering a consistent issue when attempting to access the Spotify API using accounts that have been created through or linked with Google. The login flow works perfectly for Spotify accounts with direct credentials, but when using Google as ...

  • Visitor
  • ...erver application using the spotify-web-api-node library. Flow Used: Authorization Code Flow, as recommended for server-side applications. Issue: The API call to spotifyApi.getMe() throws an error after s...
  • 237 Views
  • 0 replies
  • 0 likes
  • 403 Forbidden Response
    authentication
    authorization
    Google-Linked Accounts
  • 237 Views
  • 0 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...

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 C...
  • MaxPralat
  • Newbie
  • 1116 Views
  • 2 replies
  • 0 likes
  • authorization
    CORS
    Developer
  • 1116 Views
  • 2 replies
  • 0 likes

Solved!! web app only works with my account

hello,recently, i have finished writing the major code for an app that uses spotify API. however, there is an issue i must solve before publishing the website. when logged into accounts that arent mine, i get 403 errors when i make a get request to r...

  • Regular
  • ...rent mine, i get 403 errors when i make a get request to retrieve information. i think that the issue is in my access token method or authorization process, but even after reading the documentation, i c...
  • spotdev
  • Regular
  • 473 Views
  • 2 replies
  • 0 likes
  • api
    authorization
    Login
  • 473 Views
  • 2 replies
  • 0 likes

Android SDK Auth window not popping up

Android Studio 2022.2.1 Patch 2United StatesPixel 4 API 33 Emulator Kotlin I've been working off of this and this to try to get Spotify playback SDK on my Android app (for authentication going with the first option, using the Spotify client as oppose...

  • Music Fan
  • ...uilder = AuthorizationRequest.Builder( CLIENT_ID, AuthorizationResponse.Type.TOKEN, REDIRECT_URI ) builder.setScopes(arrayOf("streaming")) val request: Authorization...
  • Prague
  • Community Legend
  • 1244 Views
  • 1 replies
  • 2 likes
  • Android
    authentication
    authorization
    SDK
  • 1244 Views
  • 1 replies
  • 2 likes

Implicit grant and get user's queue

PlanFree/PremiumCountry Device(iPhone 8, Samsung Galaxy 9, Macbook Pro late 2016)Operating System(iOS 10, Android Oreo, Windows 10,etc.) My Question or IssueI want to create an app that retrieves the user's queue and allows to pushes tracks into this...

  • Newbie
  • ...ant to create an app that retrieves the user's queue and allows to pushes tracks into this user's queue. Can I do it with the implicit grant flow or do I absolutely have to do it with the authorization c...
  • 211 Views
  • 0 replies
  • 0 likes
  • authorization
  • 211 Views
  • 0 replies
  • 0 likes

Authorization in React(NodeJS)

Is it possible to generate Access Token using a Client ID and Client Secret in NodeJS?

  • Visitor
  • Is it possible to generate Access Token using a Client ID and Client Secret in NodeJS? 
  • Peter_Schorn
  • Roadie
  • 353 Views
  • 1 replies
  • 0 likes
  • authorization
  • 353 Views
  • 1 replies
  • 0 likes

Adding scope to Client credentials calls

HiI'm sending request with Client credentials according to instructions. I get my Bearer token and this works with some endpoints. When I'm trying to send requests to some Spotify API endpoints I'm getting 403 e.g. post for creating a playlist, or ev...

  • Newbie
  • ...s generating properly. I assume that it has some low access rights and where is my question is there a way to add scope for the token like in Authorization code + PKCE extension method? I d...
  • Ximzend
  • Spotify Star
  • 1277 Views
  • 1 replies
  • 0 likes
  • authorization
    Client credentials
    Scope
  • 1277 Views
  • 1 replies
  • 0 likes

Auth flow stopped working

PlanPremiumCountryNetherlandsDevicen/aOperating SystemLinuxMy Question or IssueSince this week our application stopped working. We're using the spotify SDK and use a client id created in the account I'm also posting with on this forum.When a user in ...

  • Newbie
  • Plan Premium Country Netherlands Device n/a Operating System Linux My Question or Issue Since this week our application stopped working. We're using the spotify SDK and use a client id cre...
  • Ximzend
  • Spotify Star
  • 523 Views
  • 1 replies
  • 0 likes
  • authorization
    SDK
  • 523 Views
  • 1 replies
  • 0 likes

Solved!! Central OAuth2.0 Authorization on the Backend-Side using PHP and curl

I am creating an application which aims at automatically creating Spotify Playlists in a central Spotify account (not the account of the end users). On the backend side I am using PHP to authorize this central user, and it is working as long as I am ...

  • Newbie
  • ...potify Web API without the need to authorize their account nor being logged in at all.   Is it somehow possible to perform this authorization process only on the backend side without the need f...
  • Ximzend
  • Spotify Star
  • 1782 Views
  • 1 replies
  • 0 likes
  • authorization
    curl
    OAuth
    php
  • 1782 Views
  • 1 replies
  • 0 likes

Solved!! Spotify API PKCE Refresh Token Process

Hello, I've created authorization code flow with PKCE in JavaScript for my personal website to access top tracks and artists from the user and display them on the page. My issue right now is that I'm new to API's and I'm not sure how to use the refre...

  • Casual Listener
  • Hello,   I've created authorization code flow with PKCE in JavaScript for my personal website to access top tracks and artists from the user and display them on the page. My issue right now i...
  • AmitVaidya
  • Newbie
  • 2697 Views
  • 2 replies
  • 1 likes
  • authorization
    refresh tokens
    spotify api
  • 2697 Views
  • 2 replies
  • 1 likes

Authorization Process

PlanPremiumCountryUSA DeviceiPhone 11 Pro MaxOperating SystemiOS 15.5 My Question or Issue HelloI am seeking to find help on having a one-time "Authorization" process between our app and spotify. Please see the attached for your reference. In the "Sp...

  • Newbie
  • Plan Premium Country USA   Device iPhone 11 Pro Max Operating System iOS 15.5   My Question or Issue   Hello I am seeking to find help on having a one-time "Authorization...
  • 505 Views
  • 0 replies
  • 0 likes
  • authorization
  • 505 Views
  • 0 replies
  • 0 likes

Obtaining authorization from Spotify to stream their content in my app

I have developed an app that utilizes the Spotify iOS SDK. Unfortunately, when I submitted my app to the Apple App Store, it was rejected. Apple provided the following information: “To resolve this issue, please attach documentary evidence in the App...

  • Music Fan
  • ...ideo streaming, catalogs, and discovery services in your app. The documentation from Spotify should include specific rights (authorization) to stream their content in your app. Please note that p...
  • RndTBit
  • Regular
  • 4083 Views
  • 16 replies
  • 0 likes
  • authorization
    Permission
  • 4083 Views
  • 16 replies
  • 0 likes

Removing User Access to Application

I am developing a programing integrating the Spotify web API in a school project. After reading the guidelines provided by Spotify it has become evident that there needs to be an easy way for the user to opt out of using the application, removing our...

  • Newbie
  • I am developing a programing integrating the Spotify web API in a school project. After reading the guidelines provided by Spotify it has become evident that there needs to be an easy way for the use...
  • 370 Views
  • 0 replies
  • 0 likes
  • api
    authorization
  • 370 Views
  • 0 replies
  • 0 likes

Auth API Invalid Client: Invalid Redirect URI

I access Spotify API on my local machine without any problem. I supply to spotify auth request my local address as redirect_uri parameter(http://localhost:8080) and I also added this URI in the Spotify Developer Console to the whitelist. But when I d...

  • Visitor
  • ...potify Developer Console too and sending this url to Spotify authorization request as redirect_uri parameter. But this time spotify returns 'Invalid Client: Invalid Redirect URI' error. Is there s...
  • user-removed
  • Not applicable
  • 2548 Views
  • 1 replies
  • 0 likes
  • API Support
    authorization
  • 2548 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 C...
  • 1125 Views
  • 0 replies
  • 4 likes
  • API Bug
    authorization
    CORS
  • 1125 Views
  • 0 replies
  • 4 likes

Authentication for Server Account

Howdy! So I'm in the middle of a potential Spotify project and I've hit a snag I should have expected but didn't. I'm looking to have a bot create playlists on a Spotify account. The initiation of this task will be cron job based, so I'm requiring no...

  • Newbie
  • Howdy!   So I'm in the middle of a potential Spotify project and I've hit a snag I should have expected but didn't. I'm looking to have a bot create playlists on a Spotify account. The initiat...
  • 335 Views
  • 0 replies
  • 0 likes
  • authentication
    authorization
    automation
  • 335 Views
  • 0 replies
  • 0 likes