One manager across platforms
Use the same configuration and manager API in Capacitor web, iOS, and Android applications.
Get started
One oidc-client-ts-compatible manager for web, iOS, and Android, with native system authentication and secure mobile session storage.
npm i capacitor-oidc
Use the same configuration and manager API in Capacitor web, iOS, and Android applications.
Get started
Sign in with ASWebAuthenticationSession on iOS and AndroidX Auth Tab with its Custom Tab fallback on Android.
Set up native platforms
Store sessions in iOS Keychain or encrypt them with an Android Keystore-backed AES-GCM key.
Read about session storage
Keep the familiar UserManager methods, session objects, and events while the plugin handles Capacitor-specific behavior.
Explore the API
Connect to standards-compliant OAuth 2.0 and OpenID Connect providers without a provider-specific mobile SDK.
Configure a provider
Renew native sessions with refresh tokens when the app starts, becomes active, or returns to the foreground.
Understand renewal
See it in action
Sign in, renew the session, and sign out with the same manager on iOS, Android, and the web.