mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 01:12:24 +00:00
Iterate on documentation
This commit is contained in:
@@ -13,7 +13,10 @@ client_secret = "secret..."
|
||||
claim_userid = "preferred_username" # (1)!
|
||||
scopes = ["openid", "profile", "groups"]
|
||||
require_group = "app/rustical" # (2)!
|
||||
allow_sign_up = false
|
||||
allow_sign_up = true
|
||||
|
||||
[frontend]
|
||||
allow_password_login = false # optional
|
||||
```
|
||||
|
||||
1. Can be either `preferred_username` or `sub`
|
||||
@@ -32,3 +35,17 @@ identity_providers:
|
||||
redirect_uris:
|
||||
- https://rustical.example.com/frontend/login/oidc/callback
|
||||
```
|
||||
|
||||
### With environment variables
|
||||
|
||||
```sh
|
||||
RUSTICAL_OIDC__NAME: "Authelia"
|
||||
RUSTICAL_OIDC__ISSUER: "https://auth.example.com"
|
||||
RUSTICAL_OIDC__CLIENT_ID: "rustical"
|
||||
RUSTICAL_OIDC__CLIENT_SECRET: "secret..."
|
||||
RUSTICAL_OIDC__CLAIM_USERID: "preferred_username"
|
||||
RUSTICAL_OIDC__SCOPES: '["openid", "profile", "groups"]'
|
||||
RUSTICAL_OIDC__REQUIRE_GROUP: "app:rustical"
|
||||
RUSTICAL_OIDC__ALLOW_SIGN_UP: "true"
|
||||
RUSTICAL_FRONTEND__ALLOW_PASSWORD_LOGIN: "false"
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user