Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

OAuth 2.0 compliant client and server library.

Project Description
pyoauth2: OAuth 2.0 Client and Provider Library

Notice: this is not original package by @StartTheShift, but rather @Songbee's fork.

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: HTTP 302

Error Response: HTTP 302

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

[Server side only]
Request: GET /get_access_token

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."
Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyoauth2-shift-0.0.1.tar.gz (9.1 kB) Copy SHA256 Checksum SHA256 Source Nov 8, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting