Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oauth issue #181

Open
percit opened this issue Jul 29, 2024 · 2 comments
Open

Oauth issue #181

percit opened this issue Jul 29, 2024 · 2 comments

Comments

@percit
Copy link

percit commented Jul 29, 2024

Hi, I am trying to run this example: https://github.com/sns-sdks/python-youtube/blob/master/examples/clients/oauth_flow.py. I set my redirect uri as https://localhost/ and tried running it, I gave it all the accesses and in the end I got
This site can’t be reachedlocalhost refused to connect.
Try:

Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
How can this be fixed? I am running it on Ubuntu 22.04, tried on Chrome and Firefox, tried stopping firewall, and nothing works

@MerleLiuKun
Copy link
Member

locahost is for test, you need a online domain.

@percit
Copy link
Author

percit commented Aug 7, 2024

Can this be somehow be used? I easly used a localhost with a port in spotify api, but can't get this to work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@MerleLiuKun @percit and others