Can not login after activating sessionCookie.secure=true
-
Hi all,
I have uncommented sessionCookie.secure=true on env.propertites file and restarted Mango v4.0.0.beta5. Then, when I try to login, my credentials does not accepted and get an error "Login failed — Bad credentials".
What could be the possible cause for that?
I that enough to just activate sessionCookie.secure=true, in order to add secure flag to session?
Thanks in advance!
-
Its likely used in conjuction with the ssl settings Id imagine, going off of the name of the property
Fox
-
Hi @MattFox ,
You mean that in order to add secure flag to session first we should configure ssl settings on env.properties file? Then activate sessionCookie.secure=true.
Am I right?
Thanks,
-
I believe that is the case, yes.
Sorry I have not looked at the help docs to give you a better answer -
I was a bit off the mark.
It relates to using the cloud connect module:
https://docs-v3.mango-os.com/cloud-connect?rq=sessioncookieif you want a secure flag on your browser, set up SSL or a reverse proxy with ssl at the front.
Fox