github okta/okta-mobile-swift 2.1.0

one month ago

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:

  1. 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.
  2. 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

Full Changelog: 2.0.1...2.1.0

Don't miss a new okta-mobile-swift release

NewReleases is sending notifications on new releases.