mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Crude OpenID Connect client using Authlib
Developers can go to /sso/login to get redirected to the SSO. On successful login, the ID token is displayed. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
b1300117ac
commit
3b347d3989
8 changed files with 72 additions and 2 deletions
|
@ -20,6 +20,12 @@ aur_location = http://127.0.0.1:8080
|
|||
disable_http_login = 0
|
||||
enable-maintenance = 0
|
||||
|
||||
; Single sign-on
|
||||
[sso]
|
||||
openid_configuration = http://127.0.0.1:8083/auth/realms/aurweb/.well-known/openid-configuration
|
||||
client_id = aurweb
|
||||
client_secret =
|
||||
|
||||
[php]
|
||||
; Address PHP should bind when spawned in development mode by aurweb.spawn.
|
||||
bind_address = 127.0.0.1:8081
|
||||
|
@ -30,3 +36,6 @@ htmldir = YOUR_AUR_ROOT/web/html
|
|||
[fastapi]
|
||||
; Address uvicorn should bind when spawned in development mode by aurweb.spawn.
|
||||
bind_address = 127.0.0.1:8082
|
||||
|
||||
; Passphrase FastAPI uses to sign client-side sessions.
|
||||
session_secret = secret
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue