Sanic-jwt

Latest version: v1.8.0

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

Scan your dependencies

Page 2 of 4

1.3.0

Added
- 40. Page redirection for static page protection
- Support to be able to individually protect class-based view methods without the decorators property

1.2.2

Changed
- 148. Exception message on refresh token intialization

Fixed
- 147. protected decorator properly applied to built in views when initialized on a blueprint

1.2.1

Fixed
- 144 Security bug resolved on empty tokens

1.2.0

Added
- Custom claims
- Extra payload validation
- Configuration option: SANIC_JWT_DO_PROTECTION

Changed
- Invalid tokens now 401 instead of 403

1.1.4

**Fixed**
- Bug with `_do_protect` in `scoped` decorator

1.1.3

**Changed**
- Exception handling to consistently have a `exception` and `reasons` key
- `reasons` in exception handling to be consistently formatted
- `400` responses for `debug` turned off, and `401` when turned on

**Fixed**
- [110](https://github.com/ahopkins/sanic-jwt/issues/110). Preflight methods now properly handled
- [114](https://github.com/ahopkins/sanic-jwt/issues/114). Proper use of `utils.call` to allow for sync and async `retrieve_user` functions
- [116](https://github.com/ahopkins/sanic-jwt/issues/116). Proper error reporting on malformed tokens
- [118](https://github.com/ahopkins/sanic-jwt/issues/118). Proper error reporting on expired token for `/auth/me` and `/auth/refresh` by applying `protected` decorators

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.