test(e2e): quarantine OIDC token-flow test - needs OP session cookie #110
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/e2e-oidc-fixme"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Last CI run: 6 passed, 2 skipped (auth-ui fixme + cross-tenant company canary optional), 1 failed (OIDC).
OIDC test failed at
state mismatchbecause the redirected URL had nostateparam. Bunyip's/oauth2/authorizerequires an OP session cookie to issue a code; the api project's request context only carries a Bearer header (PR #102 dropped storageState because mokosh PSA auth is Bearer-only). With no OP session, bunyip 302s/authorizeto its own login screen, so neitherstatenorcodecome back.This test exercises bunyip-OP behaviour, not mokosh-server's RS surface. Mokosh-server's bunyip-RS verifier (
src/modules/auth/middleware.rs:69) is already covered indirectly by every passing api test - each one relies on it to accept the bunyip-issued bearer captured in setup.Mark
test.fixmefor phase 1 with a comment naming the OP-cookie dependency so the next attempt either captures+replays cookies in setup or drives the OIDC flow through a real browser. Revisit alongside the auth-ui test.README coverage row updated to reflect the quarantine.
Test plan