Topics with Label: authorization

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
  • 13662 Views
  • 0 replies
  • 51 likes
  • Discussion
  • 13662 Views
  • 0 replies
  • 51 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...
  • 82 Views
  • 0 replies
  • 0 likes
  • api
    authorization
    users
  • 82 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...

  • Regular
  • ...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...
  • bluecun
  • Regular
  • 188 Views
  • 1 replies
  • 0 likes
  • API Support
    authorization
  • 188 Views
  • 1 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...
  • pwhauman
  • Casual Listener
  • 205 Views
  • 1 replies
  • 0 likes
  • authorization
    CORS
    Developer
  • 205 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...
  • 290 Views
  • 0 replies
  • 2 likes
  • API Bug
    authorization
    CORS
  • 290 Views
  • 0 replies
  • 2 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...
  • 116 Views
  • 0 replies
  • 0 likes
  • authentication
    authorization
    automation
  • 116 Views
  • 0 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...
  • bstrauch24
  • Casual Listener
  • 864 Views
  • 1 replies
  • 1 likes
  • authorization
    refresh tokens
    spotify api
  • 864 Views
  • 1 replies
  • 1 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
  • 451 Views
  • 2 replies
  • 0 likes
  • authorization
    refresh tokens
    tokens
  • 451 Views
  • 2 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
  • 906 Views
  • 2 replies
  • 0 likes
  • authentication
    authorization
  • 906 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
  • 388 Views
  • 1 replies
  • 0 likes
  • authorization
    personal project
    player
  • 388 Views
  • 1 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
  • 486 Views
  • 1 replies
  • 0 likes
  • api
    authorization
    invalid_grant
  • 486 Views
  • 1 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...
  • Arcnon
  • Casual Listener
  • 1705 Views
  • 15 replies
  • 0 likes
  • authorization
    Permission
  • 1705 Views
  • 15 replies
  • 0 likes

How to not use local host for auth-server

Main Question.I currently have my spotify api website for getting top artists so you get onto the main page (https://matthewcurtis4.github.io/myapp/) but when you click login it redirects you to my auth-server which works perfectly on my computer but...

  • Casual Listener
  • Main Question. I currently have my spotify api website for getting top artists so you get onto the main page (https://matthewcurtis4.github.io/myapp/) but when you click login it redirects you ...
  • 530 Views
  • 0 replies
  • 0 likes
  • authorization
    local host
    spotify api
  • 530 Views
  • 0 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
  • 3221 Views
  • 3 replies
  • 0 likes
  • authorization
  • 3221 Views
  • 3 replies
  • 0 likes

Web API Authorization Code Flow Error

I'm implementing a simple application to generate some playlist for a user based on some provided data. However, I can't seem to get authorized, even though I've followed to procedures as far as I can tell.This is the request URL I'm generating:"http...

  • Casual Listener
  • I'm implementing a simple application to generate some playlist for a user based on some provided data. However, I can't seem to get authorized, even though I've followed to procedures as far as I ca...
  • killani64
  • Casual Listener
  • 1357 Views
  • 1 replies
  • 1 likes
  • authorization
    Web API
  • 1357 Views
  • 1 replies
  • 1 likes