mirror of
https://github.com/Dvorinka/excalidraw-full.git
synced 2026-07-29 07:33:47 +00:00
重构认证流程,合并 GitHub 和 OIDC 登录路由,更新回调 URL,简化环境变量配置,移除旧的 Dex 相关代码,增强代码可读性和维护性。更新文档以反映新的认证流程和环境变量设置。
This commit is contained in:
@@ -5,7 +5,7 @@ services:
|
||||
image: busybox:latest
|
||||
ports:
|
||||
- "5556:5556" # Dex
|
||||
- "3002:3002" # Excalidraw
|
||||
- "3004:3002" # Excalidraw
|
||||
command: ["sleep", "infinity"]
|
||||
networks:
|
||||
- excalidraw-network
|
||||
@@ -17,7 +17,7 @@ services:
|
||||
volumes:
|
||||
- ./config/dex.config.yaml:/etc/dex/config.yaml
|
||||
environment:
|
||||
- OIDC_REDIRECT_URL=${OIDC_REDIRECT_URL:-http://localhost:3002/auth/oidc/callback}
|
||||
- OIDC_REDIRECT_URL=${OIDC_REDIRECT_URL:-http://localhost:3002/auth/callback}
|
||||
- OIDC_CLIENT_SECRET=${OIDC_CLIENT_SECRET:-excalidraw-secret}
|
||||
- OIDC_CLIENT_ID=${OIDC_CLIENT_ID:-excalidraw}
|
||||
- OIDC_ISSUER=${OIDC_ISSUER:-http://localhost:5556}
|
||||
|
||||
Reference in New Issue
Block a user