Skip to content

Add a login agreement interstitial - #3479

Open
fakemonster wants to merge 2 commits into
mainfrom
login-agreement
Open

fakemonster wants to merge 2 commits into
mainfrom
login-agreement

Conversation

@fakemonster

Copy link
Copy Markdown
Contributor

Adds a simple agreement interstitial prior to local login, when one has been configured for the silo. Original discussion implied that we'd show this inline with a checkbox, but working examples showed a variety of options, and this felt like a good balance of "make sure users actually see this text" and "don't be confusing". Necessitated toying with the login layout a bit (320px for paragraph text is simply intolerable) but if you have no agreement text, there should be no visible difference as a result of this change.

One debatable decision I've made is to error out of the page if the agreement text fetch fails, since setting the agreement text implies you actually care about people seeing it. This isn't unsafe, in that the endpoint is unauthenticated and so your only errors should be 5xx (genuine problems) or, if 4xx, it's because your client is too new (so no endpoint is going to work for you). But it's arguably unpleasant, in that if your silo doesn't have an agreement text, and this fails for, say, a network blip, you can't log in! You're failing for "no good reason"; the frontend just doesn't know about it.

Screenshot_20261203_112029

Depends on oxidecomputer/omicron#11960; paired with it, resolves github.com/oxidecomputer/omicron/issues/8201.

This agreement text is always visible, but we expect SAML pages to show
it on the IdP's login page.
@vercel

vercel Bot commented Dec 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
console Ready Ready Preview Dec 3, 2026 7:39pm UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — f1b91123 Deployed Dec 3, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant