IT Log

Record various IT issues and difficulties.

Tag: Secure Token Management


  • “How to Implement Front-end Automatic Login”

    To implement front-end automatic login, follow these steps: Generate a JSON Web Token (JWT): When a user logs in and selects “Remember Me,” create a JWT containing the user’s ID and an expiration time. Set HttpOnly Cookies: Store the JWT in an HttpOnly cookie to ensure it’s inaccessible from client-side JavaScript, enhancing security. Automate Cookie…