@elvicentela I did this in an interview recently they asked how to keep a user signed in and I was like "???"
You already told me you use a python flask backend just enable it?? It wouldn't make sense to write a custom session system unless there is something special going on