Quantcast
Viewing all articles
Browse latest Browse all 151

How to handle login on fronted?

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

Read full topic


Viewing all articles
Browse latest Browse all 151

Trending Articles