tailscale / terraform-provider-tailscale

Terraform provider for Tailscale
https://registry.terraform.io/providers/tailscale/tailscale
MIT License
258 stars 47 forks source link

tailscale: pass base URL to OAuthConfig #439

Closed mpminardi closed 2 weeks ago

mpminardi commented 2 weeks ago

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 https://github.com/tailscale/terraform-provider-tailscale/issues/438