Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
redirect after sign up, emailAndPassword - Better Auth
BA
Better Auth
•
11mo ago
•
2 replies
Igor Lamas
redirect after sign up, emailAndPassword
await signIn.email(
{
email,
password,
callbackURL: "/admin",
}
await signIn.email(
{
email,
password,
callbackURL: "/admin",
}
can I redirect the user based on role
? if it is a normal user
, redirect to
'
/dashboard
'
, if it is an admin
'
/admin
'
.
How do you guys handle this
?
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
emailAndPassword sign-up error in Nodejs-Express
BA
Better Auth / help
8mo ago
Posthog identify after sign up
BA
Better Auth / help
10mo ago
Page unresponsive after sign in redirect (Chrome)
BA
Better Auth / help
12mo ago