forked from 77media/video-flow
1.谷歌登录回java接口地址更换2.googleClientSecret的key设置
This commit is contained in:
parent
3cf9915877
commit
5b7cc99306
@ -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
|
||||
|
||||
@ -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未配置');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user