Login in FastAPI + Jinja Demo with code

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

where should I keep the token? I am using fastapi and jinja2 templates, and when correctly logging in the site is going to another page (as logged in) but I have no idea what to do with the token. Should I create a global variable "token" in backend or what?

aleksanderniemirka
join shbcf.ru