The ExternalAccount object describes a User's external account.
ExternalAccount object is a model around an identification obtained by an external provider (e.g. an OAuth provider such as Google).
External account must be verified, so that we can make sure they can be assigned to their rightful owners. The
ExternalAccount object holds all necessary state around the verification process.
A unique identifier for this external account.
The identification with which this external account is associated.
The provider name e.g.
The unique id of the user in the provider.
The provided email address of the user.
The scopes that the user has granted access to.
The provided first name of the user.
The provided last name of the user.
The provided avatar URL of the user.
|username||string | null|
The provided username of the user.
|label||string | null|
A descriptive label to differentiate multiple external accounts of the same user for the same provider.
An object holding information on the verification of this external account.
destroy() => Promise<void>
Delete this external account.
This method accepts no parameters.
This method returns a
|status||string | null|
The verification status. Possible values are:
|strategy||string | null|
The verification strategy. For example
|attempts||number | null|
The number of attempts to complete the verification so far. Usually, a verification allows for maximum 3 attempts to be completed.
|expireAt||Date | null|
The timestamp when the verification will expire and cease to be valid.
|error||ClerkAPIError | null|
Any error that occurred during the verification process from the Clerk API.
|externalVerificationRedirectURL||URL | null|
If this is a verification that is based on an external account (usually oauth_*), this is the URL that the user will be redirected to after the verification is completed.