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-7.2.0.tar.gz (25.0 kB view details)

Uploaded Source

Built Distribution

trytond_authentication_sms-7.2.0-py3-none-any.whl (32.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for trytond_authentication_sms-7.2.0.tar.gz
Algorithm Hash digest
SHA256 0cf6ee0877343863aff185de2179a73c15bf0c773783f889e265aeafff3c4c68
MD5 d4ea24e4656386b4350ccf20bceb9829
BLAKE2b-256 2cee8b65ac59fd6e0b5db2d869cf1fb8d10452cf5170cb309ab414ea18f2c959

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for trytond_authentication_sms-7.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 636bacf03abdd7ced0a6b64457c669ec333a7122b44cc92bc7623fa82a2d39e3
MD5 71bb52bf31ff9bb2749c3bd5562b358b
BLAKE2b-256 d16126447c0f0e8e4d7972a5cf7119e174e01bcaa5a5e0832ec6837979ebdcab

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