Skip to main content
https://img.shields.io/pypi/pyversions/oic.svg https://img.shields.io/pypi/v/oic.svg https://img.shields.io/readthedocs/pyoidc/latest https://raw.githubusercontent.com/CZ-NIC/pyoidc/python-coverage-comment-action-data/badge.svg https://api.securityscorecards.dev/projects/github.com/CZ-NIC/pyoidc/badge

A Python OpenID Connect implementation

This 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.

Documentation

The documentation is graciously hosted by Read the Docs. Unfortunately, the documentation has been largely left unmaintained and there are various issues. However, the maintainers are trying to remedy this lately with some new momentum. Please help us by submitting pull requests if you can help improve the documentation.

Examples

Unfortunately, the current examples included in this repository are unmaintained and there are many issues. We’re currently in the process of creating a working canonical example implementation, however, until that time, the current examples largely do not work. Please help us by submitting pull requests that may bring these examples back into a working condition if you get something working locally.

Acknowledgements

Cudos to Vladislav Mladenov and Christian Mainka both at Horst Görtz Institute for IT-Security, Ruhr-University Bochum, Germany for helping me making the implementation more secure.

Maintainers Needed

If you’re interested in helping maintain and improve this package, we’re looking for you! We’re working on the project on a best effort basis but we still maintain a good flow of reviewing each others pull requests and driving discussions on what should be done.

Please contact one of the current maintainers @rohe, @tpazderka or @schlenk.

Contribute

Fork the repository, clone your copy and install pipenv.

Then just run:

$ make install

Next, running the tests:

$ make test

This will not affect your system level Python installation. Please review our issues to see what needs working on. Do not hesitate to ask questions if something is unclear. We mark easy issues as newcomer-friendly, so they are a good place to start if you want to contribute.

Windows

If you happen to work in a Windows environment, the above will not work out of the box due to the lack of a GNU Make on Windows. In addition one of the dependencies for ldap_authn is not available as a prebuilt wheel from pypi, so use these slightly modified instructions.

With pipenv in your path you run:

pipenv install --dev -e .[develop,testing,docs,quality]

Next you can run the tests:

pipenv run pytest tests

Metadata

Release files for oic 1.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for oic 1.8.0
File Size Uploaded Provenance Actions
oic-1.8.0.tar.gz 281.7 kB Without provenance Details for oic-1.8.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for oic 1.8.0
File Interpreter ABI Platform Actions
oic-1.8.0-py3-none-any.whl Python 3 none any Details for oic-1.8.0-py3-none-any.whl

Total release size: 479.8 kB

Release files / oic-1.8.0.tar.gz

Download URL oic-1.8.0.tar.gz
Size 281.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a8fc193ae63fec095ebdb334542f7a2bece41bc05268e36d959e32ffa1967405
BLAKE2b-256 checksum
How to use checksums
bbfdb184f1bc5ae6c71cea2522ffa57441cc3590d22736393af0bc4736ae1f65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / oic-1.8.0-py3-none-any.whl

Download URL oic-1.8.0-py3-none-any.whl
Size 198.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
58a34c38f2849b6d20d3ebcd4c33f3cfd8bb1d03ad0dc8742111b0734235d3e7
BLAKE2b-256 checksum
How to use checksums
b4ca1dc5d060514cd8d904414d864268eacc2b76d58c031554e3a7df5ad2b450
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for oic 1.8.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.8.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page