Closed
Description
Version
nuxt-directus-next: 0.0.14
nuxt: 3.11.1
Steps to reproduce
Login with simple function:
async function attemptLogin() {
const result = await login(email, password);
}
Successfully logs in and creates two cookies: 'directus_access_token' and 'directus_refresh_token'.
Attempt logout with simple function:
const handleLogout = async () => {
await logoutUser();
})
What is Expected?
Expected to logout user and remove tokens.
Error response: "Invalid payload. The refresh token is required in either the payload or cookie."