loadUserOnFirstLoad breaks hosted login redirect (use useAuthUserOrNull, not useAuthUser)
In hosted login mode use useAuthUserOrNull instead of useAuthUser; the latter is only for embedded login and its automatic redirect is what sent you to /account/login. The reporter confirmed swapping the hook resolved the redirect. Frontegg also noted this would be fixed in the next version, so upgrading @frontegg/rea…
Problem outcome: unknown