Use OIDC in Dist-Git
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
6a5f359a91
commit
311f9c009a
1 changed files with 0 additions and 4 deletions
|
@ -109,7 +109,6 @@ SHORT_LENGTH = 7
|
||||||
# Specify which authentication method to use, defaults to `fas` can be or
|
# Specify which authentication method to use, defaults to `fas` can be or
|
||||||
# `local`
|
# `local`
|
||||||
# Default: ``fas``.
|
# Default: ``fas``.
|
||||||
{% if env == "staging" %}
|
|
||||||
PAGURE_AUTH = 'oidc'
|
PAGURE_AUTH = 'oidc'
|
||||||
OIDC_CLIENT_SECRETS = "/etc/pagure/client_secrets.json"
|
OIDC_CLIENT_SECRETS = "/etc/pagure/client_secrets.json"
|
||||||
OIDC_ID_TOKEN_COOKIE_SECURE = True
|
OIDC_ID_TOKEN_COOKIE_SECURE = True
|
||||||
|
@ -124,9 +123,6 @@ OIDC_PAGURE_USERNAME = 'preferred_username'
|
||||||
OIDC_PAGURE_SSH_KEY = 'ssh_key'
|
OIDC_PAGURE_SSH_KEY = 'ssh_key'
|
||||||
OIDC_PAGURE_GROUPS = 'groups'
|
OIDC_PAGURE_GROUPS = 'groups'
|
||||||
OIDC_PAGURE_USERNAME_FALLBACK = 'nickname'
|
OIDC_PAGURE_USERNAME_FALLBACK = 'nickname'
|
||||||
{% else %}
|
|
||||||
PAGURE_AUTH = 'fas'
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
# When this is set to True, the session cookie will only be returned to the
|
# When this is set to True, the session cookie will only be returned to the
|
||||||
# server via ssl (https). If you connect to the server via plain http, the
|
# server via ssl (https). If you connect to the server via plain http, the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue