Revert "flask-oidc-dev: Updating default scopes to include fedora groups"
This reverts commit81c4dd3a18
. Revert "flask-oidc-dev: Changing layout of client secrets configuration" This reverts commit81d27e668b
. Signed-off-by: David Kirwan <dkirwan@redhat.com>
This commit is contained in:
parent
cc5cbf439d
commit
f962d03280
1 changed files with 12 additions and 8 deletions
|
@ -1,13 +1,17 @@
|
|||
{
|
||||
"OIDC_CLIENT_ID": "flask-oidc-dev",
|
||||
"web": {
|
||||
"auth_uri": "https://id{{env_suffix}}.fedoraproject.org/openidc/Authorization",
|
||||
"client_id": "flask-oidc-dev",
|
||||
{% if env == 'staging' %}
|
||||
"OIDC_CLIENT_SECRET": "{{ flask_oidc_dev_stg_oidc_client_secret }}",
|
||||
"client_secret": "{{ flask_oidc_dev_stg_oidc_client_secret }}",
|
||||
{% else %}
|
||||
"OIDC_CLIENT_SECRET": "{{ flask_oidc_dev_oidc_client_secret }}",
|
||||
"client_secret": "{{ flask_oidc_dev_oidc_client_secret }}",
|
||||
{% endif %}
|
||||
"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 https://id.fedoraproject.org/scope/groups",
|
||||
"OIDC_CLIENT_AUTH_METHOD":"client_secret_post",
|
||||
"OIDC_OPENID_CALLBACK":"/oidc_callback"
|
||||
"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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue