Closed bernie-haxx closed 4 years ago
Fixed by https://github.com/st4lk/django-rest-social-auth/pull/112
I don't think we need to pass knox_settings.TOKEN_TTL
here since it is the default value:
https://github.com/James1345/django-rest-knox/blob/4.1.0/knox/models.py#L12
class AuthTokenManager(models.Manager):
def create(self, user, expiry=knox_settings.TOKEN_TTL)
...
Ooh sure.....saw the fix too.
The token variable was creating a tuple consisting of the token and instance variable based on the knox 4.0 update. I can take my time in creating a whole token and expiry generation for the knox system if you let me.