[GH-ISSUE #888] Authorize with token received in browser. #543

Closed
opened 2026-02-27 23:23:14 +03:00 by kerem · 1 comment
Owner

Originally created by @jkulak on GitHub (Nov 15, 2022).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/888

Is it possible to authorise user in the browser (and store accessToken and tokenType there) and just pass those arguments with POST to spotipy in the backend application to do user requests (like creating a playlist)?

I don't see a proper auth_manager to handle that issue.

spotipy.Spotify() <--- API code <--(token)-- Browser

Originally created by @jkulak on GitHub (Nov 15, 2022). Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/888 Is it possible to authorise user in the browser (and store `accessToken` and `tokenType` there) and just pass those arguments with POST to spotipy in the backend application to do user requests (like creating a playlist)? I don't see a proper `auth_manager` to handle that issue. `spotipy.Spotify()` <--- API code <--(token)-- Browser
kerem 2026-02-27 23:23:14 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@jkulak commented on GitHub (Nov 15, 2022):

sp = spotipy.Spotify(auth=accessToken)

<!-- gh-comment-id:1315946711 --> @jkulak commented on GitHub (Nov 15, 2022): `sp = spotipy.Spotify(auth=accessToken)`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotipy#543
No description provided.