diff --git a/backend/nitro.config.ts b/backend/nitro.config.ts index d8ab2d3..4546424 100644 --- a/backend/nitro.config.ts +++ b/backend/nitro.config.ts @@ -97,7 +97,7 @@ export default defineNitroConfig({ // KRITISCH: prompt=consent + access_type=offline in init.post.ts sind PFLICHT // damit Google ein refresh_token ausstellt. Ohne das: nur 1h access_token. // Infisical secret name: GOOGLE_OAUTH_CLIENT_ID - googleOauthClientId: process.env.GOOGLE_OAUTH_CLIENT_ID ?? "864178840836-rerbjn5pl31ocd83b2qqpbc8gs2o8ego.apps.googleusercontent.com", + googleOauthClientId: process.env.GOOGLE_OAUTH_CLIENT_ID ?? "864178840836-i09oblmcel5q4rgggq9dids17mv9560u.apps.googleusercontent.com", // ─── Bot-User-IDs (DB-User-References für Lyra/Rebreak-Bot-Posts) ──── lyraBotUserId: process.env.LYRA_BOT_USER_ID ?? "", diff --git a/backend/server/utils/google-oauth.ts b/backend/server/utils/google-oauth.ts index e0f5d7a..c7d6d1d 100644 --- a/backend/server/utils/google-oauth.ts +++ b/backend/server/utils/google-oauth.ts @@ -47,7 +47,7 @@ export const GOOGLE_OAUTH_SCOPES = [ * iOS-App muss diesen URL-Scheme in CFBundleURLTypes registrieren. */ export const GOOGLE_REDIRECT_URI = - "com.googleusercontent.apps.864178840836-rerbjn5pl31ocd83b2qqpbc8gs2o8ego:/oauth2redirect"; + "com.googleusercontent.apps.864178840836-i09oblmcel5q4rgggq9dids17mv9560u:/oauth2redirect"; // ── PKCE Helpers ────────────────────────────────────────────────────────────── // Identisch zu ms-oauth.ts — ausgelagert weil beide Provider PKCE S256 nutzen.