fix(env): fix env
This commit is contained in:
19
.env.staging
19
.env.staging
@@ -1,8 +1,17 @@
|
||||
# Mock SSO 服务地址(服务端用于 code 换取用户信息)
|
||||
SSO_URL="http://localhost:5501"
|
||||
# sso-portal 登录页地址(客户端跳转用,即 OAuth2 授权端点入口)
|
||||
NEXT_PUBLIC_SSO_URL="http://localhost:5501"
|
||||
|
||||
# 本应用地址(作为 SSO 回调 app_url)
|
||||
# 本应用地址(作为 SSO 回调 client_redirect_uri)
|
||||
NEXT_PUBLIC_APP_URL="http://localhost:4000"
|
||||
|
||||
# 注册在 SSO 的应用 ID(app_id)
|
||||
SSO_APP_ID="app_demo_001"
|
||||
# OAuth2 client_id(同时作为 URL app_id 传给 sso-portal;非敏感,可下发前端)
|
||||
NEXT_PUBLIC_SSO_APP_ID="6wds5qua3b76hu748zrjmall"
|
||||
|
||||
# OAuth2 client_secret(仅服务端 /api/callback 调 access_token 用,绝不下发前端)
|
||||
SSO_CLIENT_SECRET="oXwSxxrRUA0ijJ9N62qWI4oUrVJpLf5F"
|
||||
|
||||
# 真实后端 SSO 宿主(服务端调 /api/v1/basis/sso/access_token)
|
||||
SSO_BACKEND_API="http://172.16.115.31:6610"
|
||||
|
||||
# 租户标识
|
||||
SSO_TENANT="cowarobot"
|
||||
|
||||
Reference in New Issue
Block a user