Question

Invalid or expired token

686896fe-37a5-41d1-a630-d6c5a0255d8e

Authentication module rejected freshly created valid tokens. tests/test_auth.py failed in signature verification with Invalid or expired token. In verify_token(), code used payload_bytes = payload_hex.encode(), which encodes the hex text as UTF-8 bytes instead of decoding it back to the original signed bytes.