flask-oidc-dev: Changing layout of client secrets configuration
Signed-off-by: David Kirwan <dkirwan@redhat.com>
This commit is contained in:
parent
e4b20030cb
commit
81d27e668b
1 changed files with 8 additions and 12 deletions
|
@ -1,17 +1,13 @@
|
|||
{
|
||||
"web": {
|
||||
"auth_uri": "https://id{{env_suffix}}.fedoraproject.org/openidc/Authorization",
|
||||
"client_id": "flask-oidc-dev",
|
||||
"OIDC_CLIENT_ID": "flask-oidc-dev",
|
||||
{% if env == 'staging' %}
|
||||
"client_secret": "{{ flask_oidc_dev_stg_oidc_client_secret }}",
|
||||
"OIDC_CLIENT_SECRET": "{{ flask_oidc_dev_stg_oidc_client_secret }}",
|
||||
{% else %}
|
||||
"client_secret": "{{ flask_oidc_dev_oidc_client_secret }}",
|
||||
"OIDC_CLIENT_SECRET": "{{ flask_oidc_dev_oidc_client_secret }}",
|
||||
{% endif %}
|
||||
"issuer": "https://id{{env_suffix}}.fedoraproject.org/openidc/",
|
||||
"redirect_uris": [
|
||||
"https://app-flask-oidc-dev.apps.ocp{{env_suffix}}.fedoraproject.org/oidc/oidc_callback"
|
||||
],
|
||||
"token_uri": "https://id{{env_suffix}}.fedoraproject.org/openidc/Token",
|
||||
"userinfo_uri": "https://id{{env_suffix}}.fedoraproject.org/openidc/UserInfo"
|
||||
}
|
||||
"OIDC_ISSUER": "https://id{{env_suffix}}.fedoraproject.org/openidc/",
|
||||
"OIDC_USERINFO_URL": "https://id{{env_suffix}}.fedoraproject.org/openidc/UserInfo",
|
||||
"OIDC_SCOPES":"openid profile email",
|
||||
"OIDC_CLIENT_AUTH_METHOD":"client_secret_post",
|
||||
"OIDC_OPENID_CALLBACK":"/oidc_callback"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue