Correct waiverdb client_secrets.json.
This commit is contained in:
parent
8dcaae4b8f
commit
cb6772b847
1 changed files with 3 additions and 2 deletions
|
@ -14,13 +14,14 @@ stringData:
|
||||||
{% endif %}
|
{% endif %}
|
||||||
client_secrets.json: |-
|
client_secrets.json: |-
|
||||||
{"web": {
|
{"web": {
|
||||||
"redirect_uris": ["https://waiverdb-waiverdb.app.os.fedoraproject.org/"],
|
"redirect_uris": ["https://waiverdb-waiverdb.app.os{{env_suffix}}fedoraproject.org/"],
|
||||||
"token_uri": "https://id{{ env_suffix }}.fedoraproject.org/openidc/Token",
|
"token_uri": "https://id{{ env_suffix }}.fedoraproject.org/openidc/Token",
|
||||||
"auth_uri": "https://id{{ env_suffix }}.fedoraproject.org/openidc/Authorization",
|
"auth_uri": "https://id{{ env_suffix }}.fedoraproject.org/openidc/Authorization",
|
||||||
"client_id": "waiverdb",
|
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
|
"client_id": "waiverdb-stg",
|
||||||
"client_secret": "{{ stg_waiverdb_oidc_secret }}",
|
"client_secret": "{{ stg_waiverdb_oidc_secret }}",
|
||||||
{% else %}
|
{% else %}
|
||||||
|
"client_id": "waiverdb",
|
||||||
"client_secret": "{{ prod_waiverdb_oidc_secret }}",
|
"client_secret": "{{ prod_waiverdb_oidc_secret }}",
|
||||||
{% endif %}
|
{% endif %}
|
||||||
"userinfo_uri": "https://id{{ env_suffix }}.fedoraproject.org/openidc/UserInfo",
|
"userinfo_uri": "https://id{{ env_suffix }}.fedoraproject.org/openidc/UserInfo",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue