Set OIDC secrets in place for MBS service provider.
This commit is contained in:
parent
c1b28e4568
commit
9f6dafbe93
3 changed files with 13 additions and 14 deletions
|
@ -26,10 +26,11 @@
|
|||
- mbs
|
||||
- mbs/common
|
||||
|
||||
- name: copy client secrets that aren't really secret.
|
||||
- name: copy client secrets
|
||||
template: >
|
||||
src=client_secrets.json.{{env}} dest=/etc/module-build-service/client_secrets.json
|
||||
owner=root group=root mode=0644
|
||||
owner=root group=apache mode=0640
|
||||
when: inventory_hostname.startswith('mbs-web')
|
||||
notify:
|
||||
- restart apache
|
||||
tags:
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
{
|
||||
"web": {
|
||||
"auth_uri": "https://id.fedoraproject.org/openidc/Authorization",
|
||||
"client_id": "mbs-authorizer",
|
||||
"client_secret": "notsecret",
|
||||
"redirect_uris": [
|
||||
"http://localhost:13747/"
|
||||
],
|
||||
"client_id": "mbs-prod",
|
||||
"client_secret": "{{ mbs_prod_oidc_client_secret }}",
|
||||
"redirect_uris": [],
|
||||
"token_uri": "https://id.fedoraproject.org/openidc/Token",
|
||||
"token_introspection_uri": "https://id.fedoraproject.org/openidc/TokenInfo"
|
||||
"token_introspection_uri": "https://id.fedoraproject.org/openidc/TokenInfo",
|
||||
"userinfo_uri": "https://id.fedoraproject.org/openidc/UserInfo"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
{
|
||||
"web": {
|
||||
"auth_uri": "https://id.stg.fedoraproject.org/openidc/Authorization",
|
||||
"client_id": "mbs-authorizer",
|
||||
"client_secret": "notsecret",
|
||||
"redirect_uris": [
|
||||
"http://localhost:13747/"
|
||||
],
|
||||
"client_id": "mbs-stg",
|
||||
"client_secret": "{{ mbs_stg_oidc_client_secret }}",
|
||||
"redirect_uris": [],
|
||||
"token_uri": "https://id.stg.fedoraproject.org/openidc/Token",
|
||||
"token_introspection_uri": "https://id.stg.fedoraproject.org/openidc/TokenInfo"
|
||||
"token_introspection_uri": "https://id.stg.fedoraproject.org/openidc/TokenInfo",
|
||||
"userinfo_uri": "https://id.stg.fedoraproject.org/openidc/UserInfo"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue