python-Flask-pyoidcsrcdb776bee505a52a677fc1ec20385cd8535fb8a1f8ceeaf5594ab5c484c8df111Flask extension for OpenID Connect authentication.
[](https://pypi.python.org/pypi/Flask-pyoidc)
[](https://codecov.io/github/its-dirg/Flask-pyoidc?branch=master)
[](https://travis-ci.org/zamzterz/Flask-pyoidc)
This Flask extension provides simple OpenID Connect authentication, backed by [pyoidc](https://github.com/rohe/pyoidc).
["Authorization Code Flow"](http://openid.net/specs/openid-connect-core-1_0.html#CodeFlowAuth),
["Implicit Flow"](https://openid.net/specs/openid-connect-core-1_0.html#ImplicitFlowAuth),
["Hybrid Flow"](https://openid.net/specs/openid-connect-core-1_0.html#HybridFlowAuth),
["Client Credentials Flow"](https://oauth.net/2/grant-types/client-credentials/) are supported.
Read [the documentation](https://flask-pyoidc.readthedocs.io/) or have a look at the
[example Flask app](example/app.py) for a full example of how to use this extension.
Below is a basic example of how to get started:
```python
app = Flask(__name__)
app.config.update(
OIDC_REDIRECT_URI = 'https://example.com/redirect_uri',
SECRET_KEY = ...
)
client_metadata = ClientMetadata(
client_id='client1',
client_secret='secret1',
post_logout_redirect_uris=['https://example.com/logout'])
provider_config = ProviderConfiguration(issuer='<issuer URL of provider>',
client_metadata=client_metadata)
auth = OIDCAuthentication({'default': provider_config}, app)
@app.route('/')
@auth.oidc_auth('default') # endpoint will require login
def index():
user_session = UserSession(flask.session)
return jsonify(access_token=user_session.access_token,
id_token=user_session.id_token,
userinfo=user_session.userinfo)
```https://github.com/zamzterz/flask-pyoidcApache 2.0openEuler Copr - user Kylin2000Unspecifiedeur-prod-workerlocal-aarch64-normal-prod-00843195-20250816-0310python-Flask-pyoidc-helpnoarch9dd435dd1b637b99f25fbfc7cc262fd42c822f31bb075ab9e1e68f9e7b05ed9bDevelopment documents and examples for Flask-pyoidc
[](https://pypi.python.org/pypi/Flask-pyoidc)
[](https://codecov.io/github/its-dirg/Flask-pyoidc?branch=master)
[](https://travis-ci.org/zamzterz/Flask-pyoidc)
This Flask extension provides simple OpenID Connect authentication, backed by [pyoidc](https://github.com/rohe/pyoidc).
["Authorization Code Flow"](http://openid.net/specs/openid-connect-core-1_0.html#CodeFlowAuth),
["Implicit Flow"](https://openid.net/specs/openid-connect-core-1_0.html#ImplicitFlowAuth),
["Hybrid Flow"](https://openid.net/specs/openid-connect-core-1_0.html#HybridFlowAuth),
["Client Credentials Flow"](https://oauth.net/2/grant-types/client-credentials/) are supported.
Read [the documentation](https://flask-pyoidc.readthedocs.io/) or have a look at the
[example Flask app](example/app.py) for a full example of how to use this extension.
Below is a basic example of how to get started:
```python
app = Flask(__name__)
app.config.update(
OIDC_REDIRECT_URI = 'https://example.com/redirect_uri',
SECRET_KEY = ...
)
client_metadata = ClientMetadata(
client_id='client1',
client_secret='secret1',
post_logout_redirect_uris=['https://example.com/logout'])
provider_config = ProviderConfiguration(issuer='<issuer URL of provider>',
client_metadata=client_metadata)
auth = OIDCAuthentication({'default': provider_config}, app)
@app.route('/')
@auth.oidc_auth('default') # endpoint will require login
def index():
user_session = UserSession(flask.session)
return jsonify(access_token=user_session.access_token,
id_token=user_session.id_token,
userinfo=user_session.userinfo)
```https://github.com/zamzterz/flask-pyoidcApache 2.0openEuler Copr - user Kylin2000Unspecifiedeur-prod-workerlocal-aarch64-normal-prod-00843195-20250816-0310python-Flask-pyoidc-3.14.3-1.src.rpmpython-oicsrc3a80638899eb44b97723f7c032567d9d1ff60fb4ac0a49d923618c0e5f22ad44Python implementation of OAuth2 and OpenID ConnectThis is a complete implementation of OpenID Connect as specified in the `OpenID
Connect Core specification`_. And as a side effect, a complete implementation
of OAuth2.0 too.
Please see the `CHANGELOG.md`_ to review the latest changes.https://github.com/CZ-NIC/pyoidc/Apache 2.0openEuler Copr - user Kylin2000Unspecifiedeur-prod-workerlocal-aarch64-normal-prod-00843193-20250816-0310python-oicsrcd96bd504daa22d66d9d39b5cd7ed61b5c9ee36270de7d1311a59497bf83901baPython implementation of OAuth2 and OpenID ConnectThis is a complete implementation of OpenID Connect as specified in the `OpenID
Connect Core specification`_. And as a side effect, a complete implementation
of OAuth2.0 too.
Please see the `CHANGELOG.md`_ to review the latest changes.https://github.com/CZ-NIC/pyoidc/Apache 2.0openEuler Copr - user Kylin2000Unspecifiedeur-prod-workerlocal-aarch64-normal-prod-00843200-20250816-0701python-oic-helpnoarch0c986507069c37fe3a648cf1eacc80c68a1999c6f7ac4944d21c9e15fa32a1e5Development documents and examples for oicThis is a complete implementation of OpenID Connect as specified in the `OpenID
Connect Core specification`_. And as a side effect, a complete implementation
of OAuth2.0 too.
Please see the `CHANGELOG.md`_ to review the latest changes.https://github.com/CZ-NIC/pyoidc/Apache 2.0openEuler Copr - user Kylin2000Unspecifiedeur-prod-workerlocal-aarch64-normal-prod-00843193-20250816-0310python-oic-1.7.0-1.src.rpmpython-oic-helpnoarch992dd9311f76236eca08d3517a915cb1c64a6ff41453fbb02e02275e3f8a95bcDevelopment documents and examples for oicThis is a complete implementation of OpenID Connect as specified in the `OpenID
Connect Core specification`_. And as a side effect, a complete implementation
of OAuth2.0 too.
Please see the `CHANGELOG.md`_ to review the latest changes.https://github.com/CZ-NIC/pyoidc/Apache 2.0openEuler Copr - user Kylin2000Unspecifiedeur-prod-workerlocal-aarch64-normal-prod-00843200-20250816-0701python-oic-1.7.0-1.src.rpmpython-zstandardsrc09a58a3cfcc56a95d78dbbe5f593abaa40c2ee1ccdf66f9030787e5393b6c5c6Zstandard bindings for Pythonhttps://github.com/indygreg/python-zstandardBSDopenEuler Copr - user Kylin2000Unspecifiedeur-prod-workerlocal-aarch64-normal-prod-00843197-20250816-0311python-zstandard-debuginfoaarch64dbb81649d67a2ad38976fdeb0232b1da52d809be3afda3ce22ff5afc9f117513Debug information for package python-zstandardThis package provides debug information for package python-zstandard.
Debug information is useful when developing applications that use this
package or when debugging this package.https://github.com/indygreg/python-zstandardBSDopenEuler Copr - user Kylin2000Development/Debugeur-prod-workerlocal-aarch64-normal-prod-00843197-20250816-0311python-zstandard-0.23.0-1.src.rpmpython-zstandard-debugsourceaarch64e192fdc1e641e014746b088d62f7ce1405df697f4041fefbc9c36282f13a9d3cDebug sources for package python-zstandardThis package provides debug sources for package python-zstandard.
Debug sources are useful when developing applications that use this
package or when debugging this package.https://github.com/indygreg/python-zstandardBSDopenEuler Copr - user Kylin2000Development/Debugeur-prod-workerlocal-aarch64-normal-prod-00843197-20250816-0311python-zstandard-0.23.0-1.src.rpmpython-zstandard-helpaarch6427a7dd4b1195b2608a4f685fb2a472b3ca68596950c66af483e56918f9ae4618Development documents and examples for zstandardhttps://github.com/indygreg/python-zstandardBSDopenEuler Copr - user Kylin2000Unspecifiedeur-prod-workerlocal-aarch64-normal-prod-00843197-20250816-0311python-zstandard-0.23.0-1.src.rpmpython3-Flask-pyoidcnoarch155012a0036d1ce9640d6a9255874e15522c9ab936cfd80a2b698fa5b41066b4Flask extension for OpenID Connect authentication.
[](https://pypi.python.org/pypi/Flask-pyoidc)
[](https://codecov.io/github/its-dirg/Flask-pyoidc?branch=master)
[](https://travis-ci.org/zamzterz/Flask-pyoidc)
This Flask extension provides simple OpenID Connect authentication, backed by [pyoidc](https://github.com/rohe/pyoidc).
["Authorization Code Flow"](http://openid.net/specs/openid-connect-core-1_0.html#CodeFlowAuth),
["Implicit Flow"](https://openid.net/specs/openid-connect-core-1_0.html#ImplicitFlowAuth),
["Hybrid Flow"](https://openid.net/specs/openid-connect-core-1_0.html#HybridFlowAuth),
["Client Credentials Flow"](https://oauth.net/2/grant-types/client-credentials/) are supported.
Read [the documentation](https://flask-pyoidc.readthedocs.io/) or have a look at the
[example Flask app](example/app.py) for a full example of how to use this extension.
Below is a basic example of how to get started:
```python
app = Flask(__name__)
app.config.update(
OIDC_REDIRECT_URI = 'https://example.com/redirect_uri',
SECRET_KEY = ...
)
client_metadata = ClientMetadata(
client_id='client1',
client_secret='secret1',
post_logout_redirect_uris=['https://example.com/logout'])
provider_config = ProviderConfiguration(issuer='<issuer URL of provider>',
client_metadata=client_metadata)
auth = OIDCAuthentication({'default': provider_config}, app)
@app.route('/')
@auth.oidc_auth('default') # endpoint will require login
def index():
user_session = UserSession(flask.session)
return jsonify(access_token=user_session.access_token,
id_token=user_session.id_token,
userinfo=user_session.userinfo)
```https://github.com/zamzterz/flask-pyoidcApache 2.0openEuler Copr - user Kylin2000Unspecifiedeur-prod-workerlocal-aarch64-normal-prod-00843195-20250816-0310python-Flask-pyoidc-3.14.3-1.src.rpmpython3-oicnoarch60eb6a95b317c43008dce84634a11b4304566144929d1e8b3b2530ec98e16a8bPython implementation of OAuth2 and OpenID ConnectThis is a complete implementation of OpenID Connect as specified in the `OpenID
Connect Core specification`_. And as a side effect, a complete implementation
of OAuth2.0 too.
Please see the `CHANGELOG.md`_ to review the latest changes.https://github.com/CZ-NIC/pyoidc/Apache 2.0openEuler Copr - user Kylin2000Unspecifiedeur-prod-workerlocal-aarch64-normal-prod-00843193-20250816-0310python-oic-1.7.0-1.src.rpm/usr/bin/oic-client-managementpython3-oicnoarch31b197f9e33d0b3abc9368da0bbce0daaed5827caa4fb205901831eaa6501495Python implementation of OAuth2 and OpenID ConnectThis is a complete implementation of OpenID Connect as specified in the `OpenID
Connect Core specification`_. And as a side effect, a complete implementation
of OAuth2.0 too.
Please see the `CHANGELOG.md`_ to review the latest changes.https://github.com/CZ-NIC/pyoidc/Apache 2.0openEuler Copr - user Kylin2000Unspecifiedeur-prod-workerlocal-aarch64-normal-prod-00843200-20250816-0701python-oic-1.7.0-1.src.rpm/usr/bin/oic-client-managementpython3-zstandardaarch64c025dc12d7e755bf90282708dfac1dba00a49710af60d4264a611d3598162c1eZstandard bindings for Pythonhttps://github.com/indygreg/python-zstandardBSDopenEuler Copr - user Kylin2000Unspecifiedeur-prod-workerlocal-aarch64-normal-prod-00843197-20250816-0311python-zstandard-0.23.0-1.src.rpm