You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The withPageAuthRequired helper should wrap function ProtectedPage() ..., as it is now, the example exports a new function called withPageAuthRequired.
Reproduction
Copy the code from the example.
Additional context
No response
nextjs-auth0 version
3.5.0
Next.js version
14.1.0
Node.js version
20.11.0
The text was updated successfully, but these errors were encountered:
Hi, I have a custom login page and I would like to return my protected page to that custom login.
No matter what I do it still goes to the universal login which I do not want to use from Auth0
Checklist
Description
The code example in the documentation for
withPageAuthRequiredAppRouter
contains a non working example:The
withPageAuthRequired
helper should wrapfunction ProtectedPage() ...
, as it is now, the example exports a new function calledwithPageAuthRequired
.Reproduction
Copy the code from the example.
Additional context
No response
nextjs-auth0 version
3.5.0
Next.js version
14.1.0
Node.js version
20.11.0
The text was updated successfully, but these errors were encountered: