glideinWMS / glideinwms

The glideinWMS Project
http://tinyurl.com/glideinwms
Apache License 2.0
16 stars 45 forks source link

Fixed idtoken error #322

Closed mambelli closed 1 year ago

mambelli commented 1 year ago

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)