Hello, i’m creating website using go templ with htmx as stack (i never done frontend before) How do I store/use jwt on frontend? I have login form that sends username and password over https, i’m doing authorization on the server, generating jwt and then what? i can return jwt as text/plain. Are there any small js library for handling login/singup form and then storing jwt token in http only cookie?
3 posts - 3 participants