diff --git a/config/.env.prod b/config/.env.prod new file mode 100644 index 0000000..0dfa627 --- /dev/null +++ b/config/.env.prod @@ -0,0 +1,15 @@ +# assets-ai 生产环境配置(模板) +DATABASE_PATH=/app/data/assets.db +JWT_SECRET=__JWT_SECRET__ +COOKIE_DOMAIN=.tlyq.ai +NODE_ENV=production +NODE_TLS_REJECT_UNAUTHORIZED=0 +LDAP_URL=ldap://lldap:3890 +LDAP_BASE_DN=dc=tlyq,dc=ai +LDAP_ADMIN_DN=uid=admin,ou=people,dc=tlyq,dc=ai +AUTHELIA_URL=https://sso.tlyq.ai +OIDC_CLIENT_ID=assets-oidc +OIDC_CLIENT_SECRET=__OIDC_CLIENT_SECRET__ +OIDC_REDIRECT_URI=https://assets.tlyq.ai/api/auth/callback +ISSUE_API_URL=http://issue-ai:3000/api +NEXT_PUBLIC_ISSUE_URL=https://issue.tlyq.ai/tickets \ No newline at end of file diff --git a/src/app/(auth)/login/LoginForm.tsx b/src/app/(auth)/login/LoginForm.tsx index 7ba2489..f74c8e4 100644 --- a/src/app/(auth)/login/LoginForm.tsx +++ b/src/app/(auth)/login/LoginForm.tsx @@ -38,6 +38,11 @@ export function LoginForm() { 统一认证登录
通过 SSO 统一身份认证
++ +