Related to T3079
Details
Details
- Reviewers
anlambert - Group Reviewers
Reviewers - Maniphest Tasks
- T3079: Boostrap swh-auth module for authentication
- Commits
- rDAUTHfa523d66b63a: keycloak: Open from_config* method to instantiate KeycloakOpenIDConnect
Diff Detail
Diff Detail
- Repository
- rDAUTH Common authentication libraries
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 19732 Build 30628: Phabricator diff pipeline on jenkins Jenkins console · Jenkins Build 30627: arc lint + arc unit
Event Timeline
Comment Actions
Build is green
Patch application report for D5201 (id=18636)
Rebasing onto bd3d8437f1...
Current branch diff-target is up to date.
Changes applied before test
commit 16d48b094f3e808bcb3cbe2f5c4d36114a433853 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Fri Mar 5 14:11:13 2021 +0100 keycloak: Open from_config* method to instantiate KeycloakOpenIDConnect Related to T3079
See https://jenkins.softwareheritage.org/job/DAUTH/job/tests-on-diff/15/ for more details.
swh/auth/keycloak.py | ||
---|---|---|
181 | You should allow to override the config with keyword arguments (as in listers). config = dict(load_from_envvar()) config.update({k: v for k, v in kwargs.items() if v is not None}) This is useful for testing. |
swh/auth/keycloak.py | ||
---|---|---|
181 | interesting, i did not notice, thx |
Comment Actions
Adapt according to review about allowing override from calling the from_configfile method.
Also add missing docstrings.
Comment Actions
Build is green
Patch application report for D5201 (id=18637)
Rebasing onto bd3d8437f1...
Current branch diff-target is up to date.
Changes applied before test
commit a44082d1872a9e55c9ab97ad01aadab2b7c44028 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Fri Mar 5 14:11:13 2021 +0100 keycloak: Open from_config* method to instantiate KeycloakOpenIDConnect Related to T3079
See https://jenkins.softwareheritage.org/job/DAUTH/job/tests-on-diff/16/ for more details.
swh/auth/keycloak.py | ||
---|---|---|
200 | You should use .get("keycloak", {}) to avoid possible error |
Comment Actions
Build is green
Patch application report for D5201 (id=18638)
Rebasing onto bd3d8437f1...
Current branch diff-target is up to date.
Changes applied before test
commit fa523d66b63a2a3bc02f78957e37d9b2078a8baf Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Fri Mar 5 14:11:13 2021 +0100 keycloak: Open from_config* method to instantiate KeycloakOpenIDConnect Related to T3079
See https://jenkins.softwareheritage.org/job/DAUTH/job/tests-on-diff/17/ for more details.