[workbench2] 401 retrieving user info on c97qk
Testing latest workbench2 on https://workbench2.c97qk.arvadosapi.com, when navigating to a project, it is failing to load the project contents → this is due to getting a 401 retrieving user info and apparently being logged out (and poor error reporting in wb2).
#8 Updated by Peter Amstutz 11 months ago
This is a bug in the iframe based federated login.
The other clusters are not publishing a workbench2 URL.
The iframe loads workbench, but because workbench2 URL is blank, it is calling /fedtoken on the local workbench. This sets the token to a salted token (which is intended for the remote cluster and not usable on the home cluster).
Code fix: don't create iframes if workbench2 is empty.
Ops fix configuration to publish workbench2 URL.