Add OTP Authentication Alongside Magic Link for User Sign-In
Description:
When a user clicks on the magic link, they receive an email with a magic link to sign in. However, in college settings, students may not have access to their email on the same machine. It would be beneficial to send an OTP as well, allowing users to log in on the same machine with the OTP shared over email. The existing magic link functionality should remain unchanged, with the OTP serving as an additional login method.
Is your feature request related to a problem? Please describe. In college settings, students may not have access to their email on the same machine they are trying to log in from. This makes it difficult for them to use the magic link sent to their email for signing in.
Describe the solution you'd like Alongside sending a magic link via email, also send a one-time password (OTP). This OTP can be used to log in on the same machine, providing an alternative to the magic link. The magic link functionality should remain as it is, with the OTP serving as an additional option for user sign-in.
Additional context Adding OTP functionality will enhance the user experience, especially in environments where accessing email on the same machine is not feasible. This addition aims to provide flexibility and convenience, ensuring smooth access to the LMS for all users.
Here is the user flow for the user sign-in process using OTP authentication alongside a magic link.
After discussing with Bodhi, we have decided to omit the sign-in options using Facebook and GitHub. These methods are rarely used and clutter the sign-in options.
Here is the Figma prototype link
Here is the CodePen link for the verification code screen.
@bodhish