otp validator for emails
- Email validation by otp
Send an message to the passed email wit OTP code to verify the address. Returns a HTTP 204 in case of success or HTTP 400 in case the email is badly composed.:
> curl -i -X POST http://localhost:8080/Plone/my-form/@validate-email-address --data-raw '{"email": "email@email.com", "uid": "ffffffff"}' -H 'Accept: application/json' -H 'Content-Type: application/json'
parameters:
- email email address.
- uid uid related to email field
Supposed to validate the OTP code received by the user via email. Returns HTTP 204 in case of success or HTTP 400 in case of failure
> curl -i -X POST http://localhost:8080/Plone/my-form/@validate-email-token --data-raw '{"email": "email@email.com", "otp": "blahblahblah"}' -H 'Accept: application/json' -H 'Content-Type: application/json'
parameters:
- email email address
- uid uid used to generate the OTP
- otp OTP code
This product has been translated into
- Italian
Install collective.volto.otp by adding it to your buildout:
[buildout] ... eggs = collective.volto.otp
and then running bin/buildout
RedTurtle
Put your name here, you deserve it!
- folix-01
- Issue Tracker: https://github.com/collective/collective.volto.otp/issues
- Source Code: https://github.com/collective/collective.volto.otp
- Documentation: https://docs.plone.org/foo/bar
If you are having issues, please let us know. We have a mailing list located at: project@example.com
The project is licensed under the GPLv2.