python-Flask-pyoidcsrcd2efde2e4e1cafc6369177c8a60a176140cc64fbaeafde8e814e3f413693ca9aFlask 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-x86-64-normal-prod-00843192-20250816-03100python-Flask-pyoidc-helpnoarch710c398ba48eb60ee5670131aa46ae27790c90a04165fd8e7c9ee20aca4f2d5cDevelopment 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-x86-64-normal-prod-00843192-20250816-03100python-Flask-pyoidc-3.14.3-1.src.rpmpython-oicsrcc2a15c79b28c3e63c64b3762a4884c08a1392e9c584acc87a9e806824d9f3cadPython 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-x86-64-normal-prod-00843194-20250816-03104python-oicsrc7d1639fb440103de917b99c5d263140708e0eac67e842b696e32e327318191ecPython 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-x86-64-normal-prod-00843196-20250816-03111python-oic-helpnoarch4f8d25839776faeb95edfab09e19c2eed119b1d0b628f78b14b2cdda88f5c6e2Development 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-x86-64-normal-prod-00843194-20250816-03104python-oic-1.7.0-1.src.rpmpython-oic-helpnoarch4314b2f072586c0c9bc844c83d642176a52078e4f94632d2cde2236b7961b47fDevelopment 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-x86-64-normal-prod-00843196-20250816-03111python-oic-1.7.0-1.src.rpmpython-zstandardsrc3dd2ddf921be263dda08ac1ce4e8b3bb579e1e64228d456df6b5c33062143691Zstandard bindings for Pythonhttps://github.com/indygreg/python-zstandardBSDopenEuler Copr - user Kylin2000Unspecifiedeur-prod-workerlocal-x86-64-normal-prod-00843194-20250816-03104python-zstandard-debuginfox86_644b9427b866e7562464fc919a825e2b36fc0e5039c44e795f5e4aaacf0f9a6b62Debug 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-x86-64-normal-prod-00843194-20250816-03104python-zstandard-0.23.0-1.src.rpmpython-zstandard-debugsourcex86_64e252069294887b8d7e57d9dca63c1b26b64dd590fa0df7c0137cef7c806d5418Debug 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-x86-64-normal-prod-00843194-20250816-03104python-zstandard-0.23.0-1.src.rpmpython-zstandard-helpx86_641e19d488aa29cb5b0f858dd82d22b4832a9be17391f78f1fc9a110ff1796d670Development documents and examples for zstandardhttps://github.com/indygreg/python-zstandardBSDopenEuler Copr - user Kylin2000Unspecifiedeur-prod-workerlocal-x86-64-normal-prod-00843194-20250816-03104python-zstandard-0.23.0-1.src.rpmpython3-Flask-pyoidcnoarch475a7309624a465651de42688b79f71315365fd0001e31fd97617d196e95f054Flask 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-x86-64-normal-prod-00843192-20250816-03100python-Flask-pyoidc-3.14.3-1.src.rpmpython3-oicnoarch13a8220c1f17d110fd06d3d403a990b68502e2272a2a82da617c4300228ba289Python 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-x86-64-normal-prod-00843194-20250816-03104python-oic-1.7.0-1.src.rpm/usr/bin/oic-client-managementpython3-oicnoarch76a3e8704206844e03e5123f0b16dc31c989f033b4798732941add1a7ddf3bb0Python 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-x86-64-normal-prod-00843196-20250816-03111python-oic-1.7.0-1.src.rpm/usr/bin/oic-client-managementpython3-zstandardx86_64a85f2b6e41d1517ac9c64d2f4db09d78f9ecddeca5d2de86ebd4d8374269c7fbZstandard bindings for Pythonhttps://github.com/indygreg/python-zstandardBSDopenEuler Copr - user Kylin2000Unspecifiedeur-prod-workerlocal-x86-64-normal-prod-00843194-20250816-03104python-zstandard-0.23.0-1.src.rpm