Skip to main content

Tryton module to authenticate users via SMS

Project description

The SMS authentication module allows users to authenticate via SMS. It adds a new authentication method sms, which can be used in the list of authentications in the session section of the configuration file.

The sms method just sends a code via SMS to the user. Then the user needs to transcribe the code into the login dialog.

This method requires that the user has the correct Mobile phone number defined otherwise it will not be possible for them to authenticate.


The configuration of the module is set in the authentication_sms section.


The fully qualified name of the method to send SMS. It must take three arguments: text, to and from. This method is required to send SMS.


The number from which the SMS are sent.


The length of the generated code. Default: 6


The time to live for the generated codes in seconds. Default: 300


The name used in the SMS text. Default: Tryton

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for trytond-authentication-sms, version 5.8.1
Filename, size File type Python version Upload date Hashes
Filename, size trytond_authentication_sms-5.8.1-py3-none-any.whl (31.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size trytond_authentication_sms-5.8.1.tar.gz (24.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page