Skip to content
id0n

Users and accounts

Users, linked accounts and the account lifecycle.

Users

Every user has a required email that is unique within the environment. Methods that do not collect an email, such as some phone or anonymous sign-ins, create a placeholder email that stays unverified.

Accounts

A user can have several accounts linked: a password account plus one or more social providers.

ActionNotes
Link a social accountFails with SOCIAL_ACCOUNT_ALREADY_LINKED if it belongs to another user.
Unlink an accountYou cannot unlink a user's last account (FAILED_TO_UNLINK_LAST_ACCOUNT).
List accountsShows the accounts linked to the user.

Account lifecycle

ActionNotes
Update the userName, image and other allowed fields.
Change emailMay be disabled for your environment (CHANGE_EMAIL_DISABLED).
Change passwordRequires a fresh session.
Delete the userCan require confirmation through a callback link.

On this page

Ask AI

Answers come from the published id0n docs, with links to their sources.