Closed
Description
Calling my development microservices with http://localhost/api the credentials cookies are sent. Setting it to production to run against https://api.server/api it doesn't send the cookies any more.
First I thought it was due to this, but by deactivating it in "plugin.template.js" it is still not working:
axios.interceptors.request.use(config => {
// if (config.withCredentials === undefined) {
// if (!/^https?:\/\//i.test(config.url) || config.url.indexOf(baseURL) === 0) {
config.withCredentials = true
// }
// }
return config
});
Can anyone give me a hint how you are calling your microservices api?
Metadata
Metadata
Assignees
Labels
No labels