alise

Account LInking SErvice

https://github.com/m-team-kit/alise

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.0%) to scientific vocabulary
Last synced: 7 months ago · JSON representation ·

Repository

Account LInking SErvice

Basic Info
  • Host: GitHub
  • Owner: m-team-kit
  • License: mit
  • Language: Python
  • Default Branch: master
  • Size: 433 KB
Statistics
  • Stars: 0
  • Watchers: 4
  • Forks: 1
  • Open Issues: 1
  • Releases: 3
Created over 2 years ago · Last pushed 12 months ago
Metadata Files
Readme Contributing License Code of conduct Citation

README.md

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:

bash pip install alise

You can also install from the git repository:

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

Dependencies

ALISE depends on gunicorn:

bash apt install gunicorn

Run locally (e.g. for testing)

```bash

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:

bash 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:

bash 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.

Owner

  • Name: m-team-kit
  • Login: m-team-kit
  • Kind: organization

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: ALISE
message: Account Linking Service
type: software
authors:
  - given-names: Marcus
    family-names: Hardt
    email: hardt@kit.edu
    affiliation: KIT
    orcid: 'https://orcid.org/0000-0001-9149-244X'
repository-code: 'https://codebase.helmholtz.cloud/m-team/tools/alise'
url: 'https://alise.data.kit.edu'
abstract: ' Welcome to ALISE, the friendly Account LInking SErvices.'
license: MIT

GitHub Events

Total
  • Watch event: 1
  • Issue comment event: 2
  • Push event: 4
  • Create event: 2
Last Year
  • Watch event: 1
  • Issue comment event: 2
  • Push event: 4
  • Create event: 2

Issues and Pull Requests

Last synced: about 2 years ago

All Time
  • Total issues: 4
  • Total pull requests: 4
  • Average time to close issues: 2 days
  • Average time to close pull requests: about 6 hours
  • Total issue authors: 1
  • Total pull request authors: 2
  • Average comments per issue: 1.5
  • Average comments per pull request: 0.25
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 4
  • Pull requests: 4
  • Average time to close issues: 2 days
  • Average time to close pull requests: about 6 hours
  • Issue authors: 1
  • Pull request authors: 2
  • Average comments per issue: 1.5
  • Average comments per pull request: 0.25
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • paulmillar (5)
Pull Request Authors
  • paulmillar (3)
  • marcvs (2)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

doc/source/requirements.txt pypi
  • Sphinx *
  • pbr *
  • six *
  • sphinx-argparse *
  • sphinx-autodoc-typehints *
  • sphinx-rtd-theme *
requirements.txt pypi
  • addict *
  • fastapi *
  • fastapi-oauth2 *
  • flaat *
  • jinja2-time *
  • python-dotenv *
  • uvicorn *
setup.py pypi
test-requirements.txt pypi
  • pylint-pytest * test
  • pytest * test
  • pytest-cov * test
  • python-dotenv * test