🌐
Readthedocs
flask-oidc.readthedocs.io
Flask-OIDC — Flask-OIDC documentation
Flask-OIDC is an extension to Flask that allows you to add OpenID Connect based authentication to your website in a matter of minutes. It depends on Flask and Authlib.
Flask-OIDC 1.1 documentation
If the user is logged in, you can use session["oidc_auth_profile"] to get information about the currently logged in user. A User object is also provided on Flask’s g object as g.oidc_user. See its API documentation to discover which convenient properties are available.
Read the Docs
If the user is logged in, you can use session["oidc_auth_profile"] to get information about the currently logged in user. A User object is also provided on Flask’s g object as g.oidc_user. See its API documentation to discover which convenient properties are available.
flask_oidc package
Whether the user is logged in with Flask-OIDC.
flask_oidc
Returns: bool: Whether the user is logged in with Flask-OIDC.
🌐
PyPI
pypi.org › project › flask-oidc
flask-oidc · PyPI
The full documentation is at https://flask-oidc.readthedocs.io/
      » pip install flask-oidc
    
Published   Jun 16, 2025
Version   2.4.0
🌐
GitHub
github.com › puiterwijk › flask-oidc
GitHub - puiterwijk/flask-oidc: OpenID Connect support for Flask · GitHub
OpenID Connect support for Flask. Contribute to puiterwijk/flask-oidc development by creating an account on GitHub.
Starred by 161 users
Forked by 215 users
Languages   Python
🌐
Readthedocs
flask-oidc2.readthedocs.io › en › 1.5.0
Flask-Oidc2 — Flask Oidc 2 1.5.0 documentation
Flask-Oidc2 is an extension to Flask that allows you to add OpenID Connect based authentication to your website in a matter of minutes. It depends on Flask and oauth2client.
🌐
GitHub
github.com › puiterwijk › flask-oidc › blob › master › docs › index.rst
flask-oidc/docs/index.rst at master · puiterwijk/flask-oidc
Flask-OIDC is an extension to Flask that allows you to add OpenID Connect based authentication to your website in a matter of minutes. It depends on Flask and oauth2client.
Author   puiterwijk
🌐
Readthedocs
flask-oidc.readthedocs.io › en › latest › _source › flask_oidc.model.html
flask_oidc.model module — Flask-OIDC documentation
Flask-OIDC documentation » · flask_oidc package » · flask_oidc.model module · class flask_oidc.model.User(ext: OpenIDConnect)[source]¶ · Bases: object · A representation of an OIDC-based user. Parameters: ext (OpenIDConnect) – the extension instance ·
🌐
GitHub
github.com › nickolashkraus › flask-oidc
GitHub - nickolashkraus/flask-oidc: An example Flask app that executes the OpenID Connect authorization code flow
An example Flask app that executes the OpenID Connect authorization code flow - nickolashkraus/flask-oidc
Author   nickolashkraus
🌐
Anaconda.org
anaconda.org › conda-forge › flask-oidc
flask-oidc - conda-forge | Anaconda.org
Flask-OIDC is an extension to Flask that allows you to add OpenID Connect based authentication to your website in a matter of minutes.
🌐
Readthedocs
flask-oidc.readthedocs.io › en › latest › _modules › flask_oidc › model.html
flask_oidc.model — Flask-OIDC documentation - Read the Docs
Arguments: ext (OpenIDConnect): the extension instance """ def __init__(self, ext: "OpenIDConnect"): self._ext = ext @property def logged_in(self) -> bool: """Return ``True`` if the user is logged in, ``False`` otherwise.""" return session.get("oidc_auth_token") is not None @property def access_token(self) -> Optional[str]: """The user's OIDC access token.""" return self._ext.get_access_token() @property def refresh_token(self) -> Optional[str]: """The user's OIDC refresh token.""" return self._ext.get_refresh_token() @property def profile(self) -> dict[str, Any]: """The user's OIDC profile, if any.
Find elsewhere
🌐
GitHub
gist.github.com › thomasdarimont › 145dc9aa857b831ff2eff221b79d179a
Simple python example using flask, flask_oidc and keycloak · GitHub
Then I built the realm and client, and modified the code according to the latest release of flask-oidc (1.2.0) (Sep 28, 2017). ... If you've discovered a new way to deal with Flask Keycloak, please let me know too!
🌐
Readthedocs
flask-oidc.readthedocs.io › en › latest › changelog.html
Changelog — Flask-OIDC documentation - Read the Docs
The callback route (aka “redirect URL”) is not configurable with OIDC_CALLBACK_ROUTE anymore. It is always /authorize, but a prefix can be configured when instanciating the OpenIDConnect extension (or calling its OpenIDConnect.init_app() method: app = Flask(__name__) openid = OpenIDConnect(app, prefix="/oidc") # The OIDC redirect URL will be /oidc/authorize
🌐
GitHub
github.com › puiterwijk › flask-oidc › blob › master › flask_oidc › __init__.py
flask-oidc/flask_oidc/__init__.py at master · puiterwijk/flask-oidc
OpenID Connect support for Flask. Contribute to puiterwijk/flask-oidc development by creating an account on GitHub.
Author   puiterwijk
🌐
GitHub
github.com › puiterwijk › flask-oidc › blob › master › example.py
flask-oidc/example.py at master · puiterwijk/flask-oidc
OpenID Connect support for Flask. Contribute to puiterwijk/flask-oidc development by creating an account on GitHub.
Author   puiterwijk
🌐
PyPI
pypi.org › project › flaskoidc
flaskoidc · PyPI
A wrapper of Flask with pre-configured OIDC support. Ideal for microservices architecture, each request will be authenticated using Flask's before_request middleware.
      » pip install flaskoidc
    
Published   Apr 26, 2022
Version   1.1.2
🌐
PyPI
pypi.org › project › Flask-OIDC-SP
Flask-OIDC-SP · PyPI
February 27, 2022 - FlaskOIDC supports OIDC auto discovery to simplify configuration and deployment.
      » pip install Flask-OIDC-SP
    
Published   Feb 28, 2022
Version   22.2.28