Skip to content

@capgo/capacitor-social-login

A Capacitor plugin for social authentication with Google, Apple, Facebook, Twitter, and any OAuth2 provider, making user login seamless and secure.

Watch a quick demo of the plugin setup and login flow in action.

Play

Multiple providers

One API for Google, Apple, Facebook, Twitter/X, and generic OAuth2.

OIDC / OAuth2

Multi-provider OAuth2 with OIDC discovery and provider aliases.

Auth helpers

Token helpers for refresh, expiry checks, JWT decoding, and redirect handling.

Provider-specific behavior

Supports Google offline mode, Apple proper token exchange, and Facebook business flows.

Provider bundling

Configure enabled providers in capacitor.config to reduce binary size.

Migration guides

See upgrade docs for Ionic Auth Connect and legacy provider migration.