Migrate from Ionic Auth Connect
Copy a setup prompt with the install steps and the full markdown guide for this plugin.
Konten ini belum tersedia dalam bahasa Anda.
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.
Capgo replacements at a glance
Section titled “Capgo replacements at a glance”| Ionic enterprise plugin | Capgo replacement | Migration guide |
|---|---|---|
| Secure Storage | @capgo/capacitor-fast-sql or @capgo/capacitor-data-storage-sqlite | Secure Storage migration |
| Auth Connect | @capgo/capacitor-social-login | You are here |
| Identity Vault | @capgo/capacitor-native-biometric | Identity Vault migration |
Migration steps
Section titled “Migration steps”- Inventory your providers (Google, Apple, Facebook, Azure AD, Auth0, Okta, etc.) and the redirect URLs you currently use.
- Install Social Login and sync native code.
npm install @capgo/capacitor-social-loginnpx cap sync- Configure each provider using the Social Login docs (client IDs, bundle IDs, OAuth redirect URIs).
- 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.
- Remove Ionic Auth Connect from your dependencies and native configuration.