Features:
- Logging support (@wndhydrnt)
- Each grant accepts its own site adapter (see Migration notes) (@wndhydrnt)
- Tornado adapter
Improvements:
- Catch unexpected exceptions and respond with a OAuth2 'server_error' (@wndhydrnt)
- Declare optional dependencies in setup.py (@wndhydrnt)
- Move WSGI server code into its own module (@wndhydrnt)
- Renamed class acting as entrypoint for WSGI server from 'Server' to 'Application' (@wndhydrnt)
- Client Credentials Grant example (@shupp)
- Methods
authenticate
andrender_auth_page
of a Site Adapter accept an instance ofoauth2.datatype.Client
(@wndhydrnt)
Bugfixes:
- Fix Resource Owner Grant responding with HTTP status code '500' in case an owner could not be authorized (@wndhydrnt)
- Fix "scope" parameter not being urlencoded (@wndhydrnt)
Features:
- Issue a new refresh token when requesting an access token through the refresh_token grant type (@jswitzer)
- Set the expiration time of a token for each grant individually (@jswitzer)
- Create redis stores (@bhoomit)
- Create mysql stores (@wndhydrnt)
Improvements:
- Update Tornado integration docs (@kivo360)
- Add functional tests for supported storage backends. (@wndhydrnt)
Bugfixes:
- Fix WSGI adapter not passing a list of tuples as headers in Python 3. (@wndhydrnt)
- Fix request for access token responding '400: Bad Request' in Python 3. (@wndhydrnt)
Features:
- Issue unique access tokens (@wndhydrnt)
- Define what grants a client is allowed to use (@wndhydrnt)
Improvements:
- Corrected class references in doc strings (@Trii)
- Proper handling of errors raised by store adapters (@wndhydrnt)
Bugfixes:
- Added missing
scopes
parameter in SiteAdapter base class (@Trii) - Deleting authorization token after usage (@Trii)
- Scope parameter not returned by access token response of Authorization Code Grant (@wndhydrnt)
- Added missing cache control headers to responses containing a token (@wndhydrnt)
- Fixed ClientCredentialsGrant returning a value of 0 of 'expires_in' with refresh token disabled (@wndhydrnt)
Features:
- Added Client Credentials Grant (@wndhydrnt)
- Renamed
oauth2.AuthorizationController
tooauth2.Provider
(@wndhydrnt) - Added mongodb store (@wndhydrnt)
Features:
- Added support for refresh tokens (@wndhydrnt)
Bugfixes:
- Fixed a bug where MemcacheTokenStore saved objects instead of dictionaries. (@wndhydrnt)
Bugfixes:
- Fixed a bug causing a supplied redirect uri being ignored if it is not the first entry in the list of a client object. (@wndhydrnt)
Features:
- Headers of a response are returned as a dictionary (@wndhydrnt)
- Status code of a response is an integer (@wndhydrnt)
- Streamlining the integration of storage classes and site adapters by requiring them to raise specified errors (@wndhydrnt)
Features:
- Support for scopes (@wndhydrnt)
- Local token and client stores (@wndhydrnt)
- Memcache token store (@wndhydrnt)
- Support for Python 2.6, 3.2 and 3.3 (@wndhydrnt)
Features:
- Working implementation of Authorization Code Grant (@wndhydrnt)
- Working implementation of Implicit Grant (@wndhydrnt)
- Working implementation of Resource Owner Password Credentials Grant (@wndhydrnt)