Demo project for otp

Good afternoon,

there is any demo in order to understant how handle otp code?

Problem:

I need to have the privacy terms accepted by user.

The user is not stored in db .. jet … but if he/she accept the terms, via sms otp, i can register new user.

The db is on local pc.

No problem to send sms, absolute “fog” on how to get the otp code.

Thank you for the attention

Best regard

Daniele

There is a demo in Sphinx demos folder.
It shows that when a OTP is generated, a Sphinx event is fired so you get the OTP and set it to the user. I'm not sure if you checked the demo and if that's the question?

Good afternoon Wagner,
exuse me for log delay in reply ...
i'm sorry but i do not found the demo ...
In Sphinix demo folder i have:


To be honest i've not run any demo ....
I need oly a code generation (not QR or similar), i'll send this code via sms and / or via email for signature purpose.
Thank you for the attention.

Best regards
Daniele

The demos folder shows this:

And there you have the project group with the demo files.

If you need to do any user verification "before" login, I recommend you just leverage this to your application. Let users register and/or login with Sphinx, but then only accept the user in your application after you do additional checks with it, if you need to.

This was discussed here: