Details
Details
- Reviewers
anlambert - Group Reviewers
Reviewers - Maniphest Tasks
- T2858: Use keycloak authentication for the deposit
- Commits
- rDAUTH148c9d4f3fae: utils: Use iat field as fallback when auth_time is not provided
Diff Detail
Diff Detail
- Repository
- rDAUTH Common authentication libraries
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
Build is green
Patch application report for D5243 (id=18795)
Rebasing onto 9d1659b938...
Current branch diff-target is up to date.
Changes applied before test
commit 09a442910d828700aecca3bc87f35fe19d784c44 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Sat Mar 13 10:43:42 2021 +0100 utils: Add fallback datetime extract when auth_time is not provided At least when using direct grant connect flow, the auth_time seems not provided. The iat key is though. Related to T2858
See https://jenkins.softwareheritage.org/job/DAUTH/job/tests-on-diff/29/ for more details.
Comment Actions
Build is green
Patch application report for D5243 (id=18811)
Rebasing onto 9d1659b938...
Current branch diff-target is up to date.
Changes applied before test
commit 8831721ebe359b5d355f91d06c1211c96ffdf1c9 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Sat Mar 13 10:43:42 2021 +0100 utils: Switch to use iat field for authentication time The auth_time is not always provided depending on the authentication flow used. The field iat provides the same information and is always delivered. Related to T2858
See https://jenkins.softwareheritage.org/job/DAUTH/job/tests-on-diff/30/ for more details.
Comment Actions
Build is green
Patch application report for D5243 (id=18812)
Rebasing onto 9d1659b938...
Current branch diff-target is up to date.
Changes applied before test
commit 148c9d4f3fae212be6ef5be6befa0743fa3824ac Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Sat Mar 13 10:43:42 2021 +0100 utils: Use iat field as fallback when auth_time is not provided The auth_time is not always provided depending on the authentication flow used. The field iat is provided for example in the direct grant access flow so use it instead as fallback. Related to T2858
See https://jenkins.softwareheritage.org/job/DAUTH/job/tests-on-diff/31/ for more details.