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

Automatic passkey upgrade support #42

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
Draft

Automatic passkey upgrade support #42

wants to merge 13 commits into from

Conversation

Firehed
Copy link
Contributor

@Firehed Firehed commented Sep 9, 2024

This adds a new core SDK method, upgradeToPasskey(name: String, displayName: String?), which attempts a background upgrade of a password-based account to a passkey. On unsupported platforms, it will return a .failure(.unsupportedOnPlatform) - so there's no need to run your own availability checks.

Fixes #27

TODO:

  • Improve docs
  • Link to WWDC video in readme
  • Add extra safeguards to ensure this can't trigger a modal registration
  • Misc. cleanup

Base automatically changed from availability-api to main September 9, 2024 22:31
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.

1 participant