Fixed writing of cached token as str
and removed in token_util.py extra decoding that was corrupting idtokens and causing the Glidein schedd authentication to fail.
jwt.encode can accept a string as a key, but will encode it in utf-8, not latin-1, causing a different value (corrupted token)
Fixed writing of cached token as str and removed in token_util.py extra decoding that was corrupting idtokens and causing the Glidein schedd authentication to fail.
jwt.encode can accept a string as a key, but will encode it in utf-8, not latin-1, causing a different value (corrupted token)