Commit Graph

9 Commits

Author SHA1 Message Date
abebb84c69 feat: helper functions for checking roles and a demo endpoint 2025-07-17 13:48:12 +02:00
3cd2eff522 fix: use userid for jwt, migration for user roles 2025-07-17 10:39:22 +02:00
f34a1ee995 feat: experimental cors support 2025-07-16 21:30:57 +02:00
09bc6637a8 feat: provide user data on login, minor fix to seeding, logical fixes 2025-07-16 16:51:54 +02:00
934b69b11b chore: add API documentation to swagger 2025-07-15 20:08:23 +02:00
1da5e47b88 fix: revert passing password hash for jwt generation
builder in Program.cs is not aware of it, so [Authorize] decorator can't
be provided data necessary to validate requests which contain JWT with
password
2025-07-15 18:00:20 +02:00
a355c668bd chore: (WIP) group controllers, slightly annotate code 2025-07-15 13:24:39 +02:00
f275463a3d feat: add db-based user log-on, invalidate tokens made for old passwords 2025-07-15 12:38:02 +02:00
d0fc4e5ef2 feat: offload jwt generation to guhf, move auth code to new controller 2025-07-15 11:19:59 +02:00