Works fine with my fastapi backend using the JWT plugin. I run better-auth as a standalone service.

https://better-auth.com/docs/plugins/jwt

Aha very cool thanks