feat: v0.3.5 — full boot working, fresh JWT every boot, it_node_checkin operational
This commit is contained in:
@@ -92,9 +92,11 @@ class IdentityIoT:
|
||||
|
||||
def authenticate(self):
|
||||
"""Full challenge/response flow. Returns JWT string."""
|
||||
jwt = self._load_jwt()
|
||||
if jwt and not self._is_jwt_expired(jwt):
|
||||
return jwt
|
||||
|
||||
#Not using cashing
|
||||
#jwt = self._load_jwt()
|
||||
#if jwt and not self._is_jwt_expired(jwt):
|
||||
# return jwt
|
||||
|
||||
node_uid = self._get_node_uid()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user