skillfed

Flask-OpenID

OpenID support for Flask

flask-openid v1.3.1 1.5M downloads/30d#3,829 on PyPI235
Permissive license BSD DORMANT released

What it is and what it does

Flask-OpenID is a Flask extension that integrates the original OpenID authentication protocol into web applications. It allows developers to add OpenID-based login flows where users authenticate through external OpenID providers rather than managing credentials directly in the application.

The package wraps the python3-openid library and provides Flask-specific decorators and utilities to simplify OpenID integration. However, the fact sheet and package description both note that this implements a very old and outdated version of OpenID—the OpenID Connect protocol is now the current standard. Most modern authentication scenarios use OAuth 2.0 or OpenID Connect instead. The package remains available for legacy systems or niche use cases where OpenID support is still required.

Use it for:

  • Adding OpenID authentication to legacy Flask applications that already rely on the original OpenID protocol
  • Integrating with systems or services that only support the original OpenID specification
  • Maintaining backward compatibility in older web applications during gradual migration away from OpenID
  • Educational or historical reference for understanding how OpenID authentication was implemented in Flask

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Adds OpenID authentication support to Flask web applications, integrating the legacy OpenID protocol for user login and identity verification.

No, unless you are maintaining legacy code that specifically requires the original OpenID protocol. OpenID is obsolete; modern Flask applications should use OpenID Connect, OAuth 2.0, or other current authentication standards. The package is dormant (last release 810 days ago) and implements a protocol almost no one uses anymore. Install only if you have an explicit requirement to support existing OpenID infrastructure.

Install

flask-openid on PyPI

pip

pip install flask-openid

uv

uv add flask-openid

poetry

poetry add flask-openid

Installing Flask-OpenID

Before you install

Low install friction with only two runtime dependencies (Flask and python3-openid). Maintenance is dormant—last release was 810 days ago in May 2024, though the repository remains active and the package supports current Python versions.

License in practice

BSD license permits commercial and private use with minimal restrictions, making it suitable for most projects that can accept permissive licensing.

Quickstart

pip install Flask-OpenID

from flask import Flask
from flask_openid import OpenID

app = Flask(__name__)
oid = OpenID(app)

Requires Flask and python3-openid to be installed; OpenID protocol itself is obsolete and rarely used in modern applications.

Verify before relying

  • Whether existing OpenID providers still operate and support this legacy protocol version
  • Real-world compatibility with modern Flask versions beyond the stated Python 3 support
  • Whether the underlying python3-openid dependency receives security updates

Package facts

License BSD (permissive)
Python support supports the current Python release (>=3.0)
Install friction low — pure-Python wheel
Runtime dependencies 2 — Flask, python3-openid
Maintenance dormant — 810 days since the last release
Last repo commit
First released
Downloads 1,502,720/month — #3,829 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: Flask_OpenID-1.3.1-py3-none-any.whl

Development Status :: 4 - BetaEnvironment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyTopic :: Internet :: WWW/HTTP :: Dynamic ContentTopic :: Software Development :: Libraries :: Python Modules

Tags

openid authentication flaskflask login openidlegacy openid supportflask user authenticationopenid identity providerflask web authenticationopenid protocol integration
legacy-protocolauthentication

More Python Modules packages