Fastapi-users

Latest version: v14.0.1

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

Scan your dependencies

Page 16 of 17

0.6.1

Not secure
Fixes

* Arbitrary redirect URL were not used when generating the authorize URL in OAuth2 flow.

0.6.0

Not secure
New features

* OAuth2 flow based on [HTTPX OAuth](https://github.com/frankie567/httpx-oauth). [[Documentation](https://frankie567.github.io/fastapi-users/configuration/oauth/)]

0.5.1

Not secure
Improvements

* Expose more options to tune the generated cookie with Cookie authentication. [[Documentation](https://frankie567.github.io/fastapi-users/configuration/authentication/cookie/#configuration)]
* Bump dependencies:
* `fastapi==0.46.0`

0.5.0

Not secure
Fixes

* Fix 83: custom fields where not output in API responses. Thanks MariusMez!

Breaking changes

* Each User Pydantic model variations should be defined by the end-developer and passed to the `FastAPIUsers` object. [[Documentation](https://frankie567.github.io/fastapi-users/configuration/model/#define-your-models)] [[Documentation](https://frankie567.github.io/fastapi-users/configuration/router/#configure-fastapiusers)]
* Pydantic model for the DB representation should be passed to the DB adapter. [[Documentation](https://frankie567.github.io/fastapi-users/configuration/databases/sqlalchemy/#create-the-database-adapter)]
* Tortoise base model class is now an `abstract` model and is now named `TortoiseBaseUserModel`. [[Documentation](https://frankie567.github.io/fastapi-users/configuration/databases/tortoise/)]

0.4.1

Not secure
Fixes

* Fix 77: with Tortoise ORM, use a `CharField` as primary key instead of a `TextField`. Thanks grigi!

Improvements

* Bump dependencies:
* `fastapi==0.45.0`
* `tortoise==0.15.5`
* `motor==2.1.0`
* `sqlalchemy==1.3.12`

0.4.0

Not secure
New features

* Multiple authentication backends. [[Documentation](https://frankie567.github.io/fastapi-users/configuration/authentication/)]
* Tortoise ORM database adapter. [[Documentation](https://frankie567.github.io/fastapi-users/configuration/databases/tortoise/)] Thanks prostomarkeloff!

Breaking changes

* Authentication is now configured with a list, to allow multiple authentication backends. [[Documentation](https://frankie567.github.io/fastapi-users/configuration/authentication/)]
* There are several login routes, one for each authentication backend. [[Documentation](https://frankie567.github.io/fastapi-users/configuration/authentication/)]

Improvements

* Bump dependencies:
* `fastapi==0.44.0`

Known limitations

* Automatic documentation doesn't discover authentication method. See 68.

Page 16 of 17

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.