When the sessionid cookie is deleted, and a get request on a modal is send, the modal is still opened and we don't want that behavior. We want to jump directly on the SignIn page.
Maybe a solution:
Add a specific check in middleware.py with the modal authentified modal request. return a specific value to handle in front.
Handle the specific value return from the back and create a specific flow for the modal.
Issue
When the sessionid cookie is deleted, and a get request on a modal is send, the modal is still opened and we don't want that behavior. We want to jump directly on the SignIn page.
Maybe a solution: