Emirhan Güneç
BABetter Auth
•Created by Emirhan Güneç on 4/23/2025 in #help
auth.api.getSession doesn't reading Authorization header
Im using expo and nextjs monorepo setup, and expo successfully sending Bearer token in Authorization, and nextjs receives. But when i pass the headers to auth.api.getSession, it can't find session. I'm using 3 plugins: oAuthProxy(), expo(), nextCookies()
8 replies
BABetter Auth
•Created by Emirhan Güneç on 1/29/2025 in #help
SignIn doesn't work server side
I think I have an issue related headers or cookies. I'm using nextjs 15, authClient works flawlessly, also server-side getSession works fine too. but when i try to auth.api.signInEmail(), it creates a new session to db, but not returning session on browser, even after refresh. Any Ideas?
51 replies