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

Add bind_addr parameter to LocalWebserverAuth #279

Merged
merged 1 commit into from
May 19, 2023
Merged

Add bind_addr parameter to LocalWebserverAuth #279

merged 1 commit into from
May 19, 2023

Conversation

aripollak
Copy link
Contributor

@aripollak aripollak commented May 18, 2023

Currently, there doesn't seem to be a way to authenticate using the LocalWebserverAuth flow while running inside a local docker container because Docker's port forwarding doesn't help with localhost-only-bound ports. This PR adds a bind_addr parameter, intended for you to pass "0.0.0.0" to it, basically providing the same functionality as described in googleapis/google-auth-library-python-oauthlib#202.

Relatedly, the CommandlineAuth flow seems to now be completely blocked by Google, but I didn't touch that in this PR.

@aripollak aripollak temporarily deployed to external May 18, 2023 23:26 — with GitHub Actions Inactive
@shcheklein
Copy link
Member

@aripollak thanks, the improvement make sense.

@shcheklein shcheklein merged commit a5dc1d9 into iterative:main May 19, 2023
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

Successfully merging this pull request may close these issues.

2 participants