Project-Stage-Academy / UA1244_beta

1 stars 0 forks source link

Fix misconfiguration in simplejwt #30

Closed mehalyna closed 3 weeks ago

mehalyna commented 3 weeks ago

Hi team, i faced with error receiving access_token, due to simplejwt lib trying to select a user by an unexistent field, in our cause is id.

To fix this issue, we need to change USER_ID_FIELD parameter in settings.py From id to user_id.