fedoca: define the OIDC_OPENID_REALM

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2021-01-29 14:25:08 +01:00
parent 68a5ab292f
commit fcf49bbc73

View file

@ -57,6 +57,7 @@ OIDC_SCOPES = [
'https://id.fedoraproject.org/scope/agreements',
'https://id.fedoraproject.org/scope/groups',
]
OIDC_OPENID_REALM = '%s/oidc_callback' % SITE_ROOT
{% else %}
APP_URL = 'https://calendar.fedoraproject.org/' + APPLICATION_ROOT
SITE_ROOT = 'https://calendar.fedoraproject.org'
@ -66,4 +67,5 @@ OIDC_SCOPES = [
'https://id.fedoraproject.org/scope/cla',
'https://id.fedoraproject.org/scope/groups',
]
OIDC_OPENID_REALM = '%s/oidc_callback' % SITE_ROOT
{% endif %}