mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 11:07:41 +00:00
fix: validate state for manual Chutes OAuth
This commit is contained in:
@@ -17,8 +17,7 @@ export function createVpsAwareOAuthHandlers(params: {
|
||||
onAuth: (event: { url: string }) => Promise<void>;
|
||||
onPrompt: (prompt: OAuthPrompt) => Promise<string>;
|
||||
} {
|
||||
const manualPromptMessage =
|
||||
params.manualPromptMessage ?? "Paste the redirect URL (or authorization code)";
|
||||
const manualPromptMessage = params.manualPromptMessage ?? "Paste the redirect URL";
|
||||
let manualCodePromise: Promise<string> | undefined;
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user