Sessions always empty with flask / heroku
Just in case someone else comes across this question, check APPLICATION_ROOT
configuration variable. I recently deployed a Flask application to a subdirectory under nginx with a reverse-proxy and setting the APPLICATION_ROOT
variable broke Flask's session. Cookies aren't being set under the correct path because of that.