django-rest-framework-jwt icon indicating copy to clipboard operation
django-rest-framework-jwt copied to clipboard

JWT_PAYLOAD_GET_USER_ID_HANDLER setting ignored in jwt_get_secret_key

Open SPKorhonen opened this issue 7 years ago • 1 comments

In function jwt_get_secret_key() "user_id" is read directly from by payload.get('user_id') which leads to problems when using custom encoding on payload

SPKorhonen avatar Sep 22 '17 08:09 SPKorhonen

+1

paolodamico avatar Dec 18 '17 20:12 paolodamico