When implementing the login request on the frontend, ensure the credentials option is included in the Axios request to allow cookies or authentication tokens to be sent along with the request. For example:
const response = await axios.post('your-login-endpoint',{'your-body-data'},{withCredentials: true});