Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Should the `/login` route respect the `onAuthSucceededRedirectTo` when the user visits `/login`? - Wasp
W
Wasp
•
2y ago
•
8 replies
KC
Should the `/login` route respect the `onAuthSucceededRedirectTo` when the user visits `/login`?
When the user first logs in from the login route
, they are redirected to the path set in
onAuthSucceededRedirectTo
onAuthSucceededRedirectTo
. However
, when the user is already logged in and visits the login route path
/login
/login
, they are redirected to
/
/
.
I am using email auth if that helps
.
Wasp
Join
Rails-like framework for React, Node.js and Prisma. Build your app in a day and deploy it with a single CLI command.
4,650
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
onAuthSucceededRedirectTo previous site
W
Wasp / 🙋questions
2y ago
Login user through the backend
W
Wasp / 🙋questions
11mo ago
How do you get the user's email address when using Google login?
W
Wasp / 🙋questions
2y ago
schema.prisma dont respect previewFeatures
W
Wasp / 🙋questions
15mo ago