Token (cookie) is lost on refresh using Docker #718
Labels
bug
A bug that needs to be resolved
needs-reproduction
Action needed: A valid reproduction of the issue needs to be added
provider-local
An issue with the local provider
Environment
Reproduction
No reproduction, sorry. I think it's pretty straight forward.
Describe the bug
My app runs fine with
npm run dev
andnpm run build
until I dockerize it for production. I use the Dockerfile template provided by sidebase. I executenpm run build
in the Dockerfile and run it withnode /app/.output/server/index.mjs
. I uselocal
provider. When I log in with credentials, everything works fine, until I refresh the page and the token (cookie) is gone and the user is sent back to the login page. Is the vueApp being unmounted on refresh? Is the session data lost on refresh?Additional context
Dockerfile
Docker Compose
Is this a Docker issue? Did I do something wrong?
Logs
No response
The text was updated successfully, but these errors were encountered: