28 Commits

Author SHA1 Message Date
ed00e1150f Refactor OIDC configuration keys for consistency and clarity 2025-05-18 17:48:51 -05:00
e51c71da67 Add comment explaining where to set defaults and why. 2025-05-18 17:36:11 -05:00
d53f26b59b Enhance configuration loading by validating direct values and file paths for secrets 2025-05-18 17:16:01 -05:00
e5e9efd9b3 Refactor start.go to move server logic to internal server.go 2025-05-11 04:32:54 -05:00
64d40bd108 Serve templates and static files from designated directories 2025-05-07 21:48:51 -05:00
59bd796233 Set more generous timeouts. Why not? I am feeling generous. 2025-05-01 00:50:26 -05:00
1362c2755d Add response compression middleware to enhance performance 2025-04-29 10:33:13 -05:00
83b38498c8 Refactor CSRF secret handling to validate key length and improve error messaging 2025-04-29 03:34:01 -05:00
1581fbca4b Refactor CORS and CSRF middleware to use options directly and remove default config functions 2025-04-29 03:19:47 -05:00
b2ead348e5 Implement CSRF protection middleware with configurable secret and cookie options 2025-04-29 01:42:54 -05:00
6abd03ea96 rearrange middleware 2025-04-28 02:47:26 -05:00
c2265330dd CORS middleware. And fix middleware types for logging and securityheaders. 2025-04-28 02:47:22 -05:00
e8f22496e1 Make logging first middleware. 2025-04-28 01:51:39 -05:00
78caaa1053 Rename timeout middleware 2025-04-27 22:27:24 -05:00
2e4b2aba45 Implement structured logging and enhance middleware with context-aware logging 2025-04-27 03:03:57 -05:00
bfdf7bf7d2 Add a timeout middleware to the server 2025-04-22 01:45:21 -05:00
d53afa4903 Add RequestID middleware for tracing and enhance logging with request IDs 2025-04-21 00:03:00 -05:00
9fd027fcda Add recovery middleware to handle panics and log errors 2025-04-20 23:45:44 -05:00
bd455f1782 Add MaxBodySize middleware and update .gitignore for config files 2025-04-20 01:29:13 -05:00
0ba5eee981 Refactor authentication middleware and enhance security headers 2025-02-25 13:39:24 -06:00
8759bd2454 Update redirect URLs to use hostname and clean up command flags 2025-02-25 00:20:39 -06:00
d587e97dbe redirect-url not same for login and logout 2025-02-24 03:14:36 -06:00
301b036f3c Add Keycloak integration for logout functionality and create login/logout HTML components 2025-02-22 20:55:14 -06:00
e7f1e6ae92 Implement OIDC authentication middleware and session management 2025-02-22 02:28:57 -06:00
7d49e49de0 Logging middleware added. 2025-02-21 18:49:46 -06:00
0b4cc932b6 Start implementing middleware for logging and authentication in member-console application 2025-02-21 11:22:45 -06:00
f8d7daf96b Fix port flag, add env prefix, and start writing the keycloak compose file. 2025-02-20 02:39:26 -06:00
06ab266d33 Add initial implementation of member-console application with basic commands 2025-02-20 00:25:58 -06:00