Authenticate User via OTP
Use-case:
- Moving users from an existing product to new Product.
Steps I'm taking:
- I have been trying to adapt One-time password method to make it easier for existing users to login to new product.
- How?
- Using Authy to generate send OTP (check user Exists)
- After Phone / OTP verified, find User.
- Login user with then I used
- I tried this on bare-bone Jumpstart, however I got an error about current_account (which I might be able to resolve later).
- Moving users from an existing product to new Product.
Steps I'm taking:
- I have been trying to adapt One-time password method to make it easier for existing users to login to new product.
- How?
- Using Authy to generate send OTP (check user Exists)
- After Phone / OTP verified, find User.
- Login user with then I used
sign_in(User1)
Am I setting myself up for any issues?- I tried this on bare-bone Jumpstart, however I got an error about current_account (which I might be able to resolve later).
Notifications
You’re not receiving notifications from this thread.