Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: I want to authenticate user by only using OTP how can I achieve that
I 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,
Hi,
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
Powered by Liferay™