Files
fedora-infra_ansible/roles/openshift-apps/fedocal/templates/client_secrets.json
Pierre-Yves Chibon 34deed65c6 fedocal: Adjust the deployment in openshift
- Create the rabbitmq user
- Create the secret_clients.json in preparation for OIDC support
- Install the fedora-messaging certificates
- Install the fedora-messaging configuration file

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-05-07 11:10:22 +02:00

18 lines
695 B
JSON

{
"web": {
"auth_uri": "https://id{{env_suffix}}.fedoraproject.org/openidc/Authorization",
"client_id": "{{ fedocal_oidc_client_id }}",
{% if env == 'staging' %}
"client_secret": "{{ fedocal_oidc_client_secret_stg }}",
{% else %}
"client_secret": "{{ fedocal_oidc_client_secret }}",
{% endif %}
"issuer": "https://id{{env_suffix}}.fedoraproject.org/openidc/",
"redirect_uris": [
"https://elections{{env_suffix}}.fedoraproject.org/oidc_callback"
],
"token_uri": "https://id{{env_suffix}}.fedoraproject.org/openidc/Token",
"userinfo_uri": "https://id{{env_suffix}}.fedoraproject.org/openidc/UserInfo"
}
}