yvl
yvl
BABetter Auth
Created by yvl on 4/4/2025 in #help
Logging In as a different user
Okay thank you so much! I'll keep you updated if the issue arises again.
21 replies
BABetter Auth
Created by yvl on 4/4/2025 in #help
Logging In as a different user
Okay great! Thanks for this, we upgraded to the latest version. Also, do you think this might be related to Fluid Compute by Vercel?
21 replies
BABetter Auth
Created by yvl on 4/4/2025 in #help
Logging In as a different user
One of the uses mentioned that they saw their name changed to different users a few times
21 replies
BABetter Auth
Created by yvl on 4/4/2025 in #help
Logging In as a different user
We are trying to replicate the bug but it works fine for us. The issue occurs when we are running events and people are signing in at the same time in the same room. Looking at our logs, there seems to be an issue where the sessions mismatches between the client and server here:
const { data: session, isPending, error } = client.useSession();
const { data: session, isPending, error } = client.useSession();
and the session in
const session = await auth.api.getSession({ headers: requestHeaders });
const session = await auth.api.getSession({ headers: requestHeaders });
are not the same.
21 replies
BABetter Auth
Created by yvl on 4/4/2025 in #help
Logging In as a different user
We will update it to the latest version. Also, what do you mean by POC?
21 replies
BABetter Auth
Created by yvl on 4/4/2025 in #help
Logging In as a different user
21 replies
BABetter Auth
Created by yvl on 4/4/2025 in #help
Logging In as a different user
This is our config:
21 replies
BABetter Auth
Created by yvl on 4/4/2025 in #help
Logging In as a different user
We are using Next.js. const { data: session, isPending, error } = client.useSession(); We get session like this on the client and then pass it down to server to verifying against const session = await auth.api.getSession({ headers: requestHeaders }); Is there anything wrong with this?
21 replies
BABetter Auth
Created by yvl on 4/4/2025 in #help
Logging In as a different user
Hello, we are using version 1.1.9
21 replies