Fix: use build(credentials=creds) instead of creds.authorize() for google-auth compatibility; add traceback logging
This commit is contained in:
@@ -188,8 +188,8 @@ export class AgentClawStack extends cdk.Stack {
|
||||
// and fed back as context param runtime1Arn.
|
||||
|
||||
// ── Google Workspace MCP ──────────────────────────────────────────────
|
||||
const googleOAuthClientSecret = secretsmanager.Secret.fromSecretNameV2(
|
||||
this, 'GoogleOAuthClient', 'agent-claw/google-oauth-client'
|
||||
const googleOAuthClientSecret = secretsmanager.Secret.fromSecretCompleteArn(
|
||||
this, 'GoogleOAuthClient', 'arn:aws:secretsmanager:us-east-1:495395224548:secret:agent-claw/google-oauth-client-subXHl'
|
||||
);
|
||||
|
||||
// workspace-mcp Lambda execution role (import existing — created during initial setup)
|
||||
|
||||
Reference in New Issue
Block a user