Commit Graph

14 Commits

Author SHA1 Message Date
601d99bccd zdjęcia 2025-07-24 10:47:20 +02:00
468d502827 fix: disable clock skew
reference:
https://stackoverflow.com/a/46231102
https://stackoverflow.com/a/47155318
2025-07-22 11:00:10 +02:00
ddfab4dac1 fix: cors allows any method for known origins 2025-07-21 11:15:05 +02:00
af233d9ee9 feat: bring authorization bearer to swagger 2025-07-18 09:41:30 +02:00
abebb84c69 feat: helper functions for checking roles and a demo endpoint 2025-07-17 13:48:12 +02:00
f34a1ee995 feat: experimental cors support 2025-07-16 21:30:57 +02:00
b84de07941 feat: enable request logging for development environment 2025-07-16 21:25:13 +02:00
9e00954c29 Seedowanie 2025-07-16 11:34:03 +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
d0fc4e5ef2 feat: offload jwt generation to guhf, move auth code to new controller 2025-07-15 11:19:59 +02:00
b6dc1ce2cd feat: jwt token example 2025-07-15 10:22:53 +02:00
5e2e70b415 feat: basic database model 2025-07-14 12:26:27 +02:00
e87c653fae chore: commit files from an ASP.NET template 2025-07-09 04:18:18 +02:00