Comments (1)
I have the same need.
I am currently inheriting and overriding methods.
It would be great to add these two events.
How about on_before_login can be before line 57?
https://github.com/fastapi-users/fastapi-users/blob/master/fastapi_users/router/auth.py#L57
on_after_failed_login can be after 59 and 64?
https://github.com/fastapi-users/fastapi-users/blob/master/fastapi_users/router/auth.py#L59
https://github.com/fastapi-users/fastapi-users/blob/master/fastapi_users/router/auth.py#L64
Or here after line 657?
https://github.com/fastapi-users/fastapi-users/blob/master/fastapi_users/manager.py#L657
from fastapi-users.
Related Issues (20)
- OAuthAccount.expires_at should be BigInteger HOT 1
- Support for Python 3.12 HOT 11
- The backend is not picked right with logout endpoint HOT 5
- How can i response many others user fields in jwt login ?
- fastapi depreciation in "full example" HOT 4
- Redis backends can't use 'reset-password' 'verify' HOT 4
- Inconsistency on responses HOT 2
- Crypt deprecation warning from passlib HOT 12
- user profile 401 Unauthorized HOT 3
- SQLAlchemyUserDatabase.create() got an unexpected keyword argument 'safe'
- forget password return null in responce body instead of token ?
- AttributeError: 'ValidatedEmail' object has no attribute 'normalized' HOT 2
- cannot import name 'BeanieUserDatabase' from 'fastapi_users.db' HOT 1
- Exposing unused fields in FastAPI docs HOT 1
- alembic won't run imgration fastapi_users_db_sqlalchemy is not defined HOT 1
- Theoretically several users with the same email can be created HOT 1
- from fastapi_users.db import SQLAlchemyBaseUserTableUUID, SQLAlchemyUserDatabase - these 2 classes are not implemented/available HOT 1
- broken (?) typing on JWTStrategy
- current_user.id is sqlalchemy.exc.MissingGreenlet HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastapi-users.