feat(ID token support): Add ID token support for authenticating to MC… (#12031)

Co-authored-by: Adam Weidman <adamfweidman@google.com>
This commit is contained in:
Ruchika Goel
2025-10-27 13:34:38 -07:00
committed by GitHub
parent 9e8f7c074c
commit abd22a753d
4 changed files with 164 additions and 8 deletions
+2
View File
@@ -193,6 +193,8 @@ export class MCPServerConfig {
// OAuth configuration
readonly oauth?: MCPOAuthConfig,
readonly authProviderType?: AuthProviderType,
// When true, use Google ADC to fetch ID tokens for Cloud Run
readonly allow_unscoped_id_tokens_cloud_run?: boolean,
// Service Account Configuration
/* targetAudience format: CLIENT_ID.apps.googleusercontent.com */
readonly targetAudience?: string,