Exception Type: ImmatureSignatureErrorException
Value: The token is not yet valid (iat)
Exception Location:/var/lib/awx/venv/awx/lib64/python3.12/site-packages/jwt/api_jwt.py, line 333, in _validate_iatRaised during:social_django.views.complete
Do you think that the social-core max version can be raised in all the requirements files ?
Best regards.
Bug Summary
Hello,
i'm encountering that error when authenticating with awx devel with that requirements files https://github.com/ansible/django-ansible-base/blob/devel/requirements/requirements_dev.txt and a keycloak.
The issue is within PyJWT that is using IAT but it can be solved by changing the
JWT_LEEWAYvalue inawx/settings/default.pywhen using social-core greater than 4.7.0 thanks to that line :https://github.com/python-social-auth/social-core/blob/4.7.0/social_core/backends/keycloak.py#L136
Do you think that the social-core max version can be raised in all the requirements files ?
Best regards.