nuxt / framework

Old repo of Nuxt 3 framework, now on nuxt/nuxt

Home Page:https://nuxt.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

check authentication

PouryaNoufallah96 opened this issue · comments

Environment

production

Reproduction

https://github.com/PouryaNoufallah96/udsurvey

Describe the bug

hello.
i'm checking my jwt authentication api in a nuxt plugin and everything works just fine in development. but when I deploy project on netlify in production env it seems like my plugin or middleware not working . even when I'm logged in and check-auth API called successfully but middleware redirect me to the login page and then in login page my home page will render again after check-auth api finished. i really tested everything

Additional context

No response

Logs

No response