Drop OIDC settings, we will use NO_AUTH
This commit is contained in:
parent
4f65d09f17
commit
b7c4948612
3 changed files with 1 additions and 16 deletions
|
@ -118,9 +118,6 @@
|
||||||
- name: Copy config for copr-cli
|
- name: Copy config for copr-cli
|
||||||
template: src=copr.conf dest=/etc/module-build-service/copr.conf
|
template: src=copr.conf dest=/etc/module-build-service/copr.conf
|
||||||
|
|
||||||
- name: Install client_secrets.json
|
|
||||||
template: src=client_secrets.json dest=/etc/module-build-service/
|
|
||||||
|
|
||||||
|
|
||||||
- name: Upgrade database
|
- name: Upgrade database
|
||||||
command: mbs-upgradedb
|
command: mbs-upgradedb
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
{
|
|
||||||
"web": {
|
|
||||||
"auth_uri": "https://id.stg.fedoraproject.org/openidc/Authorization",
|
|
||||||
"client_id": "mbs-authorizer",
|
|
||||||
"client_secret": "{{ copr_mbs_client_secret }}",
|
|
||||||
"redirect_uris": [
|
|
||||||
"http://localhost:13747/"
|
|
||||||
],
|
|
||||||
"token_uri": "https://id.stg.fedoraproject.org/openidc/Token",
|
|
||||||
"token_introspection_uri": "https://id.stg.fedoraproject.org/openidc/TokenInfo"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -8,8 +8,8 @@ from base_config import confdir, dbdir
|
||||||
class ProdConfiguration(base.ProdConfiguration):
|
class ProdConfiguration(base.ProdConfiguration):
|
||||||
SYSTEM = 'copr'
|
SYSTEM = 'copr'
|
||||||
REQUIRE_PACKAGER = False
|
REQUIRE_PACKAGER = False
|
||||||
OIDC_CLIENT_SECRETS = '/etc/module-build-service/client_secrets.json'
|
|
||||||
SECRET_KEY = '{{ copr_mbs_secret_key }}'
|
SECRET_KEY = '{{ copr_mbs_secret_key }}'
|
||||||
|
NO_AUTH = True
|
||||||
|
|
||||||
|
|
||||||
class DevConfiguration(base.DevConfiguration):
|
class DevConfiguration(base.DevConfiguration):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue