Repository navigation
Commit f71cf38
Address Copilot review comments on WIF admin PR
- E2E teardown: let `ServerResponseError` from `auth_federation.delete()`
propagate instead of swallowing it. A failed teardown left WIF enabled
on the site, so the next run would hit the fixture's `enabled=True`
guard and silently skip — the destructive paths stopped being
exercised without anyone noticing.
- Key-rotation guidance (endpoint docstring, CHANGELOG, and docs): the
previous `create_key() -> activate_key(new) -> delete_key(old)`
sequence omitted that the old key must stay in the JWKS until every
JWT it signed has expired. Deleting it immediately removes it from
the key set, and verifiers that fetch JWKS afterwards reject the
still-valid tokens signed with it. New guidance keeps the old key
inactive (but published) for up to `token_lifetime_seconds` before
deleting.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent b9db799 commit f71cf38
3 files changed
Lines changed: 25 additions & 13 deletions
File tree
- tableauserverclient/server/endpoint
- test_e2e
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
45 | 49 | | |
46 | 50 | | |
47 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
320 | 327 | | |
321 | 328 | | |
322 | 329 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
0 commit comments