Replies: 1 comment
-
check #224 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
check #224 |
Beta Was this translation helpful? Give feedback.
-
as specified in the documentation for jwt implementation https://authx.yezz.codes/configuration/security/jwt/ ,
from authx import RedisCacheBackend, JWTBackend
should not return an error. as shown below`
is_verified
should return a boolean showing the verification state of the token.this is my implementation below.
Suspected problem
RedisCacheBackend is not an exported class from the module - not part of the module, but that is what was shown according to the documentation.
using RedisBackend(this is exported from the module) instead, returns TypeError `Expected Type 'RedisBackend', got Type[RedisBackend] instead. in the JWTBackend class
Beta Was this translation helpful? Give feedback.
All reactions