Bug #15255

[workbench2] 401 retrieving user info on c97qk

Added by Peter Amstutz 7 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
05/22/2019
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
-

Description

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).


Subtasks

Task #15269: Review 15255-handle-missing-wb2 in workbench2 repoResolvedPeter Amstutz

History

#1 Updated by Peter Amstutz 7 months ago

  • Description updated (diff)

#2 Updated by Peter Amstutz 7 months ago

  • Priority changed from Normal to High

#3 Updated by Peter Amstutz 7 months ago

  • Description updated (diff)
  • Subject changed from [workbench2] Project navigation not working to [workbench2] Getting 401

#4 Updated by Peter Amstutz 7 months ago

  • Subject changed from [workbench2] Getting 401 to [workbench2] 401 retrieving user info on c97qk

#5 Updated by Peter Amstutz 7 months ago

  • Description updated (diff)

#6 Updated by Peter Amstutz 7 months ago

  • Assigned To set to Peter Amstutz
  • Status changed from New to In Progress

#7 Updated by Tom Morris 7 months ago

  • Target version changed from To Be Groomed to 2019-05-22 Sprint

#8 Updated by Peter Amstutz 7 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.

#9 Updated by Tom Morris 7 months ago

  • Target version changed from 2019-05-22 Sprint to 2019-06-05 Sprint

#10 Updated by Lucas Di Pentima 7 months ago

This LGTM, thanks!

#11 Updated by Peter Amstutz 7 months ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF