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.

Configuration

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

function

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.

from

The number from which the SMS are sent.

length

The length of the generated code. Default: 6

ttl

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

name

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.

Source Distribution

trytond_authentication_sms-6.6.0.tar.gz (25.2 kB view details)

Uploaded Source

Built Distribution

trytond_authentication_sms-6.6.0-py3-none-any.whl (32.7 kB view details)

Uploaded Python 3

File details

Details for the file trytond_authentication_sms-6.6.0.tar.gz.

File metadata

File hashes

Hashes for trytond_authentication_sms-6.6.0.tar.gz
Algorithm Hash digest
SHA256 47f86fa5ce934d9a1e24ab6d7dcdcdc72a0bfec5e10ac98206f90469c9b7de06
MD5 fe5850b04d5a0728cdf991e78b4e56dd
BLAKE2b-256 94c19d9f4b2573c121a71fffd8d467b4e0b723bb87781715be16f2f3c45e5238

See more details on using hashes here.

Provenance

File details

Details for the file trytond_authentication_sms-6.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for trytond_authentication_sms-6.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ce0d0a1541679be5b4671c4f3cb4fd6edc57c829d94fbf60fd8ea386f4508bbd
MD5 4ca804c2bcd1e1926b9d8cb6fd8b460a
BLAKE2b-256 edc914108c1c03beeeb3b3c176b5909e391c65c5e0a48cf8bf51bff06e603e50

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page