Skip to main content
Use this flow when you want to create a Neuron account from a trusted back-end service and guide the user to a verified, active session. Before collecting user details, confirm the required account fields, contact verification, and identity review method with the Neuron operator.

Account creation sequence

Create and verify the account

  1. Optional: call Account/DomainInfo to show a human-friendly domain name.
  2. Call Account/Create to create the account and receive an initial JWT.
  3. Prompt the user to enter the email verification code.
  4. Call Account/VerifyEMail to enable the account.
  5. Call Account/Login to obtain a fresh JWT for ongoing use.
Read the generated operation pages before implementing each request. Do not copy older account-creation examples that sign only a nonce; account creation and login use different secrets and different canonical messages.

Common pitfalls

  • Reusing a nonce will invalidate the request.
  • An unverified account cannot use most endpoints.
  • If login fails after verification, check the host used for signing.