You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no AUDIENCE key in my SIMPLE_JWT, because if you define it, rest_framework_simplejwt package made validation against JWT payload['aud'] and fail, since it is not set by Cognito.
You need to tell which JWT payload attribute contain user identifier, thats USER_ID_CLAIM in my case (can be also "sub")
You need to describe, how rest_framework_simplejwtfind relevant record in DB and define attribute, where you have stored value from USER_ID_CLAIM payload; thats the USER_ID_FIELD
I've been trying setup AWS Cognito using JWK_URL, but not working. Is there a way to do this?
My
settings.py
myview.py
What more I need to do?
Tks in advance, :)
The text was updated successfully, but these errors were encountered: