Next.js Discord

Discord Forum

How to have better auth

Unanswered
Beveren posted this in #help-forum
Open in Discord
BeverenOP
Let's Say have a laravel API using Sanctum for authentication, and my frontend is built with Next.js using Better Auth, How does Better Auth
handle API credentials in this case, especially the Sanctum token? Is there a way to store and manage the token so it's available across all
Better Auth sessions, for example during SSR or protected routes? I'd really appreciate any
guidance or best practices for this setup. Thanks!

0 Replies