tokusumi / fastapi-cloudauth

Simple integration between FastAPI and cloud authentication services (AWS Cognito, Auth0, Firebase Authentication).
MIT License
323 stars 35 forks source link

For supporting unit test override deps #82

Open kidylee opened 1 year ago

kidylee commented 1 year ago

fastAPI using hash to compare between auth instance. Original implementation is using clone instances for each dependency injection, which is fine as long as provide hash to make them comparable.

An example has added to readme.md.