Commit Graph

19 Commits

Author SHA1 Message Date
Lennart
031d94c9d1 Some preparations for supporting principal memberships 2025-02-02 11:34:10 +01:00
Lennart
d67efd8feb Remove accidentally pushed code 2025-02-02 10:31:34 +01:00
Lennart
21af6b0535 auth: Remove unused UserStore trait and put app_tokens into User struct 2025-01-29 10:28:07 +01:00
Lennart
577091cf02 Workaround for #10 2025-01-04 16:10:07 +01:00
Lennart
4fd32b3f33 minor cleanup stuff 2024-11-03 23:21:27 +01:00
Lennart
31c7143dd8 frontend: Add redirect to login page for unauthorized requests 2024-11-03 16:23:37 +01:00
Lennart
0f2db05a07 Add some CLI commands to generate a default configuration and password hashes 2024-11-03 13:17:38 +01:00
Lennart
3ea004f75d store auth: Fix bug that app tokens were only usable when password is set 2024-11-03 13:10:52 +01:00
Lennart
ac0206568d remove debug print 2024-10-13 19:53:25 +02:00
Lennart
7ce0fc53a4 Add authentication with session cookie 2024-10-13 19:05:57 +02:00
Lennart
c2dbd9d0b9 auth: Add tracing around token validation 2024-10-09 00:30:42 +02:00
Lennart
41aa1a2105 Add proper Unauthorized error for user extractor 2024-10-09 00:07:13 +02:00
Lennart
f7d253de85 Add app tokens (secondary passwords) to afford cheaper hashes 2024-10-06 12:54:19 +02:00
Lennart
4e85d129d1 change user.rs 2024-10-04 11:58:29 +02:00
Lennart
a47d056df0 Massive refactoring how DAV resources and routes work 2024-10-03 23:02:13 +02:00
Lennart
9c8c05eaca Fix that auth middleware should not actually throw an error when unauthorized 2024-10-03 20:24:14 +02:00
Lennart
4872d67a36 remove comment 2024-10-03 19:55:43 +02:00
Lennart
dd3d05907c Move authentication middleware into the caldav scope 2024-10-03 19:55:05 +02:00
Lennart
6f12a1d80e completely rebuilt the auth implementation to support OIDC in the future 2024-10-03 19:47:50 +02:00