Flask-oauthlib

Latest version: v0.9.6

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

Scan your dependencies

Page 2 of 4

0.9.0

Not secure
-------------

Released on Feb 3, 2015

- New feature for contrib client, which will become the official client in
the future via `136`_ and `176`_.
- Add appropriate headers when making POST request for access toke via `169`_.
- Use a local copy of instance 'request_token_params' attribute to avoid side
effects via `177`_.
- Some minor fixes of contrib by Hsiaoming Yang.

.. _`177`: https://github.com/lepture/flask-oauthlib/pull/177
.. _`169`: https://github.com/lepture/flask-oauthlib/pull/169
.. _`136`: https://github.com/lepture/flask-oauthlib/pull/136
.. _`176`: https://github.com/lepture/flask-oauthlib/pull/176

0.8.0

Not secure
-------------

Released on Dec 3, 2014

.. module:: flask_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

Not secure
-------------

Released on Aug 20, 2014

.. module:: flask_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

Not secure
-------------

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

Not secure
~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

Not secure
-------------

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

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.