Always redirect to same route when logging in

Hey, I'm using the full T3 Stack. How do I tell NextAuth to redirect to a certain route when logging in/signing up? Right now, it redirects to the route I was on when I logged out.
1 Reply
cje
cje2y ago
Callbacks | NextAuth.js
Callbacks are asynchronous functions you can use to control what happens when an action is performed.
Want results from more Discord servers?
Add your server