I’m using SDK auth0/nextjs-auth0 ^1.7.0 in a nextjs app. We’re using
withPageAuthRequired() to redirect unauthenticated visitors to the auth0 login dialog box. The auth0 login callback is
We are trying out two implementations, one for regular login and one for login to organizations. We have two callbacks:
Is possible to customize a callback path for
withPageAuthRequired() redirect? I found a doc for
WithPageAuthRequiredOptions and a
returnTo path. Trying to find something similar, or a config somewhere, for a callback path. Any ideas? Thanks!