mirror of
https://github.com/wekan/wekan.git
synced 2026-11-25 04:49:41 -05:00
The GitHub wiki is disabled and its content was migrated into docs/, so every https://github.com/wekan/wekan/wiki/... link now redirects to the repo home and is broken. Rewrite all internal links in docs/ to relative paths: - wiki/<Page> -> relative path to the corresponding docs/ file (renamed pages mapped explicitly: Caddy-Webserver-Config->Webserver/Caddy.md, Wekan-Markdown ->Features/Markdown/Markdown.md, REST-API-Role->API/Role.md, etc.) - wiki home -> docs/README.md - blob|tree|raw/main|master/<path> -> relative path (anchors and #Lxx line ranges preserved; bare URLs wrapped as [name](path) so they stay clickable) Kept absolute (intentionally not flattened to the current ref): - ref-pinned links (edge, devel, version tags, commit hashes) - links whose target no longer exists in the tree wiki/issues -> the GitHub issues tracker URL (external). 436 links across 113 files; verified no wiki links remain and no broken relative links introduced. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1.4 KiB
1.4 KiB
Zitadel login using OAuth2
- Original issue: https://github.com/wekan/wekan/issues/5250
Snap
sudo snap set wekan oauth2-enabled='true'
sudo snap set wekan oauth2-b2c-enabled='true'
sudo snap set wekan oauth2-username-map='sub'
sudo snap set wekan oauth2-client-id='xxxxxxxx'
sudo snap set wekan oauth2-secret='xxxxxxx'
sudo snap set wekan oauth2-server-url='https://auth.yourserver.com'
sudo snap set wekan oauth2-auth-endpoint='/oauth/v2/authorize'
sudo snap set wekan oauth2-userinfo-endpoint='/oidc/v1/userinfo'
sudo snap set wekan oauth2-token-endpoint='/oauth/v2/token'
sudo snap set wekan oauth2-id-map='sub'
sudo snap set wekan oauth2-username-map='email'
sudo snap set wekan oauth2-email-map='email'
sudo snap set wekan oauth2-fullname-map='given_name'
sudo snap set wekan oauth2-request-permissions='openid email profile'
Docker
- OAUTH2_ENABLED=true
- OAUTH2_CLIENT_ID=xxxxxxxx
- OAUTH2_SECRET=xxxxxxxx
- OAUTH2_SERVER_URL=https://auth.yourserver.com
- OAUTH2_AUTH_ENDPOINT=/oauth/v2/authorize
- OAUTH2_USERINFO_ENDPOINT=/oidc/v1/userinfo
- OAUTH2_TOKEN_ENDPOINT=/oauth/v2/token
- OAUTH2_ID_MAP=sub
- OAUTH2_USERNAME_MAP=email
- OAUTH2_EMAIL_MAP=email
- OAUTH2_FULLNAME_MAP=given_name
- OAUTH2_REQUEST_PERMISSIONS=openid profile email
Others
Similar like above Docker.