Hello ! I have a website done in Microsoft PowerPages to which I have Auth0 attached to. I wanted to force users to reset their password on first time login. I have followed the official documentation for this as provided by Auth0 (option 1). It works, however, I would like the user to be notified in the login experience rather returning to my website with an error about it. Like what I want is user attempts to login for the first time and to stay within the login screen with a small error message underneath the box like “Reset your password first”. Is such a thing possible ?
Hi @QuestionsAsAService and welcome to the Auth0 Community!
Displaying a custom error message directly on the login page for a specific condition like “first login” is only possible if you are using the Classic Universal Login experience. This is because it requires custom JavaScript on the login page itself to interpret a signal from the Auth0 Action. The newer, streamlined New Universal Login does not support this level of UI customization.
Here is a link to our docs for the Classic Login experience, if you would like to choose this approach.
Have a great day!
Teodor.
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.