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: authentication

Labels

Forum Posts

/playlists API Endpoint Issue Fixed

We wanted to provide an update regarding issues identified in the “/playlists” API endpoints. We have investigated the reported concerns of null results appearing in responses and have fixed the behaviour in the “/me/playlists” and “/users/{user_id}/...

  • Spotify
  • Spotify
  • AdrienCompDev
  • Casual Listener
  • 2168 Views
  • 9 replies
  • 1 likes
  • Possible Bug
  • 2168 Views
  • 9 replies
  • 1 likes

Oauth sign in to web api without web browser / graphical interface

I'm working on the alarm clock with Spotify playlists and albums. I wrote a client (https://github.com/ciembor/spotify-cmd) based on a Spotify Web API and it works well, but when I Connect using oauth it opens browser and then uses my callback. The p...

  • Regular
  • I'm working on the alarm clock with Spotify playlists and albums. I wrote a client (https://github.com/ciembor/spotify-cmd) based on a Spotify Web API and it works well, but when I Connect using oaut...
  • IgorM1
  • Newbie
  • 1241 Views
  • 2 replies
  • 0 likes
  • api
    authentication
    Authentication Token
    Console
    Linux
    OAuth
    oAuth2
    Spotify Web API
    Terminal
    Web API
  • 1241 Views
  • 2 replies
  • 0 likes

Superuser Contribution Auth not working for web api on certain iPhones

I'm using the Spotify Web API to create a music player within a web app. I've got everything working fine on all devices, except for newer iPhones. On the iPhone 10, iPhone 14 and iPhone 15, on all browsers, authentication isn't working. After loggin...

  • Newbie
  • ...5, on all browsers, authentication isn't working. After logging into Spotify and granting permissions, the user is redirected back to the web app. However, they are not authenticated. The app behaves a...
  • LambertSpot
  • Spotify
  • 372 Views
  • 2 replies
  • 0 likes
  • authentication
  • 372 Views
  • 2 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
  • ...ccounts with direct credentials, but when using Google as an authentication provider, the process results in an HTTP 403 Forbidden error. Here's a brief outline of the problem: Environment: Node.js s...
  • 272 Views
  • 0 replies
  • 0 likes
  • 403 Forbidden Response
    authentication
    authorization
    Google-Linked Accounts
  • 272 Views
  • 0 replies
  • 0 likes

Spotify API (My user data)

Hello, I'm developing a personal website/developer profile and I'd like to display some user data from my own profile. Specifically, I'd like to display my all-time most listened to tracks and artists. Is there a way to display this information on my...

  • Casual Listener
  • Hello,   I'm developing a personal website/developer profile and I'd like to display some user data from my own profile. Specifically, I'd like to display my all-time most listened to tracks a...
  • CrossDeveloper
  • Casual Listener
  • 2725 Views
  • 9 replies
  • 1 likes
  • authentication
    Authentication Token
    Login
    spotify api
    User data
    user profile
  • 2725 Views
  • 9 replies
  • 1 likes

The callback url makes the url with hash instead of querystring

Hi, following this docs:https://developer.spotify.com/documentation/general/guides/authorization-guide/ The flow works well, but is returning back with a hash:http://localhost:5000/callback#access_token=BQDt7fHXta65b... Instead of a queryString:http:...

  • Casual Listener
  • Hi, following this docs: https://developer.spotify.com/documentation/general/guides/authorization-guide/   The flow works well, but is returning back with a hash: http://localhost:5000/callb...
  • Peter_Schorn
  • Roadie
  • 2693 Views
  • 3 replies
  • 0 likes
  • authentication
    callback
  • 2693 Views
  • 3 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
  • ...pp (for authentication going with the first option, using the Spotify client as opposed to the browser).    My code is pretty much lifted exactly from the tutorials except for some changes I h...
  • Prague
  • Community Legend
  • 1352 Views
  • 1 replies
  • 2 likes
  • Android
    authentication
    authorization
    SDK
  • 1352 Views
  • 1 replies
  • 2 likes

Does Client Credential flow allow add a track to queue?

PremiumSpain DeviceMacbook Pro 13" early 2015Operating SystemmacOS Monterey 12.6 My Question or IssueTrying to add songs to a queue from Web API to the same Spotify account that i own, but the response is: { "error" : { "status" : 403, "message" : "P...

  • Casual Listener
  • Premium Spain   Device Macbook Pro 13" early 2015 Operating System macOS Monterey 12.6   My Question or Issue Trying to add songs to a queue from Web API to the same Spotify ac...
  • Ximzend
  • Spotify Star
  • 515 Views
  • 3 replies
  • 0 likes
  • authentication
  • 515 Views
  • 3 replies
  • 0 likes

Authentication Error when trying to create new playlist on my own account

