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

fix: error when dialer is misconfigured with token source #453

Merged
merged 1 commit into from
Feb 9, 2023

Conversation

enocom
Copy link
Member

@enocom enocom commented Feb 8, 2023

When a dialer is configured with a token source and with Auto IAM AuthN, the dialer will now return an error and require callers to configure the WithIAMAuthNTokenSources option instead.

This change will prevent OAuth2 tokens with the sqladmin scope from being included in the ephemeral certificate.

When a dialer is configured with a token source and with Auto IAM AuthN,
the dialer will now return an error and require callers to configure the
WithIAMAuthNTokenSources option instead.

This change will prevent OAuth2 tokens with the sqladmin scope from
being included in the ephemeral certificate.
@enocom enocom requested a review from a team as a code owner February 8, 2023 23:09
@enocom enocom requested review from jackwotherspoon and a team February 9, 2023 16:26
@enocom enocom merged commit 7b45a7e into main Feb 9, 2023
@enocom enocom deleted the token-source branch February 9, 2023 17:29
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.

None yet

2 participants