Commit Graph

73 Commits

Author SHA1 Message Date
dfb277d636 Can force 2FA authent 2024-03-26 21:07:29 +01:00
5644e40763 Record successful 2FA authentication in session cookie
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-25 18:04:54 +01:00
75b70008e3 Updated all dependencies 2024-02-19 18:42:19 +01:00
6cc9f4c54c Refactor dependencies to reduce code base size (#111)
All checks were successful
continuous-integration/drone/push Build is passing
Use crates to reduce code base size :

* `actix-remote-ip` to safely determine user IP location
* `light-openid` for the OpenID primitives & as client to handle federation

Reviewed-on: #111
2023-04-29 11:11:24 +00:00
9b18b787a9 Add authentication from upstream providers (#107)
All checks were successful
continuous-integration/drone/push Build is passing
Let BasicOIDC delegate authentication to upstream providers (Google, GitHub, GitLab, Keycloak...)

Reviewed-on: #107
2023-04-27 10:10:28 +00:00
6d2e52d632 Add default clients (#105)
All checks were successful
continuous-integration/drone/push Build is passing
* Add the possibility to create client enabled by default when creating new accounts
* Can mark clients are granted for all users, regardless of users accounts grants

Reviewed-on: #105
2023-04-15 10:19:15 +00:00
0d8af58e16 Refactor users management (#7)
All checks were successful
continuous-integration/drone/push Build is passing
* Improve user settings page layout
2022-11-26 14:57:12 +01:00
f5ac7bf278 Refactor users management (#6)
* Use asynchronous interface to set authorized clients list
2022-11-26 14:51:08 +01:00
d06c0352fc Log all user actions on stdout
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-19 13:38:24 +01:00
060ebe49aa Improve OTP input form
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-12 18:18:48 +01:00
5300b1a8f9 Improve OTP code input 2022-11-12 18:04:27 +01:00
bfe65b0216 Add IP location service
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-12 17:02:34 +01:00
cc4a8a962b User can delete his own 2FA login history
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-11-12 11:51:24 +01:00
7887ccaa41 Show 2FA successful login on 2FA user page 2022-11-12 11:37:15 +01:00
7e1cbb184d Can clear 2FA login history from edit_user page 2022-11-12 11:16:55 +01:00
7a3eaa944e Start to create 2FA exemption after successful 2FA login
Some checks failed
continuous-integration/drone/push Build is failing
2022-11-12 10:24:00 +01:00
c24318f6b8 Add 2FA icons to settings pages
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-11 13:26:09 +01:00
af383720b7 Merge factors type for authentication 2022-11-11 12:26:02 +01:00
433572293b Display app version for administrators
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-22 15:11:30 +02:00
234e77d08a Block pages indexing 2022-04-23 20:41:31 +02:00
05d3bee328 Send authenticate request 2022-04-23 19:20:59 +02:00
1d69ea536f Get auth challenge 2022-04-23 18:56:14 +02:00
f09a62f8df Disable "Start enrollment" button while processing credentials 2022-04-21 19:31:38 +02:00
0f17a8a35c Better sentence meaning 2022-04-21 19:28:54 +02:00
49716a8bf5 Register user security keys 2022-04-21 19:24:43 +02:00
1f0e6d05c8 Generate & return webauthn registration challenge 2022-04-20 21:06:53 +02:00
834ba1987e Improve handling of code input in TOTP page 2022-04-20 17:52:32 +02:00
1a1b31e8a0 Add support for numeric pad 2022-04-20 17:47:23 +02:00
68cb630339 Automatically display first factor input form if there is only one 2022-04-20 12:06:56 +02:00
867021e01a Improve TOTP form
Based on https://bbbootstrap.com/snippets/bootstrap-5-verify-otp-validation-form-inputs-78878858
2022-04-20 11:59:16 +02:00
958f6eaabf Request focus on first input on login page 2022-04-20 09:16:21 +02:00
5e9c410e98 Improve TOPT login page 2022-04-19 20:55:42 +02:00
94aeefe450 Replace type UserID with a structure 2022-04-19 19:40:36 +02:00
806a085c97 Improve redirect URI management 2022-04-19 19:30:24 +02:00
ce7118ff81 Display form to enter OTP code 2022-04-19 19:24:07 +02:00
c1677071fc Add a page to choose second factor 2022-04-19 18:27:21 +02:00
9ff4392afb Replace Option<SecondFactor> with SecondFactor 2022-04-19 17:56:53 +02:00
5903ec2e8c Refactor login flow 2022-04-19 17:49:57 +02:00
78d70af510 Administrators can remove two factor authentication 2022-04-19 17:14:05 +02:00
630ebe2ddd Can remove created factors 2022-04-19 16:17:58 +02:00
8cdb47a139 Rename route 2022-04-19 11:05:41 +02:00
65b5c812b1 Can register Authenticator app 2022-04-19 11:01:31 +02:00
18353f0639 Add form to authenticator page 2022-04-19 10:10:05 +02:00
38eddc1cf0 Generate QrCode to enroll Authenticator App 2022-04-19 09:57:08 +02:00
3023771334 Start to work on 2FA 2022-04-18 19:23:43 +02:00
8c93efd6cd Update copyright notice 2022-04-18 17:15:11 +02:00
5cf1f63674 Fix deprecation warnings 2022-04-18 17:13:41 +02:00
46f7f175b4 Fix checkbox selection issue 2022-04-15 22:04:06 +02:00
ccd465a5e6 Add more information to client_list route 2022-04-15 22:02:16 +02:00
c7d075f94e Can delete user account 2022-04-08 17:54:51 +02:00