8319afc7ea
refactor/fix: now using pgx errors for postgres error checking instead of trying to look up the error code;
...
feat: implemented working custom validation;
fix: authservice begin/complete registration
2025-07-05 03:08:00 +03:00
96e41efdec
feat: added session guid and token type fields to jwt tokens;
...
feat: very minimal implementation of registration functions;
refactor: login function now uses the transactional db helper function and creates a session;
feat: enum for jwt token type
2025-07-01 14:18:01 +03:00
69d55ce060
fix: added missing return statement;
...
refactor: redundant comments
2025-06-25 16:21:16 +03:00
cbcfb8a286
feat: middleware for request body parsing, validation and authentication;
...
feat: helper function for getting request info from gin context
2025-06-24 17:31:48 +03:00
c2059dcd6e
feat: middlewares for authorization and automatic request parsing;
...
feat: roles enum
2025-06-24 13:57:39 +03:00
be9aee7145
chore: GPL-3.0 license propagated into *.go files in backend
2025-06-24 01:37:47 +03:00
4e3554346a
feat: auth middleware;
...
fix: backend healthcheck
2025-06-19 14:08:51 +03:00