Recommended: JavaScript SDK for React Native
While this SDK is still supported, we recommend using newer JavaScript SDK, which is optimized for React Native, but also comes with a host of other benefits.
The user must have already signed in via another method (e.g. email/password, social, etc.) and added a passkey to their account before they can use it to sign in with.You can prompt a user to add a passkey to their account using your SDK’s passkey registration method (see SDK-specific Tabs) or by directing them to the account security section in your app (the client/WebView flow).
Dashboard Configuration
Simply toggle on “Passkey” in the Log in & User Profile section of the dashboard.React Native
relatedOriginRpId is the Relying Party ID (RP ID). The canonical form is a bare hostname such as my.example.com; a full origin like https://my.example.com is also accepted and resolves to the same RP ID. It must match the rpId the credential was registered under. See Related Origin Requests.React Native requires platform setup for passkeys. See the React Native Passkey Setup guide.