5 Commits

Author SHA1 Message Date
Amir Zarrinkafsh
6628760c21
fix: root domain detection
The current solution does not support second-level domains or IP addresses, the jwt cookie cannot be set properly and a user will be unable to login.

This change allows user to publish Heimdall on IP addresses or second-level domains successfully.
2021-09-13 14:02:06 +10:00
maleksandrov
8d65677fa7 fix user no pass login and cookie maxAge extension 2021-04-14 14:56:36 +03:00
Alex Phillips
18d34dab26 cookie handling is now server-side so we can set the domain properly, added in forward auth support for traefik - still needs to have the redirect handled client-side upon successful login 2021-01-20 19:23:47 -05:00
alex-phillips
6a8d491791 added new middleware to handle async errors, added custom error handler to make sure all errors are sent down as JSON 2020-02-28 11:18:30 -05:00
alex-phillips
ad9726cba9 eslinting fixes, initial commit of express server with JWT auth, middleware for attaching user to request object, and cors implemented 2020-02-14 12:05:42 -05:00