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 upgr…
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 upgr…