feat: local mfa logging
Description
How to test
- Upload the modifications to the
id-test
following the tutorial: https://perunaai.atlassian.net/wiki/spaces/DEVS/pages/162070538/How+to+test+modifications+to+proxy - Perform a login in a service using the local MFA (e.g. services using the MUNI Unified Login) (MFA setup instructions)
- On the
id-test
, access the postgres database tableauth_event_logging
and check thelocal_mfa_performed
column for the record of your latest login
Author's checklist
-
I have followed the contribution guidelines -
This MR has been tested or does not change functionality -
I have added relevant merge request dependencies (if this MR has any) -
I have added the correct labels -
I have assigned reviewers (if any are relevant) -
I have edited the documentation (if the changes require it) or I have noted the need for the change if I do not have access to the documentation -
I have marked all introduced BREAKING CHANGES or necessary DEPLOYMENT NOTES in the commit message(s)
Reviewer's checklist
-
This MR has been tested or does not change functionality -
This MR has correct commit message format
Other information
This change contributes to the solution of STR-1269 by filling a new column in the auth logging database. This column stores information about the locally performed MFA (the current version was checking only the upstream ACRs).
Related issues
re STR-1269
Edited by Marek Hlávka