412 Commits

Author SHA1 Message Date
5e0b52bbda Update README 2023-04-27 12:03:58 +02:00
1f3dfaa665 Show redirect URI on providers page 2023-04-27 11:57:42 +02:00
4511f0f5c7 Increase TOPT secret length 2023-04-27 11:44:49 +02:00
930cb8bf33 Remove port from domain on TOPT URI 2023-04-27 11:38:17 +02:00
d46997de14 Remove change password button from sidebar if local auth is disabled 2023-04-27 10:50:28 +02:00
21cc77b9c2 Fix bad redirection URL 2023-04-27 10:35:41 +02:00
4152444a83 Finish authentication 2023-04-27 10:27:37 +02:00
0fdc8b2e4b Map provider given email with local account 2023-04-27 10:04:35 +02:00
bf20e5ad13 Query userinfo endpoint 2023-04-26 14:37:31 +02:00
b26e283f7d Handle errors cases when retrieving login token & rate limiting 2023-04-26 14:11:44 +02:00
bee794a589 Retrieve access token from provider 2023-04-26 12:22:22 +02:00
38e7c96d20 Properly handle cb errors 2023-04-25 18:28:45 +02:00
2cca64f9b8 Handle OIDC errors 2023-04-25 18:18:48 +02:00
66ea004705 Improve debug message 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 2023-04-25 16:35:32 +02:00
16ef969e29 Fix bad comment 2023-04-25 15:06:00 +02:00
0fa58f4d3a Generate state for authentication 2023-04-25 15:03:56 +02:00
a0325fefbf Add providers buttons on login page 2023-04-25 14:02:23 +02:00
92d04f3312 Fix bad comment 2023-04-24 19:14:46 +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 2023-04-24 18:46:21 +02:00
96ffc669d7 Add logo of popular brands 2023-04-24 16:07:14 +02:00
d9f659ce98 Add basic providers configuration 2023-04-24 15:43:49 +02:00
e73b5b8e5b Update dependencies 2023-04-24 15:14:10 +02:00
4f7c56a4b8 Loads clients list only once ()
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: 
2023-04-17 16:49:19 +00:00
6d2e52d632 Add default clients ()
* 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: 
2023-04-15 10:19:15 +00:00
f1ac19cca1 Merge pull request 'Update Rust crate clap to 4.2.1' () from renovate/clap-4.x into master
Reviewed-on: 
2023-04-15 08:08:37 +00:00
6e9fbc325a Update Rust crate qrcode-generator to 4.1.8 ()
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [qrcode-generator](https://magiclen.org/qrcode-generator) ([source](https://github.com/magiclen/qrcode-generator)) | dependencies | patch | `4.1.7` -> `4.1.8` |

---

### Release Notes

<details>
<summary>magiclen/qrcode-generator</summary>

### [`v4.1.8`](https://github.com/magiclen/qrcode-generator/compare/v4.1.7...v4.1.8)

[Compare Source](https://github.com/magiclen/qrcode-generator/compare/v4.1.7...v4.1.8)

</details>

---

### Configuration

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

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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:eyJjcmVhdGVkSW5WZXIiOiIzNS40MS4wIiwidXBkYXRlZEluVmVyIjoiMzUuNDEuMCJ9-->

Reviewed-on: 
2023-04-15 08:07:58 +00:00
3605f0e13c Merge pull request 'Update Rust crate serde to 1.0.159' () from renovate/serde-1.x into master
Reviewed-on: 
2023-04-11 11:53:59 +00:00
27d02480ac Update Rust crate serde to 1.0.159 2023-03-31 00:03:07 +00:00
c3c8a1c49b Update Rust crate clap to 4.2.1 2023-03-31 00:02:59 +00:00
dd82a6dac2 Merge pull request 'Update Rust crate clap to 4.1.13' () from renovate/clap-4.x into master
Reviewed-on: 
2023-03-29 08:35:22 +00:00
c085081c5f Merge pull request 'Update Rust crate chrono to 0.4.24' () from renovate/chrono-0.x into master
Reviewed-on: 
2023-03-29 08:35:08 +00:00
f91cfe2c96 Merge pull request 'Update Rust crate futures-util to 0.3.27' () from renovate/futures-util-0.x into master
Reviewed-on: 
2023-03-29 08:34:59 +00:00
1ca47c0454 Update Rust crate clap to 4.2.0 2023-03-29 00:17:44 +00:00
f558b382cb Update Rust crate futures-util to 0.3.27 2023-03-29 00:17:31 +00:00
dc449dfe42 Update Rust crate chrono to 0.4.24 2023-03-25 00:17:13 +00:00
5064ac33ed Merge pull request 'Update Rust crate clap to 4.1.6' () from renovate/clap-4.x into master
Reviewed-on: 
2023-03-11 12:54:23 +00:00
31a433974d Merge pull request 'Update Rust crate jwt-simple to 0.11.4' () from renovate/jwt-simple-0.x into master
Reviewed-on: 
2023-03-11 12:53:59 +00:00
0c50603e22 Update Rust crate jwt-simple to 0.11.4 2023-02-25 00:19:18 +00:00
a7339939c7 Update Rust crate clap to 4.1.6 2023-02-25 00:19:13 +00:00
d28914eac8 Merge pull request 'Update Rust crate clap to 4.1.4' () from renovate/clap-4.x into master
Reviewed-on: 
2023-02-10 17:13:41 +00:00
eca0d48e05 Merge pull request 'Update Rust crate futures-util to 0.3.26' () from renovate/futures-util-0.x into master
Reviewed-on: 
2023-02-10 17:13:15 +00:00
de8f8614e3 Merge pull request 'Update Rust crate serde_json to 1.0.93' () from renovate/serde_json-1.x into master
Reviewed-on: 
2023-02-10 17:11:22 +00:00
9a415c8795 Merge pull request 'Update Rust crate bcrypt to 0.14.0' () from renovate/bcrypt-0.x into master
Reviewed-on: 
2023-02-10 17:11:02 +00:00
e99213c678 Update Rust crate bcrypt to 0.14.0 2023-02-10 00:12:00 +00:00
4d4f9f0bdf Update Rust crate serde_json to 1.0.93 2023-02-10 00:11:54 +00:00
8d419dc74f Update Rust crate futures-util to 0.3.26 2023-02-10 00:11:45 +00:00
da59e33687 Update Rust crate clap to 4.1.4 2023-02-10 00:11:39 +00:00