Skip to main content

Tool to link accounts

Project description

PyPI Badge Read the Docs Code style: black SQAaaS badge shields.io

Account LInking SErvice

Tool to link accounts

The Account LInking SErvice ALISE implements the concept of site-local account linking. For this a user can log in with one local account and with any number of supported external accounts (e.g. Helmholtz-ID and Google). The local account is on at an HPC centre, which also comprises the Unix-User name.

Federated services can use this informatin whenever they need to map a federated identity to a local Unix account at a computer centre.

Examples for this are http/webDAV file access. WeDAV supports Basic Authentication, which is transported via an OIDC Access Token to convey the federated users' identity. The server needs to store the uploaded data with a specific account name, such that the same user could later access the uploaded date from e.g. computing jobs on that same server.

Alise may be used to ask users for linking their federatd identity to a local one, so that the webDAV server could find the users' corresponding local unix ID.

Installation

Account LInking SErvice is available on PyPI. Install using pip:

pip install alise

You can also install from the git repository:

git clone https://github.com/marcvs/alise
pip install -e ./alise

Dependencies

ALISE depends on gunicorn:

apt install gunicorn

Run locally (e.g. for testing)

# from the dir where alise is installed:
gunicorn alise.daemon:app -k "uvicorn.workers.UvicornWorker"

Then point your browser to http://localhost:8000

Run as a service

Nginx

We provide an nginx configuration file in alise/etc/nginx.alise (github). Simply copy or it to nginx like:

ln -s $PWD/alise/etc/nginx.alise /etc/nginx/sites-enabled

Systemd

We provide a systemd service file in alise/etc/alise.service (github). Simply copy link it to systemd like:

ln -s $PWD/alise/etc/alise.service /etc/systemd/system/
systemctl daemon-reload
systemctl enable alise.service
systemctl start alise.service

Static HTML

Place content of alise/static to place that nginx can serve as /static

Icon

Place an icon of your site into /static/<name of your sites config entry.svg (Yep that's a bit hacky)

Configuration

ALISE is configured via a single config file. A template is provided in alise/etc/alise.conf(github). It should be self-explanatory.

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

alise-1.1.5.tar.gz (284.8 kB view details)

Uploaded Source

Built Distribution

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

alise-1.1.5-py2.py3-none-any.whl (272.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file alise-1.1.5.tar.gz.

File metadata

  • Download URL: alise-1.1.5.tar.gz
  • Upload date:
  • Size: 284.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for alise-1.1.5.tar.gz
Algorithm Hash digest
SHA256 2213bf6f772ec692d913789f661feaf6ef70e63de26f4d67f3b22c6d62ab58d9
MD5 23cad403a40e91aaeb73f94495a08857
BLAKE2b-256 c9f10636abeeca2e846482b29bf5d94f93a93aa78d0a146690174a3add91b122

See more details on using hashes here.

File details

Details for the file alise-1.1.5-py2.py3-none-any.whl.

File metadata

  • Download URL: alise-1.1.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 272.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for alise-1.1.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 73d0b6b3bd6f835f0ab39edf21ade1711c702480046745f1fbcef24f43cb72b3
MD5 b78de919b6a0a0cd27196a8208c72353
BLAKE2b-256 b9dc682abeb4b50b73b5d66fd327c020158f24094e7f002043122f19378e4867

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