HENNGE / minioidc

Example client that implements OpenID Connect confidential client using code flow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OIDA CLI

Example client that implements OpenID Connect confidential client using code flow

Quick start

poetry run uvicorn server:app --reload [--port 3000]

Configuration

The test client expects following configuration:

# Where this client is ran; important for OIDC security via redirect_uri
# Use HTTPS (e.g. ngrok) to test against production OIDC servers
export MINIOIDC_ORIGIN="http://localhost:3000"

# Client ids and secrets are issued by the OIDC server
export MINIOIDC_PROVIDER1_issuer="http://server:port"
export MINIOIDC_PROVIDER1_client_id="client-id-goes-here"
export MINIOIDC_PROVIDER1_client_secret="secret-goes-here"

export MINIOIDC_PROVIDER2_issuer="http://server:port"
export MINIOIDC_PROVIDER2_client_id="client-id-goes-here"
export MINIOIDC_PROVIDER2_client_secret="secret-goes-here"

About

Example client that implements OpenID Connect confidential client using code flow


Languages

Language:Python 94.4%Language:Dockerfile 5.6%