From b245b31b36f481ef60f5d070157e346b006c7cb8 Mon Sep 17 00:00:00 2001 From: tim Date: Tue, 15 Jul 2025 18:32:33 +0800 Subject: [PATCH] fix: update nonce --- open-isle-cli/public/index.html | 45 ++++++++++++++++++------------- open-isle-cli/src/utils/google.js | 3 ++- 2 files changed, 28 insertions(+), 20 deletions(-) diff --git a/open-isle-cli/public/index.html b/open-isle-cli/public/index.html index e36888645..9409a56f9 100644 --- a/open-isle-cli/public/index.html +++ b/open-isle-cli/public/index.html @@ -1,21 +1,28 @@ - - - - - - - <%= htmlWebpackPlugin.options.title %> - - - - -
- - - + + + + + + + + + + <%= htmlWebpackPlugin.options.title %> + + + + + + +
+ + + + \ No newline at end of file diff --git a/open-isle-cli/src/utils/google.js b/open-isle-cli/src/utils/google.js index ba0d531ae..53840b734 100644 --- a/open-isle-cli/src/utils/google.js +++ b/open-isle-cli/src/utils/google.js @@ -10,7 +10,8 @@ export async function googleGetIdToken() { } window.google.accounts.id.initialize({ client_id: GOOGLE_CLIENT_ID, - callback: ({ credential }) => resolve(credential) + callback: ({ credential }) => resolve(credential), + use_fedcm: true }) window.google.accounts.id.prompt() })