T13.9 follow-up: forgive paste damage in OKTA_SYNC_PRIVATE_KEY and name the failing step (D23)

This commit is contained in:
2026-10-16 16:04:52 -07:00
parent d137d690f9
commit 5cf6355a01
3 changed files with 79 additions and 7 deletions

View File

@@ -388,3 +388,10 @@ and the third is logged:
Result 2026-10-16: sandbox, fake Okta. Not yet run against the real tenant.
No new dependency: PyJWT signs with `cryptography`, which Authlib already installs.
T13.9 follow-up (2026-10-16): the first live deploy failed with "OKTA_SYNC_PRIVATE_KEY is not a
JWK as JSON or as base64 of JSON". The first loader used strict base64, which rejects any
space or line break, and it gave one message for every failure. The loader now forgives quote
marks, spaces, line breaks, missing padding, the URL-safe alphabet, a byte-order mark and a
one-key JWK Set, and each failure names its step (counts only, no key text). The new checks
in `tests/okta_sync_oauth_check.py` fail against the first loader and pass now.