Products · Identity V1

Account management

An account page to view and update your details, delete your account, and create API keys for AI agents.

Version 1 · Identity, second partDesigned, not builtModule 2 of 15

DesignUI ComponentsSections

UI Components Live gallery

Identity's account components, in the package packages/ui-identity with Login's. Any app can place them on its account page.

Each built component is shown live, from its package, in each of its states. Pick a state to see it; every state has its own stand-in for the service's API, with made-up data (CORE-V1-E0-19).

  • Components call only Identity's API; the account page adds DocFlow's and Payment's components beside them.
  • A secret is shown once, in a box with Copy, and never stored in the browser.
  • Destructive buttons say exactly what they do and need a second step.
  • Same accessibility and size rules as every 01scale page.

AccountDetails

The person's email and the date they joined.

Inputs

States

  • Loading (fixed-height placeholder)
  • Shown
  • Failed: Retry

Calls

  • GET /me

PasswordChangeButton

Change password, and the success message on return.

Inputs

changedboolean, optional
Show 'Your password was changed'; the page sets it from password_changed=1.

States

  • Default
  • Working
  • Changed
  • Failed: Retry

Calls

  • POST /me/password-change

DeleteAccountDialog

Explains what is deleted and kept, and asks the person to type DELETE.

Inputs

onDeletedfunction, optional
Default: go to the home page with 'Your account was deleted'.

States

  • Closed
  • Open, button inactive
  • Open, DELETE typed
  • Working
  • Failed: message and Try again

Calls

  • DELETE /me

ApiKeysManager

Lists keys and creates and revokes them; shows a new secret once with Copy.

Inputs

scopesstring[], optional
Which scopes to offer. Default: all.

States

  • Loading
  • Empty: 'No keys yet' and what keys are for
  • Listed
  • Creating
  • Secret shown once
  • Revoking
  • Limit reached
  • Failed: Retry

Calls

  • GET /api-keys
  • POST /api-keys
  • DELETE /api-keys/{keyId}

Pages provided by an outside service

In this version, setting a new password happens on Cognito's hosted page.

Cognito: forgot password
Sends a code by email and sets the new password, then shows Cognito's sign-in.