You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using AUTH_TYPE=google_oauth as authentification.
Once logged, if we try to logout, it will not logout. Currently it will redirect to /auth/login, that see you are logged and so redirect to /chat.
In web/src/app/auth/logout/route.ts, it only removes the cookie when NEXT_PUBLIC_CLOUD_ENABLED is true, I wonder why we do not always delete the auth cookie ?
As a quick fix, I replaced NEXT_PUBLIC_CLOUD_ENABLED by true in web/src/app/auth/logout/route.ts, and I have the expected behavior.
The text was updated successfully, but these errors were encountered:
Hello,
We are using
AUTH_TYPE=google_oauth
as authentification.Once logged, if we try to logout, it will not logout. Currently it will redirect to
/auth/login
, that see you are logged and so redirect to/chat
.In
web/src/app/auth/logout/route.ts
, it only removes the cookie when NEXT_PUBLIC_CLOUD_ENABLED is true, I wonder why we do not always delete the auth cookie ?As a quick fix, I replaced NEXT_PUBLIC_CLOUD_ENABLED by true in
web/src/app/auth/logout/route.ts
, and I have the expected behavior.The text was updated successfully, but these errors were encountered: