Italiano
Apri in Telegram

ConversazioneWhen 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 messaggi · –
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

Un feed pubblico aperto dall'indice di ricerca ChatCrawler — «Google per il Telegram pubblico»; si aggiorna man mano che la community viene scansionata. Orari in UTC.

Solo contenuti pubblici, API ufficiale di Telegram. Informazioni · FAQ · Limiti dell'indice · Rimuovi una pagina · Catalogo · Ricerca · Come calcoliamo