How can I use better-auth with external authentication api (jwt/bearer tokens)
Hi is there anyway I can use better-auth as way to manage session and page protection with a external api that manages login? My current backend responds with a jwt token (bearer token) after a successful login how can I use this with better auth?
I used to use next auth but that gave me issues because it didn't worked with the above properly.
2 Replies
Better Auth is more of a full on auth framework than a session management tool
I recommened checking iron session or something similar if your goal is just to manage sessions
Gotcha, ty
just thought of better auth as it mentioned bearer tokens and jwt so I tried using it
ngl iron session doesnt really have good docs
never had to get frustrated over such a simple thing