mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[GH-ISSUE #1038] Link for QR Code to Authorize #621
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#621
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jaredcoh on GitHub (Nov 6, 2023).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/1038
Hello!
I am looking to create a computer program that connects Genius API and Spotify for a user to visualize lyrics.
I would like to have a QR Code that would take them to the Spotify Log In / Authorize page so they can see their information, including current song title, artist, and Lyrics through Genius.
I have the authorization working on my account using the Spotipy code, but I would like it to be universal, where someone can just scan the QR code on the main screen and it will just connect to their account via Authorization.
I was wondering if there was a way to get a link that, if made into a QR code and scanned, would take them to the App-Authorization page and immediately connect to my application.
@CDeLeon94 commented on GitHub (Nov 6, 2023):
You'd need to use OAuth, and deploy your code to a public facing server, have the QR direct to your application's webpage, which can automatically redirect for authorization (I'd probably recommend a splash screen before going to auth), and then the oauth page can redirect back to your application.
@dieser-niko commented on GitHub (Nov 7, 2023):
You might want to take a look at this example, which uses Flask: https://github.com/spotipy-dev/spotipy/blob/master/examples/app.py
@jaredcoh commented on GitHub (Nov 22, 2023):
Thank you for everyones help. I will look into flask and hopefully i will help resolve my problem!