Files
fastapi-users/fastapi_users/__init__.py
François Voron 1df7c1038d Bump version 15.0.1 → 15.0.2
🛡️ Security Fix
----------------

A CSRF vulnerability was identified in the OAuth2 flow. To mitigate this, the authorize endpoint will set a cookie in the response, and this cookie will be expected in the callback request.

In most cases, this change should work out-of-the-box, but in certain scenarios (e.g. cross-domain setups), additional configuration may be required for the cookie to be correctly sent and received. [[Read more](https://fastapi-users.github.io/fastapi-users/dev/configuration/oauth/#csrf-cookie-configuration)]

**Thanks to @davidbors-snyk from [Snyk](https://github.com/snyk) for his research, responisble disclosure, and assistance in fixing this issue.**

Improvements
------------

* Bump dependencies
    * `python-multipart ==0.0.21`
    * `pwdlib[argon2,bcrypt] ==0.3.0`
2025-12-19 08:28:45 +01:00

24 lines
574 B
Python

"""Ready-to-use and customizable users management for FastAPI."""
__version__ = "15.0.2"
from fastapi_users import models, schemas # noqa: F401
from fastapi_users.exceptions import InvalidID, InvalidPasswordException
from fastapi_users.fastapi_users import FastAPIUsers # noqa: F401
from fastapi_users.manager import ( # noqa: F401
BaseUserManager,
IntegerIDMixin,
UUIDIDMixin,
)
__all__ = [
"models",
"schemas",
"FastAPIUsers",
"BaseUserManager",
"InvalidPasswordException",
"InvalidID",
"UUIDIDMixin",
"IntegerIDMixin",
]