Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
how to redirect to previous page after login - Better Auth
BA
Better Auth
•
8mo ago
•
4 replies
星野みずき
how to redirect to previous page after login
example
: try to go
/dashboard
-
> middleware intercepted
-
> redirect to
/login
-
> login success
-
> redirect to
/dashboard
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
[Issue]: Redirect banned user to a custom page after login in with OAuth (Google)
BA
Better Auth / help
8mo ago
redirect after signout on a protected page
BA
Better Auth / help
11mo ago
Page unresponsive after sign in redirect (Chrome)
BA
Better Auth / help
12mo ago
Redirect to custom error page
BA
Better Auth / help
6mo ago