Post

Replies

Boosts

Views

Activity

Reply to Generating Passkeys
I'm trying to generate my passkey using CryptoKit, but when I test it on webauthn.io (on a physical device), I get this error: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission. Do I still need to set up associated domains even if I'm generating the passkey myself? Or could this be failing for some other reason? Does anyone know what might be going wrong here? Would appreciate some help!
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’25
Reply to Help with Passkey Registration & Authentication on iOS 17 (Credential Provider + Error Code 1004)
Yes, @HMD2V is right — I'm trying to register a passkey as a third-party password manager app. I’ve seen other apps successfully register passkeys on websites like https://webauthn.io, but despite trying multiple approaches, I haven’t been able to get it working, and I couldn’t find any documentation pointing me in the right direction. Just to add more detail: I’ve correctly configured Info.plist to show the "Create a passkey" popup. When I tap Continue on the popup, it triggers: swift override func prepareInterface(forPasskeyRegistration registrationRequest: ASCredentialRequest) There, I create an instance of ASPasskeyRegistrationCredential and call completeRegistrationRequest. However, the website then returns this error: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission. I'd really appreciate any help or guidance on how to get this working.
Topic: Privacy & Security SubTopic: General Tags:
Jun ’25