Activate account with OTP through mobile SMS

Activate account with OTP through mobile SMS

- We Blend Web の投稿
返信数: 8

Integrate Twillio or Msg91 for OTP verification.

Students generally don’t have email in rural areas. Instead of using email verification we can verify their mobile number by OTP and take them to the dashboard. After that they edit their profile and add email if required.

That will help quick user registration. 

評点平均:Useful (1)
We Blend Web への返信

Re: Activate account with OTP through mobile SMS

- Dani Palou の投稿
画像 Core developers 画像 Moodle HQ 画像 Peer reviewers 画像 Plugin developers
Hi,

do you know if this is supported in Moodle web with some plugin? My advice would be to support this in Moodle web (not in the Moodle app) because it's way easier to customize. Students can create their account using a browser in the phone, and when the account is created then they can login in the app with their username and password.

Cheers,
Dani
We Blend Web への返信

Re: Activate account with OTP through mobile SMS

- Juno Sprite の投稿
Yo yo, I'm making a plugin for this: https://github.com/Junosprite007/tool_phoneverification

I feel like a lot of companies have plugins for this, but they're proprietary. I don't like that, so even though I'm getting paid to make the plugin, it's goin' on GitHub for all to use! That's my contribution to Moodle for given us all an awesome free system. Feel free to help if you know how to code. Or tell me where to find one that's already finished.

It currently only supports the Infobip texting service, but Twilio and AWS SNS integration doesn't need to be that far off if that's what people want. Ideally, I'll have it integrate with the top 10 most popular texting services. It's starting as an OTP verification service, but morphing into a schedule notification service later on.
Juno Sprite への返信

Re: Activate account with OTP through mobile SMS

- Juan Heredia の投稿
Hello Juno, thank you very much for your contribution! I'm looking for a solution for an OTP in Moodle and after a lot of looking, this is the light at the end of the tunnel.
I will try your plugin. If you need/want to know about my experience with your plugin just let me know.

Greetings!
Juno Sprite への返信

Re: Activate account with OTP through mobile SMS

- Juno Sprite の投稿
To my responders, it's great to see such interest and support! I could definitely make better instructions on how to use this.

I actually only recently got this plugin fully working, but then I ended up merging it with a much larger "Equipment" plugin I'm working on (which is also free and open source, though not finished yet).

The big thing that kept me from making this plugin usable for my use-case was that I wanted users to be redirected to the phone verification page if their phone had not yet been verified, but this should not happen with every user; only with users assigned with the role of "Parent" to another user, i.e. their students. Parents need to verify their phones; students do not. Thinking long-term for my company, theoretically, parents could be students and students could be parents. Because of this possibility, I had to figure out how to differentiate different types of user accounts. I found one way, though it's not the best.

Anyway, the plugin should actually still be working, but users must go to the phone verification page to verify their phones manually. My Equipment plugin may be worth checking out when it's done, but it's a big boy, and I'm only 1 person, so it'll have a good amount of flaws, and some dirty code.
Juno Sprite への返信

Re: Activate account with OTP through mobile SMS

- Gita Gosavi の投稿
Ok, thank you for letting us know and will wait for the Equipment plugin..meantime all the very best for your further development.