Advertisements So, I have a django project, and have added JWT authentication. The problem is that each time I use TokenObtainPairView with the same credentials I get different access and refresh tokens. Is this the default behavior, as I have not changed anything in the settings? Is there a way to get the previous token… Read More SimpleJWT returns different access and refresh token each time
Advertisements i’m trying to log into an account that isn’t superuser and getting an error from rest_framework "detail": "No active account found with the given credentials" using a custom user model models.py : lass UserAccountManager(BaseUserManager): def create_user(self, email, first_name, last_name, password=None): if not email: raise ValueError(‘Users must have an email’) email = self.normalize_email(email) user =… Read More Django simpleJWT error "detail": "No active account found with the given credentials"