Commit Graph

36 Commits

Author SHA1 Message Date
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
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
46bf14025b cargo clippy
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-12 11:18:40 +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
94aeefe450 Replace type UserID with a structure 2022-04-19 19:40:36 +02:00
94c601119a Use JWT token for access token 2022-04-15 20:08:31 +02:00
819210ae86 Userinfo endpoint is working 2022-04-15 17:04:23 +02:00
45f125a331 Add code challenge support 2022-04-14 18:04:01 +02:00
078a913f6a Can request refresh tokens 2022-04-14 17:02:47 +02:00
53a540139c Emit id_token 2022-04-13 19:07:58 +02:00
d69b44528e Add /openid/token route 2022-04-12 20:40:44 +02:00
88e34902c0 cargo clippy 2022-04-09 12:25:56 +02:00
5633aae029 Check if user is authorized to access an application before authenticating him 2022-04-09 12:24:03 +02:00
b10215ae9c Save open id session 2022-04-09 12:18:59 +02:00
c7d075f94e Can delete user account 2022-04-08 17:54:51 +02:00
c9ca23cd82 Can create user accounts 2022-04-07 18:59:48 +02:00
a6acbde093 Dynamically check username 2022-04-07 17:57:10 +02:00
754814f04a Display the list of users 2022-04-06 18:03:00 +02:00
83e6871997 Can change user password 2022-04-05 17:17:34 +02:00
e1eb64f27c Display account details 2022-04-04 17:39:23 +02:00
27ba6f9ede cargo clippy 2022-04-03 17:53:57 +02:00
48f4d4c6c5 cargo clippy 2022-04-03 17:40:10 +02:00
886bae32c8 Enable bruteforce protection on login endpoint 2022-04-03 17:33:01 +02:00
9943df4952 Automatically clean failed login attempts 2022-04-03 16:45:25 +02:00
05e911bfc5 Start to implement brute force protection 2022-04-03 16:21:09 +02:00
b965fa6b4f Format code 2022-04-03 15:50:49 +02:00
123dc519af Disabled accounts can not login 2022-04-03 14:42:16 +02:00
4b8c9fdfdc Can request new user password on login 2022-04-02 08:30:01 +02:00
6fdac7fbb1 Add communication with user actor 2022-03-30 12:41:22 +02:00
bfe4674f88 Create users actor 2022-03-30 11:40:03 +02:00