Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare support for automatic passkey upgrades #36

Merged
merged 20 commits into from
Sep 6, 2024

Conversation

Firehed
Copy link
Contributor

@Firehed Firehed commented Jul 16, 2024

This adds a new API, upgradeToPasskey(), which is intended to be invoked for automatic passkey upgrades after a user signs in with a non-WebAuthn method. It's used similarly to the handleAutofill(), where it's called optimistically and your callback will be invoked (or not) if the right conditions are met.

As of today, the only supporting browser is the beta versions of Safari, which should be publicly released in fall-ish with iOS18 and macOS Sequoia. However, the SnapAuth API is universally available.

Fixes #39

@Firehed Firehed changed the title WIP Prepare support for automatic passkey upgrades Jul 16, 2024
Base automatically changed from improve-types to main July 17, 2024 17:09
@Firehed Firehed mentioned this pull request Jul 17, 2024
3 tasks
@Firehed Firehed marked this pull request as ready for review July 17, 2024 17:20
@Firehed Firehed merged commit 03c3eac into main Sep 6, 2024
1 check passed
@Firehed Firehed deleted the conditional-create-support branch September 6, 2024 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Browser: Automatic Registration
1 participant