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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for trytond_authentication_sms-7.0.0.tar.gz
Algorithm Hash digest
SHA256 fea890447f5ea3a01f80380e5d7f11fcdde3859b21c1618c5f57735601b3d83e
MD5 d3f9ba31402ecd386dffe87073462fb2
BLAKE2b-256 c75d5485e325a4d94206b1c8801f7293af2a9d259e3bd90c7f12f6b918a1ffc6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for trytond_authentication_sms-7.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 50295d1f9dd5d0803715bc2e6269f5792b16b38108625a633cfd0a5a4bde0bbf
MD5 1d398db0fe4bbd1e1eed25c60fc0e87d
BLAKE2b-256 a6e12af11dadc3c2ce7791f1227b9eed160512ad471ad95cd2682a99cac2513c

See more details on using hashes here.

Supported by

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