Hi! I’m using a protected component for a login system. After logging in on desktop, it works fine and the component is displayed. When doing so on mobile, it repeatedly keeps cycling in a loop (I’ve attached a video below)
export default withAuthenticationRequired(Portfolio, {
// Show a message while the user waits to be redirected to the login page.
onRedirecting: () => <div>Redirecting you to the login page...</div>,
});
Any ideas as to why this may be happening?
My Auth0ProviderWithHistory redirectURI is setup to send to the component that is triggering this infinite refresh by the way.
Mobile issue: RPReplay_Final1626234452.mp4 - Google Drive