Hi
I need to give users the option to manage their passwords in my application. Needless to say, this is a very standard requirement of any business application. I have tried to find relevant documentation, cookbook etc. but didn’t find anything that helps except one post that is based on an older version that doesn’t work in Jmix 2.1x
How can I bring the options that the user admin has to :
Change existing password
Reset password
Delegate to substitute user
Want to add an option for “forgot password” by which want to send a link to the user’s registered email address and the user will be able to create a new password.
Want to include 2-factor authentication.
It will be good to include this in the documentation or cookbook!
In this attached Jmix example jmix-quickstart-security-advanced-complete.zip (172.1 KB)
that I found somewhere in December 2022, there is a ForgotUsernamePassword screen class implemented. I used this example and separated it into a ForgotUsername and a ForgotPassword class to be more flexible.
There is also ResetPasswordScreen class and a RegistrationService class for user self-registration in the example.
I found this example very helpful; maybe it can be updated and published for everyone with the other samples. I have already uploaded it to several other posts.