This update introduces updates to OktaIdxAuth supporting Passkey / Security Key authentication and enrollment.
New Features
Passkey / WebAuthn support within OktaIdxAuth
This update adds two new Capability types:
- WebAuthnAuthenticationCapability – Exposes the data necessary for a WebAuthn authenticator to complete an authentication challenge, and a challenge(credential:) function to return the authentication assertion to the server.
- WebAuthnRegistrationCapability – Exposes information used by a WebAuthn authenticator to create a WebAuthn attestation to register a new passkey, which can be returned to the server using the register(credential:) function.
Additionally, a new remediation type challengeWebAuthnAutofillUIAuthenticator can be used to implement credential autofill for passkeys.
Password complexity rules in OktaIdxAuth
The PasswordSettingsCapability has a new passwordRules property on supported platforms. This returns a UITextInputPasswordRules object that represents the requirements indicated by the client’s password complexity rules defined within Okta, and can be used to improve the user experience when a user is setting or changing their password within a sign-in flow.
Xcode 26 Beta compatibility
All libraries now support Xcode 26 Beta, and Swift 6.2.
What's Changed
- Implement WebAuthn enrolment and authentication capabilities in IDX by @AlexNachbaur in #236
- Add support for more passkey provider options, AuthorizationServices conveniences, and API docs by @AlexNachbaur in #237
- Ensure rpId property is checked for Authentication requests by @AlexNachbaur in #240
- Updates to support Xcode 26 Beta by @AlexNachbaur in #239
- Release 2.0.1 by @AlexNachbaur in #241
- Implement password autofill support by @AlexNachbaur in #242
- Updates for 2.1.0 release by @AlexNachbaur in #244
Full Changelog: 2.0.1...2.1.0