Commit Graph

160 Commits

Author SHA1 Message Date
2cca64f9b8 Handle OIDC errors
Some checks failed
continuous-integration/drone/push Build is failing
2023-04-25 18:18:48 +02:00
66ea004705 Improve debug message
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-25 17:45:45 +02:00
3bc53b8f91 Redirect user for authentication 2023-04-25 17:44:51 +02:00
2fe1b4a8b2 Fetch upstream configuration
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-25 16:35:32 +02:00
16ef969e29 Fix bad comment
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-25 15:06:00 +02:00
0fa58f4d3a Generate state for authentication
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-25 15:03:56 +02:00
a0325fefbf Add providers buttons on login page
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-25 14:02:23 +02:00
abd86ff22d Can set authorized authentication providers for a given account 2023-04-24 19:13:36 +02:00
f64f01a958 Can block local login for an account
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-24 18:46:21 +02:00
96ffc669d7 Add logo of popular brands
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-24 16:07:14 +02:00
d9f659ce98 Add basic providers configuration
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-24 15:43:49 +02:00
4f7c56a4b8 Loads clients list only once (#106)
All checks were successful
continuous-integration/drone/push Build is passing
Currently, the list of client is loaded separately for each Actix HTTP handler threads.

In prevision of future improvements, it is worthwhile to load this list only once.

Reviewed-on: #106
2023-04-17 16:49:19 +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
f2e4826b14 Update to code to Rust 1.67
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-02 10:22:15 +01:00
e35f890241 Update crate base64
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-23 16:38:21 +01:00
99780104e0 Fix logic bug on sign in 2022-12-03 12:43:59 +01:00
85e165bd29 Refactor users management (#8)
* Update users backend interface signatures
2022-12-03 12:28:11 +01:00
fc6ab00e30 Refactor users management (#7)
All checks were successful
continuous-integration/drone/push Build is passing
* Improve general settings management by admin
2022-11-26 16:06:16 +01:00
a2d731bfff Refactor users management (#6)
All checks were successful
continuous-integration/drone/push Build is passing
* Improve second factor removal by admin
2022-11-26 15:08:36 +01:00
f5ac7bf278 Refactor users management (#6)
* Use asynchronous interface to set authorized clients list
2022-11-26 14:51:08 +01:00
b68304c976 Refactor users management (#5)
* Use asynchronous interface to clear 2FA history
2022-11-26 14:18:46 +01:00
3e65555d0f Add additional comment
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-19 18:41:49 +01:00
e739b10065 Refactor users management (#4)
All checks were successful
continuous-integration/drone/push Build is passing
* Improve deletion of 2FA factors
2022-11-19 18:35:41 +01:00
ec2f271ed4 Refactor users management (#3)
All checks were successful
continuous-integration/drone/push Build is passing
* Improve creation of 2FA factors
2022-11-19 18:27:08 +01:00
fcf3ec7036 Refactor users management (#2)
All checks were successful
continuous-integration/drone/push Build is passing
* Create UserBackend trait
2022-11-19 18:18:46 +01:00
65d334b947 Refactor users management
All checks were successful
continuous-integration/drone/push Build is passing
* Shard `src/data/user.rs` into two different files
  * One for user data structure (same file)
  * One for user manipulation (new file: `user_file_entity.rs`)
* Isolate password hashing and verification
2022-11-19 17:52:35 +01:00
75d894d648 Simplify delete user call syntax
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-19 16:46:40 +01:00
0c35400e64 Simplify user update call syntax 2022-11-19 16:43:28 +01:00
b10c48d080 Simplify password change call syntax 2022-11-19 16:41:39 +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
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
1fa36c0aff Automatically remove outdated 2FA successful entries 2022-11-12 11:27:19 +01:00
46bf14025b cargo clippy
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-12 11:18:40 +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
af383720b7 Merge factors type for authentication 2022-11-11 12:26:02 +01:00
58b6bd7568 Add RP name in webauthn 2022-08-25 08:03:49 +02:00
34b2e609bd cargo clippy
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-24 13:38:12 +02:00
4450a21225 Update webauthn-rs dependency 2022-08-24 13:33:40 +02:00
68e0aa2565 Update aes dependency
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-20 09:30:36 +02: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
8679b1c367 Fix redirection issue after login
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-07-22 14:36:39 +02:00
24240ca4fd Refactor code 2022-07-22 14:28:44 +02:00
07542abf8b Update actix_identity
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-22 12:21:38 +02:00
1c8c471fc6 Fix typo 2022-04-23 21:01:02 +02:00
6f1e00e737 Add Permissions-Policy header 2022-04-23 20:45:34 +02:00
234e77d08a Block pages indexing 2022-04-23 20:41:31 +02:00
48112dfed7 Make usage of FatalErrorPage more convenient 2022-04-23 20:31:09 +02:00
933c8ff024 Add expiration to webauthn challenges 2022-04-23 20:22:32 +02:00