[Help][BFF] How to implement BFF with better-auth ?
Hello, I'm trying to implement a BFF architecture with a microservice who will do only authentication with better-auth (Elysia).
The thing is :
- I want my Auth microservice to run BetterAuth
- My BFF will call this microservice to make all auth for my web client
- My web client will only call my BFF
My question, I have seen that Better Auth give the session token (field token after signin) BUT I have seen that session token have some age (With some refresh token), i don't know how to implement the case where i need to refresh the token from my BFF (It seems no endpoint is available), can someone can help me ? Thanks !
0 Replies