miguelgrinberg / Flask-HTTPAuth

Simple extension that provides Basic, Digest and Token HTTP authentication for Flask routes
MIT License
1.27k stars 228 forks source link

Decorator verify_token not working with changes version werkzeug 2.3.0 #160

Closed GabiAndi closed 1 year ago

GabiAndi commented 1 year ago

The parameters attribute takes the place of the class itself being a dict. This greatly simplifies the type annotations as well as the implementation. The classes still support auth[key] and auth.key to get, set, and delete keys from the parameters dict, as well as auth.get(key) and key in auth.

2023-04-26-145522_1531x587_scrot

More info:

https://github.com/pallets/werkzeug/pull/2619 https://github.com/pallets/werkzeug/issues/1769