Skip to main content

Account security

Imported component documentation. Source: melodee-project/melodee-auth-ui at commit 0bf9bd04697609fc3d8b82eb933b1d1d29e84059. Version 2026.11.0-rc.0. License MIT. Status: A0–A10 implemented and verified on a disposable real API 1.0.0 stack; not published, tagged or deployed. This is the component's committed documentation, not proof of a distribution release or production qualification.

The account pages use only published API operations and real server data. They never invent display names, session metadata, identities, capabilities or contact state.

Overview​

/auth/account aggregates the account's real contacts, passkeys, linked identities and sessions. It warns when no verified contact, passkey or linked identity exists. It never shows a raw email address as a "display name" unless the API supplied it as a contact.

Contacts​

/auth/account/contacts lists id, normalized email and verified state. Adding or resending a verification requires a recent sign-in and sends a one-time link. Opening /auth/contacts/verify?token=... removes the token from the URL and requires an explicit Verify this email address action.

The published API has no contact-removal operation, so the page says so. Do not invent a delete endpoint.

Linked identities​

Google identities are listed with provider, issuer, link time and an unlink action. Linking requires a recent sign-in, a server-issued nonce and a verified Google ID token. A matching email never links or creates an account. Unlinking is explicitly confirmed and the API's last-usable-path guard is surfaced.

Sessions​

/auth/account/sessions lists the account's interactive sessions with method, issue time, rotation deadline, absolute expiry and a server-provided current flag. This browser cannot revoke itself from the table; use Sign out. Other sessions can be revoked individually or all at once while keeping the current browser signed in.

These are interactive sessions, not automation credentials. The API decides whether a session change needs recent auth; the UI surfaces 403 results and does not fabricate client-side authorization.

Passkeys​

See passkeys.

Automation and compatibility​

See automation credentials and the compatibility section in operations.

Safe continuation​

Post-sign-in continuation is limited to exact local account/device routes. It rejects absolute URLs, scheme-relative URLs, encoded external destinations, queries, fragments, traversal and unknown paths. A lost continuation leads to a clear account route, never an open redirect.