Sanic-oauthlib

Latest version: v0.4.0

Safety actively analyzes 627364 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

0.8.0

-------------

Released on Dec 3, 2014

.. module:: sanic_oauthlib.provider.oauth2

- New feature for generating refresh tokens
- Add new function :meth:`OAuth2Provider.verify_request` for non vanilla Flask projects
- Some small bugfixes

0.7.0

-------------

Released on Aug 20, 2014

.. module:: sanic_oauthlib.client

- Deprecated :meth:`OAuthRemoteApp.authorized_handler` in favor of
:meth:`OAuthRemoteApp.authorized_response`.
- Add revocation endpoint via `131`_.
- Handle unknown exceptions in providers.
- Add PATCH method for client via `134`_.

.. _`131`: https://github.com/lepture/flask-oauthlib/pull/131
.. _`134`: https://github.com/lepture/flask-oauthlib/pull/134

0.6.0

-------------

Released on Jul 29, 2014

- Compatible with OAuthLib 0.6.2 and 0.6.3
- Add invalid_response decorator to handle invalid request
- Add error_message for OAuthLib Request.

0.5.0

~~~~~~~~~~~~~~~~~~~~~~~~~~~

API for OAuth providers ``oauth.require_oauth`` has changed.

Before the change, you would write code like::

app.route('/api/user')
oauth.require_oauth('email')
def user(req):
return jsonify(req.user)

After the change, you would write code like::

from flask import request

app.route('/api/user')
oauth.require_oauth('email')
def user():
return jsonify(request.oauth.user)

.. _`94`: https://github.com/lepture/flask-oauthlib/pull/94
.. _`93`: https://github.com/lepture/flask-oauthlib/issues/93
.. _`92`: https://github.com/lepture/flask-oauthlib/issues/92
.. _`91`: https://github.com/lepture/flask-oauthlib/issues/91
.. _`89`: https://github.com/lepture/flask-oauthlib/issues/89
.. _`86`: https://github.com/lepture/flask-oauthlib/pull/86
.. _`85`: https://github.com/lepture/flask-oauthlib/pull/85
.. _`83`: https://github.com/lepture/flask-oauthlib/pull/83
.. _`82`: https://github.com/lepture/flask-oauthlib/issues/82

Thanks Stian Prestholdt and Jiangge Zhang.

0.4.3

-------------

Released on Feb 18, 2014

- OAuthlib released 0.6.1, which caused a bug in oauth2 provider.
- Validation for scopes on oauth2 right via `72`_.
- Handle empty response for application/json via `69`_.

.. _`69`: https://github.com/lepture/flask-oauthlib/issues/69
.. _`72`: https://github.com/lepture/flask-oauthlib/issues/72

0.4.2

-------------

Released on Jan 3, 2014

Happy New Year!

- Add param ``state`` in authorize method via `63`_.
- Bugfix for encoding error in Python 3 via `65`_.

.. _`63`: https://github.com/lepture/flask-oauthlib/issues/63
.. _`65`: https://github.com/lepture/flask-oauthlib/issues/65

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.