Linked Identities
Manage linked social identities
SaaSAuth
Overview
The linked identities components let users view and manage their connected SSO provider accounts. LinkedIdentitiesList shows all linked providers with unlink actions, plus buttons to link additional available providers. It handles the "only auth method" guard, loading states for link/unlink operations, and read-only mode.
Usage
import { LinkedIdentitiesList } from "@leanicon/web-builder-library/saas";
<LinkedIdentitiesList
identities={[
{ provider: "google", externalId: "g-123", email: "[email protected]", linkedAt: new Date() },
]}
availableProviders={["microsoft", "github"]}
hasPassword={true}
onUnlink={(provider) => handleUnlink(provider)}
onLink={(provider) => handleLink(provider)}
/>;Variants
Identities List
Connected Accounts
Sign in with your connected accounts
Single Identity With Password
Connected Accounts
Sign in with your connected accounts
Single Identity Without Password
Connected Accounts
Sign in with your connected accounts
All Providers Linked
Connected Accounts
Sign in with your connected accounts
Unlinking In Progress
Connected Accounts
Sign in with your connected accounts
Linking In Progress
Connected Accounts
Sign in with your connected accounts
Read Only
Connected Accounts
Sign in with your connected accounts