For version v5
Update the auth method in your config.
auth
auth: { method: 'jwt', },
Update to your .env file.
.env
VITE_SERVER_URL=https://api-dev-minimal-v6.vercel.app {/* Or your own server */} ...