Files
remark42/backend/app/cmd
Dmitry Verkhoturov ddb490bbc1 Fix login persistence with AUTH_SEND_JWT_HEADER enabled
With AUTH_SEND_JWT_HEADER=true, frontend now properly handles JWT authentication:
- Store JWT token in client-side cookie named 'JWT'
- Extract and store XSRF token from JWT payload
- Set Secure flag automatically when on HTTPS connection
- Update documentation to clarify this behavior

This fixes an issue where login state would be lost after page reload
when using header-based JWT authentication.
2025-04-29 23:45:55 +01:00
..
2024-12-09 01:54:03 +00:00
2024-12-09 01:54:03 +00:00
2022-07-25 12:42:13 -05:00
2022-07-25 12:42:13 -05:00
2022-07-25 12:42:13 -05:00
2022-07-25 12:42:13 -05:00