跳转到内容

Migrate from Ionic Auth Connect

此内容尚不支持你的语言。

Ionic Auth Connect handles enterprise OAuth and OIDC flows. Capgo’s Social Login plugin provides provider-native sign-in for Google, Apple, Facebook, Twitter, and generic OAuth2 providers.

Ionic enterprise pluginCapgo replacementMigration guide
Secure Storage@capgo/capacitor-fast-sql or @capgo/capacitor-data-storage-sqliteSecure Storage migration
Auth Connect@capgo/capacitor-social-loginYou are here
Identity Vault@capgo/capacitor-native-biometricIdentity Vault migration
  1. Inventory your providers (Google, Apple, Facebook, Azure AD, Auth0, Okta, etc.) and the redirect URLs you currently use.
  2. Install Social Login and sync native code.
Terminal window
npm install @capgo/capacitor-social-login
npx cap sync
  1. Configure each provider using the Social Login docs (client IDs, bundle IDs, OAuth redirect URIs).
  2. Update your auth flow to call Social Login provider methods instead of Auth Connect. Store refresh tokens in a secure store (Fast SQL or Data Storage SQLite) if you rely on long-lived sessions.
  3. Remove Ionic Auth Connect from your dependencies and native configuration.