Please provide us with the following information:
This issue is for a: (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
Locally the app is working, when I am hosting it in azure it is not redirecting to home page.
When I am setting secure to true, it is not working.
app.use(
session({
secret: process.env.EXPRESS_SESSION_SECRET,
resave: false,
saveUninitialized: false,
cookie: {
httpOnly: true,
secure: true, // set this to true on production
},
})
);
Any log messages given by the failure
No
Expected/desired behavior
It should redirect to home page.
OS and Version?
Windows 10.
Versions
"@azure/msal-node": "^2.6.2",
Mention any other details that might be useful
Thanks! We'll be in touch soon.
This issue is for a: (mark with an
x)Minimal steps to reproduce
When I am setting secure to true, it is not working.
app.use(
session({
secret: process.env.EXPRESS_SESSION_SECRET,
resave: false,
saveUninitialized: false,
cookie: {
httpOnly: true,
secure: true, // set this to true on production
},
})
);
Any log messages given by the failure
Expected/desired behavior
OS and Version?
Versions
Mention any other details that might be useful