1.谷歌登录回java接口地址更换2.googleClientSecret的key设置

This commit is contained in:
qikongjian 2025-09-20 19:50:18 +08:00
parent 3cf9915877
commit 5b7cc99306
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# 临时使用旧域名配置,等待后端更新
NEXT_PUBLIC_JAVA_URL = https://77.app.java.auth.qikongjian.com
NEXT_PUBLIC_JAVA_URL = https://auth.test.movieflow.ai
NEXT_PUBLIC_BASE_URL = https://77.smartvideo.py.qikongjian.com
NEXT_PUBLIC_CUT_URL = https://77.smartcut.py.qikongjian.com
# NEXT_PUBLIC_JAVA_URL = https://auth.movieflow.ai

View File

@ -44,7 +44,7 @@ export async function POST(request: NextRequest) {
// 第一步使用authorization code向Google换取access token和id_token
const googleClientId = '847079918888-o1nne8d3ij80dn20qurivo987pv07225.apps.googleusercontent.com';
const googleClientSecret = process.env.GOOGLE_CLIENT_SECRET; // 需要设置环境变量
const googleClientSecret = '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'; // 需要设置环境变量
if (!googleClientSecret) {
console.error('Google Client Secret未配置');