No password login

Hi,

I jmix 1.5 can we able to login without password from login page.
Login can be with mobile number or email address and otp based.
I had implement SSo i that we receive response and we set roles of the user and user login into application.
MyClaimsRoleMapper.java for roles.

Is is possible we can do otp based login instead of password based from login page by using other way to authenticate instead of tryAuthenticate(finalUsername, password);

Hi,

What identity provider do you use?

Regards,
Ivan

Currently i am using Password based login (Jmix Password Encode) and SSO Openid login.
I want OTP based login as an third feature for some users.

Hi,

Jmix doesn’t have any specific support for that, so it’s going to be completelly custom within Spring security.

You can check this example - Creating Authentication Using Phone Number and OTP with Spring Boot, Spring Security | by Abhishek Ranjan | Medium

Also if you use Keycloak this maybe useful - OTP based Custom Authentication in Keycloak | by Anmol Jain | Oct, 2024 | Medium

Regards,
Ivan