Q178: the Chinese UI labels stored values and sign-in prompts, and shortcuts follow the platform
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f79e3d4d7c
commit
1cc67c244e
28 files changed
+158
-52
No files matched your search
@@ -140,7 +140,7 @@ export const antigravityFlow: OAuthFlow = {
|
||||
const { verifier, challenge } = generatePkce();
|
||||
const server = await startOAuthCallbackServer({ port: CALLBACK_PORT, path: CALLBACK_PATH, signal: callbacks.signal });
|
||||
try {
|
||||
callbacks.onAuth({ url: buildAuthorizeUrl(challenge, verifier), instructions: "Complete the Google sign-in in your browser." });
|
||||
callbacks.onAuth({ url: buildAuthorizeUrl(challenge, verifier), userCode: null });
|
||||
const result = await server.waitForCode();
|
||||
if (result.state !== verifier) throw new Error("OAuth state mismatch.");
|
||||
const tokens = await exchangeCode(result.code, verifier, clientSecret, callbacks.signal);
|
||||
|
||||
Reference in new issue
Block a user