I am using the following in a Next JS application…
import { UserProvider } from “@auth0/nextjs-auth0/client”;
<UserProvider>
<AxiosInstanceProvider>
<Layout>
<Component {...pageProps} />
</Layout>
</AxiosInstanceProvider>
</UserProvider>
When my JWT expires I get a 500 error. I think it should redirect to the login route if the JWT has expired?
Thanks!