[GH-ISSUE #267] How can I get the authorization? I'm a beginner #145

Closed
opened 2026-02-27 23:21:04 +03:00 by kerem · 5 comments
Owner

Originally created by @JessicaMartini212887 on GitHub (Mar 22, 2018).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/267

Hi, I'm Jessica and I'm using Spotipy for my graduation. I have a question. After downloading spotipy and requests-master, I have created my Spotify App on Developer. I have ma Client ID and my secret key. Now how can I get the authorization?

Originally created by @JessicaMartini212887 on GitHub (Mar 22, 2018). Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/267 Hi, I'm Jessica and I'm using Spotipy for my graduation. I have a question. After downloading spotipy and requests-master, I have created my Spotify App on Developer. I have ma Client ID and my secret key. Now how can I get the authorization?
kerem closed this issue 2026-02-27 23:21:04 +03:00
Author
Owner

@ritiek commented on GitHub (Mar 22, 2018):

Check out #194.

<!-- gh-comment-id:375375566 --> @ritiek commented on GitHub (Mar 22, 2018): Check out #194.
Author
Owner

@JessicaMartini212887 commented on GitHub (Mar 22, 2018):

Ok I think that I've done it! I'm using Python on Anaconda Tool, version 2.7. The console has returned me this output:

User authentication requires interaction with your
web browser. Once you enter your credentials and
give authorization, you will be redirected to
a url. Paste that url you were directed to to
complete the authorization.
Enter the URL you were redirected to:

I've matched my app with my account and then the console return a white line...

Now Can I have access to Spotify user data???

<!-- gh-comment-id:375439362 --> @JessicaMartini212887 commented on GitHub (Mar 22, 2018): Ok I think that I've done it! I'm using Python on Anaconda Tool, version 2.7. The console has returned me this output: > User authentication requires interaction with your web browser. Once you enter your credentials and give authorization, you will be redirected to a url. Paste that url you were directed to to complete the authorization. Enter the URL you were redirected to: I've matched my app with my account and then the console return a white line... Now Can I have access to Spotify user data???
Author
Owner

@smoreface commented on GitHub (Apr 24, 2018):

@JessicaMartini212887 you might be running into this issue: https://stackoverflow.com/questions/32956443/invalid-redirect-uri-on-spotify-auth

you have to specify a redirect URL (it can just be http://localhost/) but you also have to whitelist it with your app. good luck!

<!-- gh-comment-id:383794543 --> @smoreface commented on GitHub (Apr 24, 2018): @JessicaMartini212887 you might be running into this issue: https://stackoverflow.com/questions/32956443/invalid-redirect-uri-on-spotify-auth you have to specify a redirect URL (it can just be http://localhost/) but you also have to whitelist it with your app. good luck!
Author
Owner

@Plopkonijn commented on GitHub (Jun 9, 2018):

@smoreface
image
the localhost thing is not working...
URL just to show you its not right
https://accounts.spotify.com/authorize?client_id=3bc077932594438db9329051e4a86392&response_type=code&redirect_uri=+http%3A%2F%2Flocalhost%2F&scope=playlist-modify-private

<!-- gh-comment-id:395960037 --> @Plopkonijn commented on GitHub (Jun 9, 2018): @smoreface ![image](https://user-images.githubusercontent.com/2047097/41190724-64bdd03c-6be4-11e8-98c0-6c283cc844f7.png) the localhost thing is not working... URL just to show you its not right https://accounts.spotify.com/authorize?client_id=3bc077932594438db9329051e4a86392&response_type=code&redirect_uri=+http%3A%2F%2Flocalhost%2F&scope=playlist-modify-private
Author
Owner

@stephanebruckert commented on GitHub (Jan 13, 2020):

@smoreface seems correct

@Plopkonijn see https://github.com/plamere/spotipy/issues/298

<!-- gh-comment-id:573915038 --> @stephanebruckert commented on GitHub (Jan 13, 2020): @smoreface seems correct @Plopkonijn see https://github.com/plamere/spotipy/issues/298
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#145
No description provided.