Requirements
- iOS 13 or later
- Swift 6
- Xcode 16 or later
The SDK supports iOS 13 and later, but platform passkeys require iOS 16 or later.
Choose an SDK product
Install with Swift Package Manager
Addhttps://github.com/OwnID/ownid-ios-sdk.git in Xcode through File > Add Package Dependencies, or declare the package in Package.swift:
- Core
- SwiftUI
Initialize OwnID
Copy the application ID from the OwnID Console and initialize the SDK once during app startup.appID is the only required configuration value. For optional settings and alternative initialization methods, see the full configuration guide.
Enable passkeys
Complete passkey setup
Add the Associated Domains entitlement and associate your iOS app with the relying party domain before starting a passkey flow.
Choose an integration
Boost flow
Add OwnID widgets to an existing native login or registration screen.
Elite flow
Run the OwnID-hosted authentication experience in an SDK-managed WebView.
Passkey enrollment
Add a passkey for a user who is already signed in.
Continue with the iOS guides
iOS documentation
Explore configuration, providers, flows, customization, examples, and troubleshooting.
Migrate from v3 to v4
Update an existing iOS SDK version 3 integration.