mirror of
https://github.com/hanzoai/id.git
synced 2026-11-21 18:01:57 +00:00
The account page's chip held one person and had no way to another, and Sign out ended every account at once. The chip now lists IAM's accounts (GET /v1/iam/accounts, current first), switches between them (PUT /v1/iam/accounts, then the page drops every hanzo_iam_* token, which named the account that was current, and reloads), adds one (authorize with prompt=login, coming back to /account), and signs out of this account (logout_hint) or of all. Hanzo mounts it in OrgHeader's account seat; every other brand gets it in the corner beside its mark. signOut and logout send client_id, so IAM honours a registered post_logout_redirect_uri. The Security tab's Sign out runs on click; it used to clear the tokens while rendering. The hosted login keeps this site's return through an application's request, and a sign-in finished on it names the account it signed in, since several accounts and none named now ask the person to choose. Claude-Session: https://claude.ai/code/session_015XYKLnBbrbajqj1GpRydF8