Dockstore: UI should redirect if you have an invalid token

Created on 14 Feb 2019  Â·  5Comments  Â·  Source: dockstore/dockstore

Feature Request

If the UI has an invalid token, and you go to to My Workflows, My Tools, or My Account, the pages come up, but without the important content, e.g., no workflows, no tools, no profile info, etc.

Also the button at the top right is in a funny state; it has blank text.

The UI should instead redirect to you to the sign in page if you go to one of those pages, and button at the top right should say Login/Register.

This is fix would mainly be a local dev nicety, as when I reinitialize my local database, my previously issued token becomes invalid. But if we revoke a token, it would become an issue there as well.

┆Issue is synchronized with this Jira Bug
┆Fix Versions: Dockstore 2.X
┆Issue Number: DOCK-247
┆Sprint: Backlog
┆Issue Type: Bug

bug enhancement gui

All 5 comments

Can simulate when restoring a different database

➤ Charles Overbeck commented:

Also see SEAB-333

Relates to #3361, perhaps.

You can manually "invalidate" your token by logging in, changing your token's value in your browser's LocalStorage, and then refreshing.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Ldcabansay picture Ldcabansay  Â·  4Comments

denis-yuen picture denis-yuen  Â·  4Comments

coverbeck picture coverbeck  Â·  5Comments

denis-yuen picture denis-yuen  Â·  4Comments

denis-yuen picture denis-yuen  Â·  3Comments