oxidecomputer / oxidecomputer/console

Notify user if the authentication situation has changed

Open
#1,616 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
228
Forks
22
Avg merge
19h 42m
Merged PRs (30d)
32

Description

Our SAML setup on the dogfood rack has a very low authorization time (like an hour?), and I often find myself poking at something on the console only to have the next form submission whisk me away to a login page.

There's also a potential situation where in another tab you log into another account that might not have the same access you did before.

It would be nice if the console were polling something periodically to determine if the currently logged-in user has changed, and notify the user in some way. (I do not like AWS's version of this where it takes over the console and forces you to reload; I would like to be able to re-log in from another tab and come back to this page and continue whatever it was I was doing. Bonus points if I can middle-click a button or link to open the login page in a new tab.)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the console's current authentication and SAML login flow, then trace what happens when authorization expires or another tab logs into a different account. Define how periodic checks should notify the user without forcing a reload, and how re-login in another tab should let them return to the current page. No specific files or tests are named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authentication, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.