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 […]