fix(workbench): session launch tests fail with SAML/Okta auth — login not shared from interactive auth
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- python
- Ambito
- authentication, backend, testing-qa
Direzione di ricerca
Inizia in src/vip_tests/workbench/conftest.py intorno a workbench_login() alle righe 110 e 126-129, quindi esegui test_launch_rstudio, test_launch_vscode e test_launch_jupyter con --interactive-auth. Confronta la gestione dello storage-state di Connect e Workbench durante la riproduzione SAML/Okta con ALB separato. Il lavoro è completato quando i test ottengono l’autenticazione Workbench necessaria oppure segnalano uno skip chiaro e intenzionale invece di un errore di login generico.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Context
During a VIP verification call with Intuitive Surgical (2026-05-14), all Workbench IDE session launch tests (test_launch_rstudio, test_launch_vscode, test_launch_jupyter) failed with "login failed" errors on both their Workbench 2023 and Workbench 2026 instances.
Their environment:
- AWS EKS deployment
- SAML authentication via Okta
- ALB in front of each product (separate ALBs for Connect and Workbench)
- Interactive auth (
--interactive-auth) was used
Connect tests passed (content publishing worked for all types), but the interactive auth session captured during Connect login did not carry over to Workbench.
Root Cause (Suspected)
workbench_login() in src/vip_tests/workbench/conftest.py:110 skips when auth_provider != "password" and there's no pre-loaded session. When --interactive-auth IS used, the storage state is captured from the Connect auth flow, but the SAML session cookie is scoped to the Connect hostname — it doesn't authenticate Workbench on a separate ALB/hostname.
The code at line 126-129 explicitly handles this case:
pytest.skip(
"Interactive auth storage state did not authenticate Workbench. "
"The OIDC session may not be shared between Connect and Workbench."
)
But the test reports "login failed" rather than gracefully handling the separate auth domain.
What the Customer Saw
FAILED test_launch_rstudio - login failed
FAILED test_launch_vscode - login failed
FAILED test_launch_jupyter - login failed
With --verbose, no additional actionable trace was produced beyond the login failure.
Expected Behavior
When interactive auth is used and the products are on separate auth domains (common with ALB + SAML setups), VIP should either:
- Prompt for a separate Workbench interactive auth session, or
- Attempt to use the same IdP session cookies (if the IdP domain is shared even when product domains differ), or
- Provide a clear skip message explaining that Workbench requires its own auth session
Reproduction
- Deploy Workbench behind a separate ALB from Connect
- Configure SAML (Okta) auth
- Run
vip verify --workbench-url <url> --interactive-auth - Observe that the interactive auth captured for Connect does not authenticate Workbench
Additional Context
- Gong call recording: https://us-1237.app.gong.io/call?id=348267831445141666
- Customer offered to email full verbose trace stack output
- Sam suspects the specific issue is SAML vs OIDC handling — VIP may be "looking for the wrong thing when it comes to logging in" for SAML providers
- The 2023 Workbench failures were initially attributed to UI version differences, but the same failure occurred on 2026, confirming it's an auth issue not a selector issue
- Lingua principale
- Python
- Stelle
- 8
- Fork
- 1
- Merge medio
- 1g 8h
- PR unite (30g)
- 55
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di posit-dev/vip
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
documentation team: connect
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
posit-dev/vip#734 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
team: workbench
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
posit-dev/vip#274 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
nightly-failure
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di posit-dev/vip
Issue simili
-
tunneld on Windows: Wi-Fi devices are not discovered because uvicorn runs on a ProactorEventLoopAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
doronz88/pymobiledevice3#2051 ·
I maintainer di solito rispondono entro 1 giorno
-
Remove DatacircleAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
collabnix/awesome-mcp-lists#230 ·
I maintainer di solito rispondono entro 9 giorni
-
Groc schedules with out of range values pass config validation and fail later when the scheduler is builtForse già presa @auraseb l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
autowarefoundation/autoware_carla_scenario#342 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ianktoo/project-monitor#14 ·