mirror of
https://github.com/Dvorinka/excalidraw-full.git
synced 2026-06-04 22:32:55 +00:00
添加 OIDC 认证支持,更新环境变量配置,重构 Docker Compose 文件,移除旧的 Dex 初始化脚本,优化用户模型,更新前端登录流程,支持通过 OIDC 登录。
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
issuer: http://localhost:5556
|
||||
|
||||
storage:
|
||||
type: memory
|
||||
|
||||
web:
|
||||
http: 0.0.0.0:5556
|
||||
allowedOrigins: ["*"]
|
||||
|
||||
logger:
|
||||
level: debug
|
||||
format: text
|
||||
|
||||
enablePasswordDB: true
|
||||
|
||||
staticClients:
|
||||
- id: excalidraw
|
||||
redirectURIs:
|
||||
- {{ .Env.OIDC_REDIRECT_URL }}
|
||||
name: Excalidraw
|
||||
public: true
|
||||
secret: excalidraw-secret
|
||||
|
||||
staticPasswords:
|
||||
- email: {{ .Env.ADMIN_EMAIL }}
|
||||
hash: {{ .Env.ADMIN_PASSWORD_HASH }}
|
||||
username: {{ .Env.ADMIN_USERNAME }}
|
||||
userID: {{ .Env.ADMIN_USER_ID }}
|
||||
Reference in New Issue
Block a user