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

Google

[email protected]

John Doe

Linked Jan 15, 2024 · Last used Jun 1, 2024

Microsoft

[email protected]

Linked Feb 20, 2024

Single Identity With Password

Connected Accounts

Sign in with your connected accounts

Google

[email protected]

John Doe

Linked Jan 15, 2024

Single Identity Without Password

Connected Accounts

Sign in with your connected accounts

Google

[email protected]

John Doe

Linked Jan 15, 2024

All Providers Linked

Connected Accounts

Sign in with your connected accounts

Google

[email protected]

John Doe

Linked Jan 15, 2024

Microsoft

[email protected]

Linked Feb 20, 2024

GitHub

[email protected]

johndoe

Linked Mar 10, 2024

Unlinking In Progress

Connected Accounts

Sign in with your connected accounts

Google

[email protected]

John Doe

Linked Jan 15, 2024

Microsoft

[email protected]

Linked Feb 20, 2024

Linking In Progress

Connected Accounts

Sign in with your connected accounts

Google

[email protected]

John Doe

Linked Jan 15, 2024

Read Only

Connected Accounts

Sign in with your connected accounts

Google

[email protected]

John Doe

Linked Jan 15, 2024

Microsoft

[email protected]

Linked Feb 20, 2024