1Password / passkey-rs

A framework for defining Webauthn Authenticators that support passkeys
Apache License 2.0
116 stars 17 forks source link

Handle android app requests correctly #32

Closed Progdrasil closed 1 month ago

Progdrasil commented 2 months ago

Android requires the origin to follow the following pattern: android:apk-key-hash:<HASH>. See here.

This PR refactors the origin input to a wrapper type which can be converted to from a new UnverifiedAssetLink type for android as well as from Urls for web and apple. This type will then create the request origin accordingly.