Skip to main content
https://github.com/collective/collective.volto.otp/actions/workflows/plone-package.yml/badge.svg Coveralls https://codecov.io/gh/collective/collective.volto.otp/branch/master/graph/badge.svg Latest Version Egg Status https://img.shields.io/pypi/pyversions/collective.volto.otp.svg?style=plastic:alt:Supported-PythonVersions License

collective.volto.otp

otp validator for emails

Features

  • Email validation by otp

RestAPI

@validate-email-address

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

@validate-email-token

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

Translations

This product has been translated into

  • Italian

  • Spanish

Installation

Install collective.volto.otp by adding it to your buildout:

[buildout]

...

eggs =
    collective.volto.otp

and then running bin/buildout

Authors

RedTurtle

Contributors

Put your name here, you deserve it!

  • folix-01

  • Leonardo J. Caballero G.

Contribute

Support

If you are having issues, please let us know. We have a mailing list located at: project@example.com

License

The project is licensed under the GPLv2.

Contributors

Changelog

1.1.0 (2026-11-14)

  • Added Brazilian Portuguese translations. [wesleybl]

  • Updated README file. [macagua]

  • Added Spanish translations. [macagua]

1.0.1 (2024-07-10)

  • Alignments. [folix-01]

1.0.0 (2024-06-13)

  • Initial release. [folix-01]

Metadata

Release files for collective.volto.otp 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for collective.volto.otp 1.1.0
File Size Uploaded Provenance Actions
collective_volto_otp-1.1.0.tar.gz 30.5 kB Without provenance Details for collective_volto_otp-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for collective.volto.otp 1.1.0
File Interpreter ABI Platform Actions
collective_volto_otp-1.1.0-py3-none-any.whl Python 3 none any Details for collective_volto_otp-1.1.0-py3-none-any.whl

Total release size: 65.6 kB

Release files / collective_volto_otp-1.1.0.tar.gz

Download URL collective_volto_otp-1.1.0.tar.gz
Size 30.5 kB
Tags Source
SHA-256 checksum
How to use checksums
340c172f38ddd163076bdd363b9455c32c775dadf2bffd0dd1c573e1fbc1105c
BLAKE2b-256 checksum
How to use checksums
a1fb47f0359113807c62400c51dd0b9dd809cac1b8c4363f47d49c8add873afd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Release files / collective_volto_otp-1.1.0-py3-none-any.whl

Download URL collective_volto_otp-1.1.0-py3-none-any.whl
Size 35.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a8fc180a5721a8beae1623251dc95dfd56249afe7862afd0aa6f930af428a056
BLAKE2b-256 checksum
How to use checksums
653eba51bfa7be52e5afd3e3464c990efaf24ce9a866aea524a3bc979b701b37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Security for collective.volto.otp 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page