mirror of
https://github.com/tailscale/tailscale.git
synced 2026-07-25 14:56:25 -04:00
tailscale-client-go-v2 natively supports identity federation authentication,
and in #19010 the required authentication provider is used, but the manual
token exchange was never removed, so we were exchanging JWT token to an auth
token, and then were trying to use that auth token for exchange once again.
This commit removes the legacy mechanism, fully relying on
tailscale-client-go-v2 to handle authentication.
Fixes #19844
(cherry picked from commit 5652b6c9c0)
Signed-off-by: Artem Leshchev <matshch@avride.ai>
Co-authored-by: Artem Leshchev <matshch@avride.ai>