You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
As described above - in some cases dev might want to redirect user somewhere else.
Describe the solution you'd like
We should let developer somehow specify the desired redirection path. E.g., since we already have onAuthFailedRedirectTo as a prop of auth element, maybe we could also add onAuthSucceededRedirectTo one, and if it isn't specified then it defaults to "/".
The text was updated successfully, but these errors were encountered:
matijaSos
changed the title
Wasp dev cannot specify where will user be redirected upon successful auth (it is hardcoded to "/")
Wasp dev cannot specify where will user be redirected upon the successful auth (it is hardcoded to "/")
Oct 11, 2021
Hello @matijaSos ! I'm new to Haskell and this would be my first non-textbook task, but I'd love to give this one a try if it would be fine. I think having the onAuthFailedRedirectTo implementation will be very helpful.
@vicnicius yes, for sure! I agree this is a good task to get started with the compiler and Haskell. :) @Martinsos any comments on this, how can we coordinate this with the new analyzer module coming in?
Well, this might become somewhat simpler task with the new analyzer, but it will take some time till it gets integrated, so I would not wait for it -> feel free to go for it!
Is your feature request related to a problem? Please describe.
As described above - in some cases dev might want to redirect user somewhere else.
Describe the solution you'd like
We should let developer somehow specify the desired redirection path. E.g., since we already have
onAuthFailedRedirectTo
as a prop ofauth
element, maybe we could also addonAuthSucceededRedirectTo
one, and if it isn't specified then it defaults to "/".The text was updated successfully, but these errors were encountered: