waiverdb: Fix getting username from OIDC token

This commit is contained in:
Lukas Holecek 2023-03-31 07:15:42 +02:00 committed by kevin
parent 5c0ab4d9d0
commit 730a03992b

View file

@ -13,6 +13,7 @@ MESSAGE_BUS_PUBLISH = True
AUTH_METHOD = 'OIDC'
OIDC_REQUIRED_SCOPE = 'https://waiverdb.fedoraproject.org/oidc/create-waiver'
OIDC_CLIENT_SECRETS = '/etc/secret/client_secrets.json'
OIDC_USERNAME_FIELD = 'sub'
PREFERRED_URL_SCHEME='https'
SUPERUSERS = ['bodhi@service']
PORT = 8080