Enable passwordless WebAuthn authentication using native iOS Passkeys, FIDO2 credentials, and Android Credential Manager.
Enable passwordless, phishing-resistant authentication with Passkey WebAuthn. Nativine bridges native iOS Passkeys (iCloud Keychain) and Android Credential Manager, allowing users to sign in to your web application using Face ID, Touch ID, or device lock PINs.
Passkeys are the modern industry standard for passwordless login, backed by FIDO2 and W3C WebAuthn standards. Nativine embeds native OS credential manager bridges so web views execute Passkey registration and assertion seamlessly:
To register or authenticate a Passkey in JavaScript, call nativine.passkey.create() or nativine.passkey.get():
// Register new Passkey credential
nativine.passkey.create({
challenge: 'server_generated_challenge_base64',
rp: { name: 'Your Application', id: 'yourdomain.com' },
user: { id: 'usr_123', name: '[email protected]', displayName: 'Jane Doe' },
callback: 'onPasskeyCreated',
onError: 'onPasskeyError'
});
// Authenticate with existing Passkey
nativine.passkey.get({
challenge: 'auth_challenge_base64',
rpId: 'yourdomain.com',
callback: 'onPasskeyAuthenticated'
});
| Parameter | Type | Description |
|---|---|---|
challenge | string | Required. Base64URL-encoded challenge generated by your FIDO2 web backend. |
rp.id | string | Required. Relying Party domain identifier matching your app domain. |
Yes. Nativine automatically configures your app entitlements with webcredentials:yourdomain.com to link Passkeys between your website and native app.
Yes. If a device lacks Passkey hardware support, native OS fallback dialogs allow authentication via device lock PIN.