Skip to main content

Provider overview

capacitor-auth-manager is being brought to production one provider at a time. As of 2.4.x, Google is the only enabled provider — it works on web, iOS, and Android. The code for the other 14 providers lives in the repo but is un-registered: calling them throws AuthErrorCode.PROVIDER_NOT_ENABLED. Each is re-enabled and verified on device one at a time.

Only Google is available right now

Treat every non-Google provider page as a roadmap reference, not a working feature. Configuring a non-Google provider and calling auth.signIn() with its id throws AuthErrorCode.PROVIDER_NOT_ENABLED.

Provider status

ProvideridStatus
Googlegoogle / AuthProvider.GOOGLEEnabled — web (GIS), iOS (GoogleSignIn), Android (Credential Manager)
Appleapple⏳ Coming — PROVIDER_NOT_ENABLED
Microsoftmicrosoft⏳ Coming — PROVIDER_NOT_ENABLED
Facebookfacebook⏳ Coming — PROVIDER_NOT_ENABLED
GitHubgithub⏳ Coming — PROVIDER_NOT_ENABLED
Slackslack⏳ Coming — PROVIDER_NOT_ENABLED
LinkedInlinkedin⏳ Coming — PROVIDER_NOT_ENABLED
Firebasefirebase⏳ Coming — PROVIDER_NOT_ENABLED
Email + Passwordemail-password⏳ Coming — PROVIDER_NOT_ENABLED
Username + Passwordusername_password⏳ Coming — PROVIDER_NOT_ENABLED
Phone + Passwordphone_password⏳ Coming — PROVIDER_NOT_ENABLED
Email Code (OTP)email_code⏳ Coming — PROVIDER_NOT_ENABLED
SMS (OTP)sms⏳ Coming — PROVIDER_NOT_ENABLED
Magic Linkmagic-link⏳ Coming — PROVIDER_NOT_ENABLED
Biometricbiometric⏳ Coming — PROVIDER_NOT_ENABLED

The id is the exact string you use as the key in auth.configure({ providers: { ... } }) and pass to auth.signIn(). Some planned ids use underscores (username_password, phone_password, email_code) — match them exactly, since the config lookup is an exact match. The recommended form is the AuthProvider enum (e.g. AuthProvider.GOOGLE).

Google: the same call on every platform

auth.signIn(AuthProvider.GOOGLE) dispatches natively per platform and returns a Google credential with result.credential.idToken populated on web, iOS, and Android — which you hand to Firebase via signInWithCredential. See the Google provider page for configuration, native setup, the per-platform token table, and the migration from @codetrix-studio/capacitor-google-auth.

Roadmap (not yet available)

These pages document each provider's intended shape for when it is enabled. Until then they throw PROVIDER_NOT_ENABLED: