You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: fix incorrect Depends() usage and update deprecated config fields
Fix documentation examples that used `Depends()` without arguments, which
doesn't work because JWTHarmony.__init__ requires req/res parameters. Update
all login endpoints to use `Depends(JWTHarmonyBare)` which properly handles
dependency injection.
Also update example configuration to use v0.2.0 field names (removed
authjwt_ prefix) for consistency with current API.
Changes:
- Update README.md login examples to use JWTHarmonyBare
- Fix all docs/examples/*.py to use correct dependency pattern
- Update config fields: authjwt_* → new field names
- Fix CONTRIBUTING.md and MIGRATION.md examples
0 commit comments