simple_openid_connect

Simple and opinionated OpenID-Connect relying party (client) and resource server implementation.

Modules

base_data

Base data types which are extended with concrete OpenId data types in simple_openid_connect.data

client

A more contiguous client implementation of the Openid-Connect protocol that offers simpler APIs at the cost of losing some flexibility.

client_authentication

Utilities and data types used when authenticating the relying party (client).

data

Datatypes and models for various OpenID messages

discovery

Mechanisms for discovering information about an OpenID issuer

exceptions

Exceptions that are raised at various parts of this library.

flows

Authentication can follow one of multiple paths e.g. the Authorization Code Flow or the Direct Access Grant.

integrations

Integrations for different python frameworks

jwk

JSON-Web-Key handling code

pkce

Implementation of PKCE code challenge and verifier generation.

rp_initiated_logout

Implementation of Relying-Party initiated logout

token_introspection

OAuth 2.0 Token Introspection implementation.

token_refresh

Refresh token exchange implementation.

userinfo

Userinfo implementation

utils

Internal utilities