41 Commits

Author SHA1 Message Date
473e5bfe50 Update Rust crate actix-web to v4.6.0 (#271)
All checks were successful
continuous-integration/drone/push Build is passing
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actix-web](https://actix.rs) ([source](https://github.com/actix/actix-web)) | dependencies | minor | `4.5.1` -> `4.6.0` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguOCIsInVwZGF0ZWRJblZlciI6IjM3LjM2OC44IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Reviewed-on: #271
2024-05-23 09:20:43 +00:00
9a79ef701b Need to perform 2FA before modifying factors 2024-03-27 19:26:07 +01:00
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
e71fad8546 Check login before logging it 2024-02-19 19:11:13 +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
99780104e0 Fix logic bug on sign in 2022-12-03 12:43:59 +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
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
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
48112dfed7 Make usage of FatalErrorPage more convenient 2022-04-23 20:31:09 +02:00
1d69ea536f Get auth challenge 2022-04-23 18:56:14 +02:00
68cb630339 Automatically display first factor input form if there is only one 2022-04-20 12:06:56 +02:00
1e401a0b10 Authentication using TOPT code is working 2022-04-20 09:35:57 +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
5903ec2e8c Refactor login flow 2022-04-19 17:49:57 +02:00
5cf1f63674 Fix deprecation warnings 2022-04-18 17:13:41 +02:00
f6403afa34 Move login templates to a specific folder 2022-04-05 17:42:01 +02:00
30c8470bcb Simplify code 2022-04-05 17:23:26 +02:00
fef8ca84f4 simplify functions 2022-04-03 18:10:33 +02:00
aa5327d603 Improve returned error code 2022-04-03 17:48:55 +02:00
886bae32c8 Enable bruteforce protection on login endpoint 2022-04-03 17:33:01 +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
f08fddc79c Can redirect user on successful login 2022-04-02 19:44:13 +02:00
4b8c9fdfdc Can request new user password on login 2022-04-02 08:30:01 +02:00
41ee80a077 Refactor sessions management 2022-04-01 22:51:33 +02:00
372dfa3f31 User can sign out 2022-04-01 19:05:40 +02:00
e07dee7fde Redirect user after successful login 2022-04-01 18:59:17 +02:00
eab9bdf7f5 Add actix-identity crate 2022-03-30 16:58:00 +02:00
6fdac7fbb1 Add communication with user actor 2022-03-30 12:41:22 +02:00
70aaa1ff44 Display login page 2022-03-30 11:00:20 +02:00
5bc4af399d Ready to implement login page 2022-03-30 10:29:10 +02:00