PlanPremiumCountry: USA Device(Macbook Pro 1st Gen M1)Operating System(MacOS Ventura 13.0.1) My Question or Issue I am trying to write a python script that just scrapes other users' playlists and adds songs in them to my own playlist. When running th...

  • Newbie
  • ...ith Params: {} returned 403 due to This request requires user authentication. Traceback (most recent call last): File "/Users/grayson/master/lib/python3.9/site-packages/spotipy/client.py", line 2...
  • Ximzend
  • Spotify Star
  • 1246 Views
  • 1 replies
  • 0 likes
  • authentication
    AuthenticationClient
  • 1246 Views
  • 1 replies
  • 0 likes

Getting users to generate a Client ID for desktop app (and other acceptable usage questions)

I'm looking at creating a mod for a game which will allow users to control their local desktop Spotify app (as in the official one by spotify) using controls inside the game (note that I will not be streaming the audio into the game itself). In order...

  • Newbie
  • ...erform the authentication.   I have a few issues that I wanted to clarify because I don't want to break ToS if I can avoid it so any clarification would be appreciated:   1) Since this w...
  • Kalocaine
  • Casual Listener
  • 2445 Views
  • 4 replies
  • 2 likes
  • authentication
    Terms of Service
  • 2445 Views
  • 4 replies
  • 2 likes

403 response on all endpoints

Hello! So I created this app a few years back and have returned to take a look at it and I see that you have implemented this new user onboarding stuff in order to access the app. I am testing on localhost and have added myself on my developer dashbo...

  • Casual Listener
  • Hello!   So I created this app a few years back and have returned to take a look at it and I see that you have implemented this new user onboarding stuff in order to access the app.  &nb...
  • Kangkodos
  • Casual Listener
  • 350 Views
  • 1 replies
  • 0 likes
  • 403
    authentication
    Problem Fix
  • 350 Views
  • 1 replies
  • 0 likes

Superuser Contribution Does Client Credential flow allow access to user tracks & playlists?

PremiumUnited StatesPython 3.8MacOS My Question or Issue: Trying to pull my current tracks and playlists via Web API. Running locally using Python 3.8 requests but this will eventually become an AWS Lambda function. Tried to use the Authorization Cod...

  • Casual Listener
  • Premium United States Python 3.8 MacOS   My Question or Issue:   Trying to pull my current tracks and playlists via Web API. Running locally using Python 3.8 requests but this will e...
  • thegriffff
  • Casual Listener
  • 2219 Views
  • 4 replies
  • 0 likes
  • authentication
  • 2219 Views
  • 4 replies
  • 0 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
  • ...nitiation of this task will be cron job based, so I'm requiring no user interaction. However, it looks like all the authentication routes I can take that will authorize playlist creation on an account w...
  • 341 Views
  • 0 replies
  • 0 likes
  • authentication
    authorization
    automation
  • 341 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 app...
  • Icikle
  • Regular
  • 1964 Views
  • 2 replies
  • 0 likes
  • authentication
    authorization
  • 1964 Views
  • 2 replies
  • 0 likes

Authentication iOS

I am developing an iOS / Android application that allows access to remote control of Spotify player with authentication via native SDK.At the first application start call the authorizeAndPlayURI of the SPTAppRemote, the apps switch correctly, and the...

  • Newbie
  • I am developing an iOS / Android application that allows access to remote control of Spotify player with authentication via native SDK. At the first application start call the authorizeAndPlayURI o...
  • 693 Views
  • 0 replies
  • 0 likes
  • authentication
    iOS
  • 693 Views
  • 0 replies
  • 0 likes

How to link Spotify accounts to Alexa Skills

Hi there,Not trying to advertise but if anyone is interested in developing Alexa skills app and is interested in linking to the Spotify API, I made a blog post discussing this to which I have left a link below. https://medium.com/@edwardmuldrew/how-t...

  • Regular
  • Hi there, Not trying to advertise but if anyone is interested in developing Alexa skills app and is interested in linking to the Spotify API, I made a blog post discussing this to which I have left ...
  • 643 Views
  • 0 replies
  • 3 likes
  • account linking
    Alexa
    authentication
    development
    Discussion
  • 643 Views
  • 0 replies
  • 3 likes

Android Authentication library Token vs Code

Hello,I would like to create an android app which can call spotify webservices.So I am using the auth-lib to request an authentication token but I don't understand the difference betweend AuthenticationResponse.Type.Code and AuthenticationResponse.Ty...

  • Visitor
  • Hello, I would like to create an android app which can call spotify webservices. So I am using the auth-lib to request an authentication token but I don't understand the difference b...
  • 2280 Views
  • 0 replies
  • 1 likes
  • Android
    authentication
  • 2280 Views
  • 0 replies
  • 1 likes