Help Wizard

Step 1

NEXT STEP

Topics with Label: authorization

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
  • 13771 Views
  • 101 replies
  • 17 likes
  • 13771 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 C...
  • MaxPralat
  • Newbie
  • 773 Views
  • 2 replies
  • 0 likes
  • authorization
    CORS
    Developer
  • 773 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
  • 295 Views
  • 2 replies
  • 0 likes
  • api
    authorization
    Login
  • 295 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...

  • Regular
  • ...uilder = AuthorizationRequest.Builder( CLIENT_ID, AuthorizationResponse.Type.TOKEN, REDIRECT_URI ) builder.setScopes(arrayOf("streaming")) val request: Authorization...
  • Prague
  • Rising Star 4
  • 567 Views
  • 1 replies
  • 2 likes
  • Android
    authentication
    authorization
    SDK
  • 567 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...
  • 143 Views
  • 0 replies
  • 0 likes
  • authorization
  • 143 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
  • 279 Views
  • 1 replies
  • 0 likes
  • authorization
  • 279 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
  • Roadie
  • 639 Views
  • 1 replies
  • 0 likes
  • authorization
    Client credentials
    Scope
  • 639 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
  • Roadie
  • 415 Views
  • 1 replies
  • 0 likes
  • authorization
    SDK
  • 415 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
  • Roadie
  • 873 Views
  • 1 replies
  • 0 likes
  • authorization
    curl
    OAuth
    php
  • 873 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
  • 2144 Views
  • 2 replies
  • 1 likes
  • authorization
    refresh tokens
    spotify api
  • 2144 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...
  • 240 Views
  • 0 replies
  • 0 likes
  • authorization
  • 240 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
  • 3259 Views
  • 16 replies
  • 0 likes
  • authorization
    Permission
  • 3259 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...
  • 238 Views
  • 0 replies
  • 0 likes
  • api
    authorization
  • 238 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
  • 1394 Views
  • 1 replies
  • 0 likes
  • API Support
    authorization
  • 1394 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...
  • 870 Views
  • 0 replies
  • 4 likes
  • API Bug
    authorization
    CORS
  • 870 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...
  • 275 Views
  • 0 replies
  • 0 likes
  • authentication
    authorization
    automation
  • 275 Views
  • 0 replies
  • 0 likes

Solved!!Superuser Contribution Web API auth for access to one's own Spotify account

I am trying to create playlists in my own Spotify account using the Web API and the authorization workflows don't really make sense for my use case. Specifically, my use case is to write an app to migrate my Napster playlists (through their API) to S...

  • Visitor
  • I am trying to create playlists in my own Spotify account using the Web API and the authorization workflows don't really make sense for my use case.  Specifically, my use case is to write an a...
  • Icikle
  • Regular
  • 1642 Views
  • 2 replies
  • 0 likes
  • authentication
    authorization
  • 1642 Views
  • 2 replies
  • 0 likes

Authorization Code Flow Refresh Tokens

I am building an application which requires the refreshing of user Spotify stats (followers, playlists, etc) on a weekly basis. About two months after a user gives my web application access to their Spotify, I begin to get errors regarding the token ...

  • Casual Listener
  • I am building an application which requires the refreshing of user Spotify stats (followers, playlists, etc) on a weekly basis. About two months after a user gives my web application access to their ...
  • jhyde01
  • Casual Listener
  • 816 Views
  • 2 replies
  • 0 likes
  • authorization
    refresh tokens
    tokens
  • 816 Views
  • 2 replies
  • 0 likes

[Personal Project] What kind of authorization to use?

Hey, I have been working on a voice-command assistant (here's the github: https://github.com/JonasRSV/friday-voice-assistant) and I'd like to enable starting Spotify songs with it. When reading up on authentication flows for the web-api it seems as a...

  • Casual Listener
  • ...hen reading up on authentication flows for the web-api it seems as all options require me to redirect a user to some webpage to login, also the authorization flows seem to assume that my app has some k...
  • PMental
  • Regular
  • 745 Views
  • 1 replies
  • 0 likes
  • authorization
    personal project
    player
  • 745 Views
  • 1 replies
  • 0 likes

Solved!! Unable to use PKCE authorization: code_verifier was incorrect

I'm trying to implement the PKCE authorization flow and as far as I can tell, I've done so correctly, but Spotify always says the code_verifier is incorrect. This is my code to create the login URL: this.verifyCode = getRandomString(64) const codeCha...

  • Casual Listener
  • I'm trying to implement the PKCE authorization flow and as far as I can tell, I've done so correctly, but Spotify always says the code_verifier is incorrect.   This is my code to create the l...
  • Peter_Schorn
  • Roadie
  • 7028 Views
  • 3 replies
  • 0 likes
  • authorization
  • 7028 Views
  • 3 replies
  • 0 likes

Superuser Contribution Spotify api works w/ my wix site in preview but not when published

My Question or IssueI'm making fetch post requests from the backend of my wix site to the spotify api. it works perfectly in the editor/preview and the api returns an access token, but when I publish the site and try and use it on the live site I get...

  • Visitor
  • ...publish the site and try and use it on the live site I get an invalid_grant invalid authorization key error instead. Why might this be? I already verified my permissions are set to allow anyone to c...
  • _milena
  • Roadie
  • 712 Views
  • 1 replies
  • 0 likes
  • api
    authorization
    invalid_grant
  • 712 Views
  • 1 replies
  • 0 likes