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
Good afternoon! I want to make a redirect to an accessible user page after authorization. For example, user1 directs to the "/posts" page and user2 directs to the "/users" page.
I tried in the login method in AuthProvider in param "redirectTo" return { success: true, redirectTo, };
Redirect happens, but immediately redirect to the first element in resource array.
Hi @BatuhanW, thanks for your attention.
Remove fallback prop in Authenticated and don't return { authenticated: true, };
in check method in authProvider gives behavior change.
Add search param ?to=%2FredirectTo.
Re-login redirect to the redirectTo page, but it does not work (white page).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Good afternoon! I want to make a redirect to an accessible user page after authorization. For example, user1 directs to the "/posts" page and user2 directs to the "/users" page.
I tried in the login method in AuthProvider in param "redirectTo"
return { success: true, redirectTo, };Redirect happens, but immediately redirect to the first element in resource array.
All reactions