Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

CSCfi/oidc-client

Repository files navigation

OIDC Client

Python Unit Tests Coverage Status Documentation Status

CSC OIDC Client is a lightweight aiohttp web application used for interacting with OIDC servers.

Quick Start

oidc-client requires python 3.6 or higher.

Download and Install
git clone https://github.com/CSCfi/oidc-client
cd oidc-client
pip install .
Run Application

After configuring OIDC Client in oidc-client/oidc_client/config/config.ini start a development server with.

# run installed python module
start_oidc_client

# run without installing
python -m oidc_client.app
Example Usage

Navigate to localhost:8080/login to authenticate at the configured AAI server. An access token in the format of a JWT is saved to cookies upon a successful authentication procedure.

Documentation

For more installation and production deployment instructions and examples see the documentation.