Securing routes using next-auth
Wrapping our pages/_app
using SessionProvider
from next-auth
will secure all our pages. If we configure sub domains or rewrites, all will be behind an auth wall.
Loading...
Wrapping our pages/_app
using SessionProvider
from next-auth
will secure all our pages. If we configure sub domains or rewrites, all will be behind an auth wall.
Loading...