Connecting to a service with passkeys
Allow users to sign in to a service without typing a password.
Overview
Configure the sample code project
To build and run this sample:
Open the sample with Xcode 14 or later.
Select the Shiny project.
For the project’s target, select your team from the Team drop-down menu in the Signing & Capabilities pane to let Xcode automatically manage your provisioning profile.
Add the Associated Domains capability using the “+ Capability” button in the same pane, and specify your domain with the
webcredentialsservice.Ensure an
apple-app-site-association(AASA) file is present on your domain in the.well-knowndirectory, and that it contains an entry for this app’s App ID for thewebcredentialsservice.In the
AccountManager.swiftfile, replace all occurrences ofexample.comwith the name of your domain.