Post

Replies

Boosts

Views

Activity

ASAuthorizationController is showing password even if there is no ASAuthorziationPasswordRequest
I noticed the behavior of ASAuthorizationController has changed in the lasted beta. When the user only has a password but no passkey, even if I only pass in an ASAuthorizationPublicKeyCredentialAssertionRequest and no ASAuthorizationPasswordRequest, the action sheet will display the password. Is this by design? This has some impact on my implementation. Will this change again in the future?
2
0
1.2k
Sep ’22
How to find out whether the user dismiss the credential action sheet or there is no credentials
Hi, I want to implement passkey in my app. I am wondering if there is a robust way to distinguish between these two situations: the user cancels the action sheet (ASAuthorizationController) there are no credentials at all Both situations give a canceled error. I noticed a localized string in NSError.userInfo explaining the reason in situation 2, but this is not a robust way of distinguishing between them because the behavior can change in the future.
1
0
832
Aug ’22
Screen is frozen after performAutoFillAssistedRequests
Hi, I am trying to implement passkey in my app and noticed this strange behavior. How to reproduce (iOS 16.0 beta): Call ASAuthorizationController.performAutoFillAssistedRequests Tap a text field to trigger the quick type UI Tap the key icon, and I will see a modally presented view controller with a list of credentials Select a passkey, and the view controller will be dismissed Now the app is frozen, I can not tap the text field or any other buttons If I switch to another app and then switch back (that is, making the app to background and then active again), the app will resume In step 4, if I select a password, the app will not freeze. If I dismiss the view controller by swiping down, the app will not freeze. It will only freeze if I select a passkey. I am testing using a simple view controller with only two text fields, and I am not doing anything special, so I wonder if this is a bug in the framework. Could someone help me to verify it?
1
0
934
Aug ’22
Is there a way to disable the save password action sheet in my iOS app
Hi! I wonder if there is a way to disable the save password action sheet. It seems the action sheet is displayed once the container view controller is dismissed. The reasons that I want to disable the sheet are: I want to prompt the user to save passwords only after a successful login I want to use my UI
Replies
0
Boosts
0
Views
1.4k
Activity
Sep ’22
How to delete a passkey
Hi, I am trying to add passkeys to my app. According to the sample code, I need to create a passkey and verify it with the server. But what if I make a passkey successfully but fail to finish the server request? The passkey will still be stored in the keychain. Can I delete it programmatically?
Replies
4
Boosts
0
Views
6.3k
Activity
Sep ’22
ASAuthorizationController is showing password even if there is no ASAuthorziationPasswordRequest
I noticed the behavior of ASAuthorizationController has changed in the lasted beta. When the user only has a password but no passkey, even if I only pass in an ASAuthorizationPublicKeyCredentialAssertionRequest and no ASAuthorizationPasswordRequest, the action sheet will display the password. Is this by design? This has some impact on my implementation. Will this change again in the future?
Replies
2
Boosts
0
Views
1.2k
Activity
Sep ’22
How to find out whether the user dismiss the credential action sheet or there is no credentials
Hi, I want to implement passkey in my app. I am wondering if there is a robust way to distinguish between these two situations: the user cancels the action sheet (ASAuthorizationController) there are no credentials at all Both situations give a canceled error. I noticed a localized string in NSError.userInfo explaining the reason in situation 2, but this is not a robust way of distinguishing between them because the behavior can change in the future.
Replies
1
Boosts
0
Views
832
Activity
Aug ’22
Screen is frozen after performAutoFillAssistedRequests
Hi, I am trying to implement passkey in my app and noticed this strange behavior. How to reproduce (iOS 16.0 beta): Call ASAuthorizationController.performAutoFillAssistedRequests Tap a text field to trigger the quick type UI Tap the key icon, and I will see a modally presented view controller with a list of credentials Select a passkey, and the view controller will be dismissed Now the app is frozen, I can not tap the text field or any other buttons If I switch to another app and then switch back (that is, making the app to background and then active again), the app will resume In step 4, if I select a password, the app will not freeze. If I dismiss the view controller by swiping down, the app will not freeze. It will only freeze if I select a passkey. I am testing using a simple view controller with only two text fields, and I am not doing anything special, so I wonder if this is a bug in the framework. Could someone help me to verify it?
Replies
1
Boosts
0
Views
934
Activity
Aug ’22
Does webAuthn support signCount
Hi, I'm trying to implement passkey into my app. I am wondering if ASAuthorizationPublicKeyCredentialAssertion.rawAuthenticatorData supports signCount. It seems the value is always 0. Thank you!
Replies
2
Boosts
0
Views
1.2k
Activity
Aug ’22