English
Open in Telegram

Thread When using a Flask web app with Flask-Login, a cookie is saved in the browser. If a user attempts to modify the cookie k…

7 messages · –
N
When using a Flask web app with Flask-Login, a cookie is saved in the browser. If a user attempts to modify the cookie key, Flask detects and blocks the login attempt. What is the best equivalent approach in FastAPI? I have heard that I need to manually implement something with middleware, but I do not understand what is required here. Based on your experience, what do I need to learn to implement a standard email and password login mechanism in FastAPI or any better easy way ?
    1. N
      i find that JWT, i am currently using fastapi to make normal website with html,css,js here jwt will a good choice ???
      1. R
        Well yeah, you can You can store whatever in a cookie But that is not the usual way how APIs work Of course, it always depends on the use case

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count