Open DanyPalma opened 1 year ago
When logging in, the middleware will call getUser() but it keeps returning null and returns user to the / directory.
/
When the page is then refreshed, the session is returned and will properly redirect the user to /dashboard
/dashboard
The issue lies in the middleware, presumed to be the auth-ui-react redirectTo prop
auth-ui-react
redirectTo
Will update with progress
When logging in, the middleware will call getUser() but it keeps returning null and returns user to the
/
directory.When the page is then refreshed, the session is returned and will properly redirect the user to
/dashboard
The issue lies in the middleware, presumed to be the
auth-ui-react
redirectTo
propWill update with progress