What is the right way to set cookie secureflag in jmix web application. I have tried setting server.servlet.session.cookie.secure=true
as well as server.servlet.session.cookie.http-only=true
in application.properties file but does not wok. Please suggest a workaround.
The problem here is when I run the project from IDE on localhost is showing cookie secure, but when same project is exported to boot war and deployed on tomcat cookie secure flag is shown false.