Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting or glue language to connect existing components together. Before you start, you will need Python […]
Type Error: decode() got unexpected keyword argument ‘verify’
This error is usually comes when we use PyJWT library in our django project for API. Because TokenBackend.decode passes arbitrary kwargs to jwt.decode, this is caused by jpadilla/pyjwt#657 (which is now forbidden). (Temporary) fix is to pin PyJWT with pyjwt<2.2 in your requirements.txt. Note: If your project hosted with AWS Lightsail may be you need to […]