Message Boards
I want to authenticate user by only using OTP how can I achieve that
I want to authenticate user by only using OTP how can I achieve that
New Member Posts: 9 Join Date: 3/24/20 Recent PostsI want to authenticate user by only using OTP.
When user enters username otp will send to the respective email/mobile after validating otp i want to login user without asking any password.
How can i achieve that.
Can any one guid me on that,
RE: I want to authenticate user by only using OTP how can I achieve that
Liferay Master Posts: 591 Join Date: 8/8/14 Recent PostsHi,
You can try using Liferay Authentication PipeLine, write you custom logic to validate otp in that pipeline and skip liferay password valdiation.You will be passing otp in password field and use it for validation in pipleline. Refer below links
https://help.liferay.com/hc/en-us/articles/360018161751-Password-Based-Authentication-Pipelines
https://liferay.dev/blogs/-/blogs/implementing-custom-authentication-in-dxp
Also have a look at AutoLogin feature this also can be helpful
https://help.liferay.com/hc/en-us/articles/360018161711-Auto-Login