Skip to main content
pyoauth2: OAuth 2.0 Client and Provider Library
===============================================

Supported Request Flows
-----------------------

(1) Authorization Code Grant :: OAuth 2 Section 4.1

(1A) Authorization Request :: OAuth 2 Section 4.1.1

[For browser apps this happens in the window]
Request: GET /get_authorization_code
?response_type=code
&client_id={CLIENT_ID}
&redirect_uri={REDIRECT_URI}
[&state={STATE}]
[&scope={SCOPE}]

Response: HTTP 302
Location={REDIRECT_URI}
?code={CODE}
&state={STATE}

Error Response: HTTP 302
Location={REDIRECT_URI}
?error=access_denied
&state={STATE}

(1B) Access Token Request :: OAuth 2 Section 4.1.3

[Server side only]
Request: GET /get_access_token
?grant_type=authorization_code
&client_id={CLIENT_ID}
&client_secret={CLIENT_SECRET}
&redirect_uri={REDIRECT_URI}
&code={CODE}

Response: HTTP 200
{
"access_token": "{ACCESS_TOKEN}",
"token_type": "{TOKEN_TYPE}", // See OAuth 2 Section 7.1 Access Token Types
"expires_in": 3600,
"refresh_token": "{REFRESH_TOKEN}"
}

Error Response: HTTP 400
{
"error": "access_denied",
"error_description": "User does not have access to the team."
}

Metadata

Release files for pyoauth2-je 0.0.1

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

Source distribution (sdist)

Source distribution for pyoauth2-je 0.0.1
File Size Uploaded Provenance
pyoauth2-je-0.0.1.tar.gz 8.9 kB Without provenance Details

Release files / pyoauth2-je-0.0.1.tar.gz

Download URL pyoauth2-je-0.0.1.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
549f6122780a7216689288689e194c5eb183bd2c629004447e5761d29e8474dd
BLAKE2b-256 checksum
How to use checksums
bb4a1b32f9f9bd54678643cb07e19e5562f74c6bc3a7cdfdbf96c33b7329e132
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pyoauth2-je 0.0.1

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

0.0.1 This release

1 release file 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