fastapi-jwt-auth
fastapi-jwt-auth copied to clipboard
FastAPI extension that provides JWT Auth support (secure, easy to use, and lightweight)
Hi guys. Wonderful package have been made. Today I tried to update the PyJWT but it shows an error and Github marks it as a vulnerability. I hope you can...
I'm having a problem with the OpenApi doc generation, I tested https://indominusbyte.github.io/fastapi-jwt-auth/advanced-usage/generate-docs/ and it keeps giving the error with the Authorization key being ignored by openApi, if you make the...
I am using pyjwt version 2.4.0 and I think it's conflicting and showing this error: `AttributeError: 'str' object has no attribute 'decode'` When I try to use this: ``` access_token...
Hi, I'm getting this error when running the example https://indominusbyte.github.io/fastapi-jwt-auth/usage/basic/ ``` Traceback (most recent call last): File "/Users/kang/Dev/fastapi-jwt-test/main.py", line 3, in from fastapi_jwt_auth import AuthJWT File "/Users/kang/Dev/fastapi-jwt-test/.venv/lib/python3.10/site-packages/fastapi_jwt_auth/__init__.py", line 5, in...
tldr; What is the best practice to refresh the token or how would you recommend triggering it? The example has provided a refresh endpoint (`/refresh`). When the access token has...
In this line, https://github.com/IndominusByte/fastapi-jwt-auth/blob/a6c06193319da0e4976c7472966f3a2891e0d50c/fastapi_jwt_auth/auth_jwt.py#L549 the code is trying to get `CSRF_TOKEN` from the headers and treating `response.headers` as a `dict` object which is true. But the headers don't contain the...
Hello, for typing and linting purposes I think it would be a good idea to include those attributes (message and status code) to the base class, given that they are...
Is there any plan for the pull requests to be reviewed or merged?