Project

General

Profile

Actions

Bug #15255

closed

[workbench2] 401 retrieving user info on c97qk

Added by Peter Amstutz about 3 years ago. Updated about 3 years 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 1 (0 open1 closed)

Task #15269: Review 15255-handle-missing-wb2 in workbench2 repoResolvedPeter Amstutz05/22/2019

Actions
Actions #1

Updated by Peter Amstutz about 3 years ago

  • Description updated (diff)
Actions #2

Updated by Peter Amstutz about 3 years ago

  • Priority changed from Normal to High
Actions #3

Updated by Peter Amstutz about 3 years ago

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

Updated by Peter Amstutz about 3 years ago

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

Updated by Peter Amstutz about 3 years ago

  • Description updated (diff)
Actions #6

Updated by Peter Amstutz about 3 years ago

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

Updated by Tom Morris about 3 years ago

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

Updated by Peter Amstutz about 3 years 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.

Actions #9

Updated by Tom Morris about 3 years ago

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

Updated by Lucas Di Pentima about 3 years ago

This LGTM, thanks!

Actions #11

Updated by Peter Amstutz about 3 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF