I am new to Flask and am trying to use it with Google Cloud to build an app. When adding flash() statements to display error messages to users, I get the following error:
TypeError: set_cookie() got an unexpected keyword argument 'samesite'.
I am not sure how to fix this. I have set the secret_key and looked at the examples.
Any help with this is appreciated.