switch to docker-compose env for oauth configuration, verified admin role maps properly

This commit is contained in:
2024-01-17 01:17:30 -06:00
parent 9c06784555
commit c656edeaf7
3 changed files with 44 additions and 15 deletions

View File

@@ -1,15 +0,0 @@
[auth]
oauth_auto_login = true
;#################################### Generic OAuth ##########################
[auth.generic_oauth]
enabled = true
name = Authentik
allow_sign_up = true
client_id = CLIENT_ID_RANDOM_STRING
client_secret = CLIENT_SECRET_RANDOM_STRING
scopes = openid,email,read:org
auth_url = https://auth.hamik.net/application/o/authorize/
token_url = https://auth.hamik.net/application/o/token/
api_url = https://auth.hamik.net/application/o/userinfo/
skip_org_role_sync=true