Oauth-dropins

Latest version: v6.4

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

Scan your dependencies

Page 1 of 5

6.4

Misc webutil updates.

6.3

Notable changes

* Bluesky:
* Normalize handles to lower case, remove leading `` ([bridgy1667](https://github.com/snarfed/bridgy/issues/1667)).

Miscellaneous changes in `webutil`.

6.2

Miscellaneous changes in `webutil`.

6.1

Notable changes

_Non-breaking changes:_

* IndieAuth:
* Store access token and refresh token in `IndieAuth` datastore entities.
* Misc `webutil` changes.

6.0

Breaking changes

* Remove `webutil.handlers`, which was based on the largely unmaintained [`webapp2`](https://github.com/GoogleCloudPlatform/webapp2). All known clients have migrated to [Flask](https://palletsprojects.com/p/flask/) and `webutil.flask_util`.
* Drop Python 3.6 support. Python 3.7 is now the minimum required version.

Non-breaking changes

* Add new `twitter_v2` module for Twitter's new [OAuth 2 with PKCE](https://developer.twitter.com/en/docs/authentication/oauth-2-0/authorization-code) support and [v2 API](https://developer.twitter.com/en/docs/twitter-api/migrate/whats-new).
* Blogger:
* Fix bug when user approves the OAuth prompt but has no Blogger blogs. Instead of crashing, we now redirect to the callback with `declined=True`, which is still wrong, but less bad.
* Mastodon:
* Change `MastodonAuth.access_token_str` from ndb `TextProperty` to `StringProperty` so that it's indexed in the Datastore.
* When the callback gets an invalid `state` parameter, return HTTP 400 instead of raising `JSONDecodeError`.
* Misc webutil updates.

5.0

Breaking changes

* Drop Python 3.5 support. Python 3.6 is now the minimum required version.

Non-breaking changes

* Switch from app_server to `flask run` for local development.
* Add `webutil.util.set_user_agent` to set `User-Agent` header to be sent with all HTTP requests.

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.