AuthorizationPlugin not work in Big Sur since beta 4

Hello,

We have developed AuthorizationPlugin to replace "loginwindow:login", and it can work normally before macOS 10.15.6.
But we tested the AuthorizationPlugin in Big Sur bata version and it didn't work.

We cannot log into Big Sur beta 6 using the following API.
Code Block
SetContextValue(engineRef, kAuthorizationEnvironmentUsername, 1, &userNameValue);
SetContextValue(engineRef, kAuthorizationEnvironmentPassword, 1, &userPasswordValue);
SetResult(engineRef, kAuthorizationResultAllow);


We are worried that the official version of Big Sur will have this problem.

Accepted Answer

We are worried that the official version of Big Sur will have this
problem.

That’s a very legitimate concern. The authorisation plug-in mechanism is quite brittle.

I recommend that you retest on the latest beta seed (we just release b7). If things still fail, file a bug about that. And please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
AuthorizationPlugin not work in Big Sur since beta 4
 
 
Q