Skip to content

tailscale: pass base URL to OAuthConfig #439

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

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

mpminardi
Copy link
Member

Pass the parsedBaseURL to tsclient.OAuthConfig. The base URL the OAuth client used for attempting to generate tokens was always the default URL previously which causes issues if the base URL for the provider and the rest of the tailscale client is set to something else.

Fixes #438

Pass the `parsedBaseURL` to `tsclient.OAuthConfig`. The base URL the
OAuth client used for attempting to generate tokens was always the
default URL previously which causes issues if the base URL for the
provider and the rest of the tailscale client is set to something else.

Fixes #438

Signed-off-by: Mario Minardi <[email protected]>
@mpminardi mpminardi requested a review from oxtoacart September 25, 2024 15:23
@mpminardi mpminardi self-assigned this Sep 25, 2024
@mpminardi mpminardi merged commit 5257dc3 into main Sep 25, 2024
5 checks passed
@mpminardi mpminardi deleted the mpminardi/forward-oauth-baseurl branch September 25, 2024 16:17
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.

BaseURL is not being properly forwarded to tsclient.OAuthConfig
2 participants