log.Printf("[OAuth] Step 1 SUCCESS - No team org found, using first org, UUID: %s, Name: %s",orgs[0].UUID,orgs[0].Name)
logger.LegacyPrintf("repository.claude_oauth","[OAuth] Step 1 SUCCESS - No team org found, using first org, UUID: %s, Name: %s",orgs[0].UUID,orgs[0].Name)
returnorgs[0].UUID,nil
returnorgs[0].UUID,nil
}
}
...
@@ -103,9 +103,9 @@ func (s *claudeOAuthService) GetAuthorizationCode(ctx context.Context, sessionKe
...
@@ -103,9 +103,9 @@ func (s *claudeOAuthService) GetAuthorizationCode(ctx context.Context, sessionKe
"code_challenge_method":"S256",
"code_challenge_method":"S256",
}
}
log.Printf("[OAuth] Step 2: Getting authorization code from %s",authURL)
logger.LegacyPrintf("repository.claude_oauth","[OAuth] Step 2: Getting authorization code from %s",authURL)
return&githubReleaseClientError{err:fmt.Errorf("proxy client init failed and direct fallback is disabled; set security.proxy_fallback.allow_direct_on_error=true to allow fallback: %w",err)}
return&githubReleaseClientError{err:fmt.Errorf("proxy client init failed and direct fallback is disabled; set security.proxy_fallback.allow_direct_on_error=true to allow fallback: %w",err)}