@passageidentity/passage-react-native v1.1.0
About
Passage by 1Password unlocks the passwordless future with a simpler, more secure passkey authentication experience. Passage handles the complexities of the WebAuthn API, and allows you to implement passkeys with ease.
Use Passkey Flex to add passkeys to an existing authentication experience.
Use Passkey Complete as a standalone passwordless auth solution.
Use Passkey Ready to determine if your users are ready for passkeys.
In passage-react-native
Use passage-react-native to implement Passkey Complete into your React Native application to authenticate requests and manage users.
Product | Compatible |
---|---|
![]() | ✖️ For Passkey Flex, check out passage-flex-react-native |
![]() | ✅ |
![]() | ✖️ For Passkey Ready, check out Authentikit for Android and Authentikit for iOS |
Getting Started
Check Prerequisites
Install
npm i @passageidentity/passage-react-native
Expo Installation
Add your associated domain to your .env
:
ASSOCIATED_DOMAIN=example.com
Add the plugin in your app.json:
{
"expo": {
"plugins": [
"@passageidentity/passage-react-native"
]
}
}
Run expo prebuild:
npx expo prebuild
Import
import Passage from '@passageidentity/passage-react-native';
Initialize
const passage = new Passage('YOUR_PASSAGE_APP_ID');
Go Passwordless
Find all core functions, user management details, and more implementation guidance on our Passkey Complete React Native Documentation page.
Support & Feedback
We are here to help! Find additional docs, the best ways to get in touch with our team, and more within our support resources.