Skip to main content

An extension that generates a one-time login link for a user

Project description

Tests

ckanext-let-me-in

An extension that generates a one-time login link for a user by its id, name or email.

Use lmi_generate_otl API action or ckan letmein uli CLI command to generate an OTL link.

The link will expire in 24h, by default or after it was used.

Requirements

Compatibility with core CKAN versions:

CKAN version Compatible?
2.8 and earlier no
2.9 not yet
2.10+ yes

Installation

  1. Use pip to install an extension: pip install ckanext-let-me-in
  2. Add let_me_in to the ckan.plugins setting in your CKAN config file.

Config settings

Available configuration options:

# The number in seconds that specifies the OTL link TTL (optional, default: 86400).
ckanext.let_me_in.otl_link_ttl= 3600

Developer installation

To install ckanext-let-me-in for development, activate your CKAN virtualenv and do:

git clone https://github.com/mutantsan/ckanext-let-me-in.git
cd ckanext-let-me-in
python setup.py develop

Tests

To run the tests, do:

pytest --ckan-ini=test.ini

License

AGPL

Project details


Download files

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

Source Distribution

ckanext_let_me_in-1.0.11.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

ckanext_let_me_in-1.0.11-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

Details for the file ckanext_let_me_in-1.0.11.tar.gz.

File metadata

  • Download URL: ckanext_let_me_in-1.0.11.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.10

File hashes

Hashes for ckanext_let_me_in-1.0.11.tar.gz
Algorithm Hash digest
SHA256 32f6e518d42001b1abdf9005b215a08e9c3a15c706d3156efc06b47412b46f51
MD5 275033befa90dd5d8c50cb2baa02ca6d
BLAKE2b-256 6f0b36f0dafee7f5da0e6144bd8e939522576259f039ab398a8a607410e3d71c

See more details on using hashes here.

File details

Details for the file ckanext_let_me_in-1.0.11-py3-none-any.whl.

File metadata

File hashes

Hashes for ckanext_let_me_in-1.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 554baa506cdc19ec782a6f02ad8325b4481fdc486755ca8d1bb689f84adcfd2d
MD5 9b327854fbf276d9aa3925d0f9844112
BLAKE2b-256 4ea87469ad55b55745733caaf141505dcf5a3e746774930c417ecf562223d31a

See more details on using hashes here.

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