This Flask extension provides simple OpenID Connect authentication, backed by pyoidc.
"Authorization Code Flow", as well as "Implicit Flow" and "Hybrid Flow", is supported.
Read the documentation or have a look at the example Flask app for a full example of how to use this extension.