Skip to main content

Mango Auth is a small python module to authenticate using interactive pam authentication against an iRODS installation, opening web browser links as needed.

Project description

Mango Auth

Mango Auth is a small python module to authenticate using interactive pam authentication against an iRODS installation, opening web browser links as needed.

Usage

$ pip install mango_auth
$ mango_auth <irods_user_name> <irods_zone_name> <irods_host>
2025-10-06 16:24:44,513 - irods.auth.pam_interactive - INFO - Server prompt: Please authenticate at https://mango-auth.icts.kuleuven.be/oauth/device/auth?user_code=XXXXXXXXXX
Opening browser for authentication: https://mango-auth.icts.kuleuven.be/oauth/device/auth?user_code=XXXXXXXXXX
2025-10-06 16:25:04,745 - irods.auth.pam_interactive - INFO - Server prompt: You are authenticated using a device code.

or in python:

from mango_auth import iinit
iinit('user_name', 'zone_name', 'host')

Development

$ python -m venv venv
$ . venv/bin/activate
$ pip install -r requirements.txt 
$ pip install --editable src

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

mango_auth-0.0.10.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

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

mango_auth-0.0.10-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file mango_auth-0.0.10.tar.gz.

File metadata

  • Download URL: mango_auth-0.0.10.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mango_auth-0.0.10.tar.gz
Algorithm Hash digest
SHA256 0d4b650909e14f46f6fe44df05231e0127eb320a83f3961ea84304814dd397a3
MD5 2b0788516efdf99cdf201c39ea91dcf8
BLAKE2b-256 2db575982d9bf43d25d75c14cfdb07ade9e0918ba52fdf878bd28c9b3abeced7

See more details on using hashes here.

Provenance

The following attestation bundles were made for mango_auth-0.0.10.tar.gz:

Publisher: python-publish.yml on kuleuven/mango-auth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mango_auth-0.0.10-py3-none-any.whl.

File metadata

  • Download URL: mango_auth-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mango_auth-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 07fda4aa6f7ebe4e960f12f6ee421765e30f141a27adc23a1b8e55fba85d7647
MD5 fd1ac93771bb621ce71f2ceb37b66059
BLAKE2b-256 5f4483f698009462703691b5f684d26739bb0610d95f90d56d3477057d458892

See more details on using hashes here.

Provenance

The following attestation bundles were made for mango_auth-0.0.10-py3-none-any.whl:

Publisher: python-publish.yml on kuleuven/mango-auth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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