jwt_cookie

command
v0.0.0-...-d7cbdaa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Example shows a basic web app with user register, login and logout capabilities. A Token (JWT) is stored in cookie. Users and sessions are managed in-memory. If the server needs a restart, the cookies must be deleted manually for everything to work smoothly again.

Disclaimer

Code is not production ready. Many things would still have to be improved. Current status served only for learning purposes.

Basic abstraction over JWT token generation and validation specifically for this example web app to maintain sessions using cookies.

Disclaimer

Code is not production ready. Many things would still have to be improved. Current status served only for learning purposes.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL