This is the SURF Oauth2 module that interfaces with the oauth2 setup.
Project description
OAuth2-lib
This Project contains a Mixin class that wraps an openapi-codegen python client, to inject Opentelemetry spans and api call retries. It also contains a number of FastAPI dependencies which enables Policy enforcement offloading to Open Policy Agent.
The project contains a number of OIDC classes that are tailored to the SURF environment.
Installation
This can be done as follows:
Step 1:
First install flit to enable you to develop on this repository
pip install flit
Step 2:
To install all development dependencies
flit install --deps develop --symlink
This way all requirements are installed for testing and development.
Development
Depending on the feature type, run bumpversion (patch|minor|major) to increment the version you are working on. For example to update the increment the patch version use
bumpversion patch
For MAC users looking and experimenting with Opentelemetry (OTEL)
https://github.com/jaegertracing/jaeger-client-node/issues/124#issuecomment-324222456
Supported Python versions
oauth2-lib must support the same python versions as orchestrator-core.
Exceptions to this rule are:
- A new python version is released: oauth2-lib should support the new version before orchestrator-core does
- Support for an old python version is dropped: oauth2-lib should drop the python version after orchestrator-core does
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for oauth2_lib-1.2.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a016881cd4de748c4e549f5e6d899764e337a8dd9c809c38cec4d34c47a42c35 |
|
MD5 | 3d0a42682891b2ba41d19270914b2048 |
|
BLAKE2b-256 | c4d5c1eddeb2da4d0ecf5e1efa1a7839aa2b60a4949d1b342853b7cc21cfcaeb |