mode
Authentication mode that determines where passkey operations occur.
Type: Mode.CrossPlatform | Mode.AppSpecific
Default: Mode.CrossPlatform
Mode Comparison
| Feature | CrossPlatform | AppSpecific |
|---|---|---|
| Passkey operations | On keys.jaw.id (popup) | Within your dApp |
| User experience | Redirects to popup | Stays in your app |
| Wallet reuse | Universal | App-specific only |
| Origin binding | keys.jaw.id | Your domain |
| Branding | JAW interface | Custom UI supported |
Choosing a Mode
Use CrossPlatform (Default) when:
- You want users to reuse their wallet across multiple dApps
- You prefer a consistent, maintained authentication UI
- Quick integration is a priority
Use AppSpecific when:
- You want users to stay entirely within your application
- You need full control over the UI/UX
- You're building a white-label experience
- Wallet portability across apps is not needed
Related
- CrossPlatform Mode - Detailed setup and usage
- AppSpecific Mode - Detailed setup and usage