Commit Graph

807 Commits

Author SHA1 Message Date
Lennart
5e4cdc6a12 oidc: Add checking of state returned by IdP 2025-04-20 21:30:32 +02:00
Lennart
2c74d56f50 Refactoring of frontend and OIDC
I want to make some code reusable for other projects
2025-04-20 21:23:52 +02:00
Lennart
678d2291e0 frontend: Move oidc configuration to dedicated section 2025-04-20 20:42:24 +02:00
Lennart
cd0ebc574a rustical_dav: Add Overwrite header 2025-04-20 17:47:11 +02:00
Lennart
8eb46523a3 dav: Outsource PrincipalResource AT to where it's actually needed 2025-04-19 12:43:32 +02:00
Lennart
54e327d764 dav: Make reusable for other projects 2025-04-18 13:26:44 +02:00
Lennart
626eff0373 Add CLI for most basic user management 2025-04-17 23:27:43 +02:00
Lennart
39b1da3a8f edit stylesheet 2025-04-17 23:25:39 +02:00
Lennart
fec9932fd8 I messed up the documentation link 2025-04-17 22:24:18 +02:00
Lennart
92322b9fcb Move stuff from README.md to docs 2025-04-17 22:21:04 +02:00
Lennart
2f685bbeed docs: Update 2025-04-17 22:11:26 +02:00
Lennart
2bd1c0912f docs: Check link to cargo docs 2025-04-17 22:06:38 +02:00
Lennart
f556b5a37f docs: another iteration 2025-04-17 22:00:16 +02:00
Lennart
9f434f06d6 docs: Test building crate docs 2025-04-17 21:51:39 +02:00
Lennart
92dc69fdef work on documentation 2025-04-17 21:29:36 +02:00
Lennart
f8e83971dd Fix docs workflow 2025-04-17 21:20:21 +02:00
Lennart
b724021c4c First attempt at some documentation 2025-04-17 21:17:41 +02:00
Lennart
63ee4d7d53 frontend: set max width 2025-04-16 21:51:15 +02:00
Lennart
5b0868c544 frontend stuff 2025-04-16 21:14:49 +02:00
Lennart
68e824e6ba stylesheet change 2025-04-16 20:53:55 +02:00
Lennart
b24c7ca52a some minor frontend work 2025-04-16 20:52:56 +02:00
Lennart
df3f8ea06d Rename userid_claim option and document OIDC options 2025-04-16 17:28:45 +02:00
Lennart
90606092ed OIDC: Add configurable user id (between sub and preferred_username) 2025-04-16 17:26:12 +02:00
Lennart
fc147c388a OIDC: Add option to require group from IdP 2025-04-16 17:16:29 +02:00
Lennart
ed84fb894f Wrap app tokens and password of User in secret type 2025-04-16 16:30:45 +02:00
Lennart
9bff8c228d fix test again 2025-04-14 18:11:19 +02:00
Lennart
5e045ac16d Update README.md 2025-04-14 18:08:06 +02:00
Lennart
0b7e6bb7ce Support for disabling password login 2025-04-14 18:06:36 +02:00
Lennart
93b967093c Make stricter distinction between password and app tokens 2025-04-14 18:00:07 +02:00
Lennart
34b20d4ead fix 2025-04-14 17:44:51 +02:00
Lennart
154d0c80c0 refactoring 2025-04-14 17:32:53 +02:00
Lennart
8258e95bb1 Actually fix tests 2025-04-14 17:29:36 +02:00
Lennart
1157e334ab frontend: Fix app token generation form 2025-04-14 17:23:53 +02:00
Lennart
ff73589004 fix tests 2025-04-14 17:22:28 +02:00
Lennart
7b58df4153 Prevent empty app tokens 2025-04-14 17:19:37 +02:00
Lennart
2ce8529002 Some refactoring and app token management 2025-04-14 17:17:36 +02:00
Lennart
354c6c97eb Fix frontend login for nextcloud flows 2025-04-13 20:22:15 +02:00
Lennart
b2c1bd6b8d Fix tracing 2025-04-13 20:13:28 +02:00
Lennart
64233f91d2 frontend: Janky code to make redirects after login work 2025-04-13 19:55:48 +02:00
Lennart
14e5533b6f Move nextcloud_login to frontend crate 2025-04-13 19:00:51 +02:00
Lennart
a60d8deacc frontend: Minor work to make it a little less terrible 2025-04-13 18:42:13 +02:00
Lennart
8976832e6b Fix restoring for group calendars 2025-04-13 18:08:40 +02:00
Lennart
fe0bab00f6 frontend: Add button to log out 2025-04-13 15:49:27 +02:00
Lennart
0c5002f357 Fix tests 2025-04-13 15:35:58 +02:00
Lennart
cf3d9bb16b Add initial OIDC support #33 2025-04-13 15:31:58 +02:00
Lennart
f132f9ccc8 Add insert_principal method to AuthenticationProvider 2025-04-13 15:29:43 +02:00
Lennart
63c16f411d frontend: Show group calendars 2025-04-12 13:13:16 +02:00
Lennart
30b0bf5b56 User middleware, fix #54 2025-04-12 13:12:48 +02:00
Lennart
6369fb3542 Update Cargo.lock 2025-04-12 12:19:06 +02:00
Lennart
ebca856337 Docker: Update Rust to 1.86 2025-04-12 12:18:14 +02:00