Unfortunately, it’s not possible. After checking the Auth0 Next.js SDK, I found that there isn’t an alternative way to wrap authentication to all your pages.
Given that, you’ll need to continue using the withPageAuthRequired to protect the pages you need with authentication.
I hope this helps!
Please let me know if you have any further questions.