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": {
|
"OIDC_CLIENT_ID": "flask-oidc-dev",
|
||||||
"auth_uri": "https://id{{env_suffix}}.fedoraproject.org/openidc/Authorization",
|
|
||||||
"client_id": "flask-oidc-dev",
|
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
"client_secret": "{{ flask_oidc_dev_stg_oidc_client_secret }}",
|
"OIDC_CLIENT_SECRET": "{{ flask_oidc_dev_stg_oidc_client_secret }}",
|
||||||
{% else %}
|
{% else %}
|
||||||
"client_secret": "{{ flask_oidc_dev_oidc_client_secret }}",
|
"OIDC_CLIENT_SECRET": "{{ flask_oidc_dev_oidc_client_secret }}",
|
||||||
{% endif %}
|
{% endif %}
|
||||||
"issuer": "https://id{{env_suffix}}.fedoraproject.org/openidc/",
|
"OIDC_ISSUER": "https://id{{env_suffix}}.fedoraproject.org/openidc/",
|
||||||
"redirect_uris": [
|
"OIDC_USERINFO_URL": "https://id{{env_suffix}}.fedoraproject.org/openidc/UserInfo",
|
||||||
"https://app-flask-oidc-dev.apps.ocp{{env_suffix}}.fedoraproject.org/oidc/oidc_callback"
|
"OIDC_SCOPES":"openid profile email",
|
||||||
],
|
"OIDC_CLIENT_AUTH_METHOD":"client_secret_post",
|
||||||
"token_uri": "https://id{{env_suffix}}.fedoraproject.org/openidc/Token",
|
"OIDC_OPENID_CALLBACK":"/oidc_callback"
|
||||||
"userinfo_uri": "https://id{{env_suffix}}.fedoraproject.org/openidc/UserInfo"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue