Skip to content

basalt / auth/src / SocialLinkRefusedError

Class: SocialLinkRefusedError ​

Defined in: auth/src/auth.ts:145

A social / SSO login matched an existing account by email, but the provider did not vouch for that email (unverified), so linking would let anyone who can create an IdP account with the address take the account over.

Extends ​

Constructors ​

Constructor ​

> new SocialLinkRefusedError(): SocialLinkRefusedError

Defined in: auth/src/auth.ts:147

Returns ​

SocialLinkRefusedError

Overrides ​

BasaltError.constructor

Properties ​

code ​

> readonly code: string

Defined in: core/src/errors.ts:25

Inherited from ​

BasaltError.code


details? ​

> readonly optional details?: Record<string, unknown>

Defined in: core/src/errors.ts:28

Structured payload passed to the constructor, exactly as given (never sanitised here).

Inherited from ​

BasaltError.details


status ​

> readonly status: 403 = 403

Defined in: auth/src/auth.ts:146

Released under the MIT License.