The official Authsignal Python library for server-side applications. Use this SDK to easily integrate Authsignal's multi-factor authentication (MFA) and passwordless features into your Python backend.
pip3 install authsignal
or install newest source directly from GitHub:
pip3 install git+https://github.com/authsignal/authsignal-python
Initialize the Authsignal client with your secret key from the Authsignal Portal and the API URL for your region.
from authsignal import Authsignal
# Initialize the client
authsignal = Authsignal(
api_secret_key="your_secret_key",
api_url="https://api.authsignal.com/v1" # Use region-specific URL
)
Region | API URL |
---|---|
US (Oregon) | https://api.authsignal.com/v1 |
AU (Sydney) | https://au.api.authsignal.com/v1 |
EU (Dublin) | https://eu.api.authsignal.com/v1 |
This SDK is licensed under the MIT License.
For more information and advanced usage examples, refer to the official Authsignal Server-Side SDK documentation.