Can I officially use the ScreenCaptureKit framework without worrying that it contains some bugs or may be exposed to future changes?
Post
Replies
Boosts
Views
Activity
Hi devs!!!
Calling createCredentialRegistrationRequestWithChallenge returns the following error:
Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.AuthenticationServicesCore.AuthenticationServicesAgent" UserInfo={NSDebugDescription=connection to service named com.apple.AuthenticationServicesCore.AuthenticationServicesAgent}
What can be the potential reason?
I have two shell applications and one starts to run after the other exits.
I need to set a flag from the first shell application. From the second shell application, I need to check whether the flag is true or false. What is the simplest way to do it?
As they don't run simultaneously I can't use named pipes. Writing to a file seems complicated. What are some other mechanisms to achieve this?
Right now users need to enable passkeys from Safari by enabling the developer mode in order to use them in applications. From the docs:
In macOS, choose Safari > Preferences, click the Advanced tab, and select the “Show Develop menu in menu bar” option. Then choose the Develop > Enable Syncing Platform Authenticator menu in Safari.
Is Apple planning to enable it by default in later releases of macOS? Are there any official applications already using this feature in their applications?
Hi everyone, my first post here:
I am trying to integrate new macOS Monterey FIDO2 authentication into a macOS app and I have trouble with login issue.
After making an assertion request (calling createCredentialAssertionRequestWithChallenge) the Sign In dialog appears. When you click on the cancel button and make another assertion request the dialog doesn't appear and the application window's close button turns gray and the window loses its focus. (please see the attached screenshots). This happens only when pressed cancel button on Sign In, canceling registration or authenticating sign-in or log-in are ok.
Here is my code for authentication request:
ASAuthorizationPlatformPublicKeyCredentialProvider* credentialProvider = [[ASAuthorizationPlatformPublicKeyCredentialProvider alloc] initWithRelyingPartyIdentifier:@"myrelyingparty.com"];
ASAuthorizationRequest* request = [credentialProvider createCredentialAssertionRequestWithChallenge:challenge];
ASAuthorizationController* authorizationController = [[ASAuthorizationController alloc] initWithAuthorizationRequests:@[request]];
authorizationController.delegate = self;
authorizationController.presentationContextProvider = self;
[authorizationController performRequests];
[[NSApplication.sharedApplication mainWindow] makeKeyWindow];