This app is a native app based on the sample application at https://developer.apple.com/documentation/authenticationservices/connecting_to_a_service_with_passkeys
- Note: This sample code project is associated with WWDC22 session 10092: Meet passkeys and WWDC21 session 10106: Move beyond passwords.
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
webcredentials
service. - Ensure an
apple-app-site-association
(AASA) file is present on your domain in the.well-known
directory, and that it contains an entry for this app's App ID for thewebcredentials
service. - In the
AccountManager.swift
file, replace all occurrences ofexample.com
with the name of your domain.