I pass my token (validated in jwt.io) and I get this error:
raise DecodeError("Invalid header padding") from err
return jwt.decode(token, public_key, audience=settings.AUTH0_AUDIENCE, issuer=settings.JWT_ISSUER, algorithms=['RS256'])
The public key and the other parameters are ok too.