What does that mean?
You need to input a password and then on it authenticates it on the server side. then if the cookie is logged in, it sends the page
That’s what I did with wasteof lite. Just see the code
With fastapi though