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!