flask-mongoengine icon indicating copy to clipboard operation
flask-mongoengine copied to clipboard

MongoEngineSessionInterface doesn't support SAMESITE attribute

Open Fethbita opened this issue 4 years ago • 0 comments

The SameSite attribute is ignored when flask-mongoengine session interface is used. See save_session in flask-mongoengine and flask: https://github.com/MongoEngine/flask-mongoengine/blob/master/flask_mongoengine/sessions.py#L79 https://github.com/pallets/flask/blob/main/src/flask/sessions.py#L373

Fethbita avatar Aug 24 '21 17:08 Fethbita