[GH-ISSUE #1038] Link for QR Code to Authorize #621

Closed
opened 2026-02-28 00:00:20 +03:00 by kerem · 3 comments
Owner

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.

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.
kerem 2026-02-28 00:00:20 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@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.

<!-- gh-comment-id:1796963981 --> @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.
Author
Owner

@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

<!-- gh-comment-id:1798616210 --> @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
Author
Owner

@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!

<!-- gh-comment-id:1822036079 --> @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!
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#621
No description provided.