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/DataShades/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.12.tar.gz (22.2 kB view details)

Uploaded Source

Built Distribution

ckanext_let_me_in-1.0.12-py3-none-any.whl (24.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ckanext_let_me_in-1.0.12.tar.gz
  • Upload date:
  • Size: 22.2 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.12.tar.gz
Algorithm Hash digest
SHA256 fc63fe466a2623ef5e090526c58f2c6e5afdba1601c04f58e8b0c58f88113bda
MD5 8e532cc56c3bd32e9a23da9edd059295
BLAKE2b-256 f900f0d7f718d6f1318747e70f42956f8be3de75bd9d34305cb64069d09b9851

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ckanext_let_me_in-1.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 3cc53a23b99bfde318385c77e000bca51133e78c3ec1a6e587d08a99a2adac5c
MD5 5bcc08fb7c64f1d931b840285ec05272
BLAKE2b-256 8d528a6c26b00ca733defd18ea6355dfbd4c0bc311fbd3ce8d980c8ad99abce7

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