No project description provided
Project description
Implements a simple API for creating a requests Session that manages your OIDC-discovered OAuth2 session for you.
pip install requests-oidc
from requests_oidc import make_auth_code_session
from requests_oidc.plugins import OSCachedPlugin
oidc_url = "https://your-oidc-provider.com/.well-known/openid-configuration"
client_id = "your-app"
port = 8675
scope = ["openid", "email", "profile"]
plugin = OSCachedPlugin("your-app", "your-company")
session = make_auth_code_session(oidc_url, client_id, port, scope, plugin=plugin)
Package |
|
build |
|
Git |
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
requests_oidc-0.6.2.tar.gz
(8.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file requests_oidc-0.6.2.tar.gz.
File metadata
- Download URL: requests_oidc-0.6.2.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.3 Linux/6.2.6-76060206-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84ea777457067f8f67fe25534b9c153f3f9a45336c83e073a93ce735a86406ca
|
|
| MD5 |
34f763107bb519e38ac07d28046d692c
|
|
| BLAKE2b-256 |
aec55513f65d7b51ad824fcb19f04e4f3acc72b126c19d95115a27a32eb38db7
|
File details
Details for the file requests_oidc-0.6.2-py3-none-any.whl.
File metadata
- Download URL: requests_oidc-0.6.2-py3-none-any.whl
- Upload date:
- Size: 12.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.3 Linux/6.2.6-76060206-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
227fbcc561d0acb54469d62a7d4bde055a8eeee7968cdb98fa732e0d2313d814
|
|
| MD5 |
2f78d4e466a64fda27e6f2658c968d8f
|
|
| BLAKE2b-256 |
1a8d476afe3e170b32531705f5b6b1fa00684fb45a504454eecd3ad0a9f5e393
|