Customizing the Universal Login Page for Social Authentication in Next.js with Auth0

I am implementing Auth0 login with Next.js using the auth0/nextjs-auth0 library. In the Auth0 settings, I am using Universal Login and have opted not to use the “Classic Login” with page customization, but instead, I have limited authentication to social logins.

I would like to achieve the following: By using handleLogin on the Next.js side, I expect the SNS authentication process to occur at ${domain}/u/login/identifier?state=. Since social authentication is the only method allowed, user registration is not possible. However, I want to give the appearance that users can register, and I want to dynamically change the page title to either “User Registration” or “Login” based on the context.

Is there a way to pass query parameters to modify the title displayed on this page?

Let me know if you’d like any further adjustments!

Hey team!

If you’re curious about the new Auth0 Next.js SDK and how it works with Next.js 15 and Turbopack, now’s a great time to get involved!

We’re hosting an Ask Me Anything session with Kevin Lillybridge, Auth0’s Group Product Manager, on December 10, from 9 AM to 11 AM PST. You’ll receive detailed, written answers straight from the experts - plus earn a special badge. Don’t miss this opportunity to gain valuable insights and supercharge your Next.js development!

Auth0 by Okta Community Ask Me Anything: Unlocking the Power of the Auth0 and Next.js