waiverdb: Fix getting username from OIDC token
This commit is contained in:
parent
5c0ab4d9d0
commit
730a03992b
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ MESSAGE_BUS_PUBLISH = True
|
||||||
AUTH_METHOD = 'OIDC'
|
AUTH_METHOD = 'OIDC'
|
||||||
OIDC_REQUIRED_SCOPE = 'https://waiverdb.fedoraproject.org/oidc/create-waiver'
|
OIDC_REQUIRED_SCOPE = 'https://waiverdb.fedoraproject.org/oidc/create-waiver'
|
||||||
OIDC_CLIENT_SECRETS = '/etc/secret/client_secrets.json'
|
OIDC_CLIENT_SECRETS = '/etc/secret/client_secrets.json'
|
||||||
|
OIDC_USERNAME_FIELD = 'sub'
|
||||||
PREFERRED_URL_SCHEME='https'
|
PREFERRED_URL_SCHEME='https'
|
||||||
SUPERUSERS = ['bodhi@service']
|
SUPERUSERS = ['bodhi@service']
|
||||||
PORT = 8080
|
PORT = 8080
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue