Commit Graph

627 Commits

Author SHA1 Message Date
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
0e02b63d93 Refuse to deliver token if code_verifier is present without code challenge 2022-04-20 09:52:00 +02:00
d7344feb9b Merge pull request 'Two factor authentication : TOTP' (#5) from twofactors into master
Reviewed-on: #5
2022-04-20 09:40:48 +02:00
0260742c01 Finish implementation of Authenticator App 2022-04-20 09:39:28 +02:00
1e401a0b10 Authentication using TOPT code is working 2022-04-20 09:35:57 +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
e8b3828f2c cargo clippy 2022-04-19 20:52:59 +02:00
94aeefe450 Replace type UserID with a structure 2022-04-19 19:40:36 +02:00
feb6db09b9 Fix typo 2022-04-19 19:33:16 +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
3add7a5d37 Rename SecondFactor => TwoFactor 2022-04-19 17:57:50 +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
deb00c572d Prevent crash from occuring 2022-04-19 16:01:16 +02:00
8cdb47a139 Rename route 2022-04-19 11:05:41 +02:00
b5a2f1abcb cargo clippy 2022-04-19 11:03:10 +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
c0d1c41b4c Update README 2022-04-18 17:17:02 +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
fad92c5930 Deprecate dangerous feature 2022-04-18 17:05:26 +02:00
65b3289900 Update README 2022-04-18 17:02:30 +02:00
bd23d6d454 Add README & LICENSE 2022-04-18 17:00:28 +02:00
6d6161b176 Merge pull request 'Update Rust crate clap to 3.1.9' (#3) from renovate/clap-3.x into master
Reviewed-on: #3
2022-04-18 16:50:36 +02:00
drone
16804ed044 Update Rust crate clap to 3.1.9 2022-04-17 15:18:43 +00:00
bce601c550 Adapt OpenID discovery route to cluster configuration 2022-04-16 09:06:59 +02:00
5952de1c84 Add dockerfile 2022-04-15 22:09:26 +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
489f938b71 Can specify environment variables in client configuration 2022-04-15 21:58:07 +02:00
937343c5f9 Add email to id_token 2022-04-15 20:34:07 +02:00
03a4bbb580 Cargo clippy 2022-04-15 20:18:36 +02:00
acabf438ed Reduce access tokens length 2022-04-15 20:16:02 +02:00
94c601119a Use JWT token for access token 2022-04-15 20:08:31 +02:00
69bb2816b9 Can disable code_challenge for specific clients 2022-04-15 19:26:17 +02:00
cac461e03d Can bypass code verifier for specific clients 2022-04-15 18:28:53 +02:00
1d21b30b68 Fix bad issuer 2022-04-15 17:30:43 +02:00
e0016b8305 More permissive redirect uris 2022-04-15 17:27:53 +02:00
819210ae86 Userinfo endpoint is working 2022-04-15 17:04:23 +02:00
b867016a71 Start to build userinfo endpoint 2022-04-14 18:39:18 +02:00
27cee8d3a0 Simplify code 2022-04-14 18:07:30 +02:00
45f125a331 Add code challenge support 2022-04-14 18:04:01 +02:00