Use a webview inside aSFAuthorizationPluginView

Hi,


I'm trying to do something similar to the Windows Credentials provider on OSX.

What I want to do is show the user a custom webview in the login screen where he can do 2nd factor auth in the webview and if all ok the OSX will login without a password.

I have this sample code based on Apple's NameAndPassword example from 2006: https://github.com/skycocker/NameAndPassword

But, before I start ruining my machine I wanted to know if its even feasible.

Anyone?


Thanks



*** Update ***


Well,

I tried just adding a webview to the plugin view and started to receive these in the logs:


Jan 10 12:17:37 Target authd[126]: engine[366]: evaluate returned -60008 returning errAuthorizationInternal

Jan 10 12:17:37 Target authd[126]: copy_rights: _server_authorize failed


Although I only added a webview with an outlet, without touching it in the code.

Is this forbidden?

Replies

Did you find the solution for it yet?