Cookie problem
To ease front integration, the API set 2 cookies apart from the flask's sessions cookie: user_id
and user_name
.
Those cookies have the same lifetime than the flask's session cookie, but I my computer, when I close firefox the flask's session cookie is removed and not the user_id
/user_name
cookie.
this result in inconsistent behavior in the front end when the front thinks the user is logged, but the API disagree ;)
I think we need to remove those additional cookies and find a better way for the front to know that a user is logged in (or find a way for all geovisio cookies to live together)