[GH-ISSUE #742] implementing authorization on pythonanywhere #450

Closed
opened 2026-02-27 23:22:41 +03:00 by kerem · 2 comments
Owner

Originally created by @marco060314 on GitHub (Nov 11, 2021).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/742

Hi, I'm currently trying to allow for authentication using the "token = util.prompt_for_user_token(username, scope, client_id, client_secret, redirect_uri)" on pythonanywhere, but it does not seem to work as it redirects onto the server's computer rather than the user's computer. Is there some other way to allow for authorization instead of this? thanks.

Originally created by @marco060314 on GitHub (Nov 11, 2021). Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/742 Hi, I'm currently trying to allow for authentication using the "token = util.prompt_for_user_token(username, scope, client_id, client_secret, redirect_uri)" on pythonanywhere, but it does not seem to work as it redirects onto the server's computer rather than the user's computer. Is there some other way to allow for authorization instead of this? thanks.
kerem 2026-02-27 23:22:41 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@Mardiff commented on GitHub (May 30, 2022):

Hey did you ever figure this out?

<!-- gh-comment-id:1140612222 --> @Mardiff commented on GitHub (May 30, 2022): Hey did you ever figure this out?
Author
Owner

@dieser-niko commented on GitHub (May 23, 2024):

Closing as it seems that there's no activity. Also I think this issue is somewhat outdated as there are now multiple ways for headless auth.
You can check out these examples:

<!-- gh-comment-id:2126314457 --> @dieser-niko commented on GitHub (May 23, 2024): Closing as it seems that there's no activity. Also I think this issue is somewhat outdated as there are now multiple ways for headless auth. You can check out these examples: - https://github.com/spotipy-dev/spotipy/blob/master/examples/app.py - https://github.com/spotipy-dev/spotipy/blob/master/examples/headless.py
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#450
No description provided.