the-bigbrains / HandyDollar

ShellHacks2023 Project - 2nd Place Winner of Google's Challenge
1 stars 1 forks source link

Middleware Bug #1

Open DanyPalma opened 1 year ago

DanyPalma commented 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

The issue lies in the middleware, presumed to be the auth-ui-react redirectTo prop

Will update with progress