-
Notifications
You must be signed in to change notification settings - Fork 350
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Downscope OAuth2 token included in ephemeral certificate (#1450)
In the past, when using Auto IAM AuthN, the token embedded into the ephemeral certificate would have a broad scope. This commit ensures that in most cases, the embedded token has only a sqlservice.login scope. When users provide a token to launch the proxy, the proxy will use that token with whatever scopes are attached. Fixes #1446.
- Loading branch information
Showing
1 changed file
with
31 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters