Next JS Jwt Expire 500 error

I am using the following in a Next JS application…

import { UserProvider } from “@auth0/nextjs-auth0/client”;

      <Component {...pageProps} />

When my JWT expires I get a 500 error. I think it should redirect to the login route if the JWT has expired?


Hey there!

In order to handle that most effectively I would ask you to raise it as a GitHub issue here:

so we can talk directly with the SDK maintainers on that front. once you have a link to it you can share it here so we can ping them. Thank you!