Open maciola opened 1 year ago
It‘s not implemented yet. In order to make it work, an event handler for https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2_10?view=webview2-1.0.1370.28#add_basicauthenticationrequested needs to be added on the native side.
@maciola did you solve this issue? How did you implement it?
Hello Jan,
We have solved the issue by changing the auth procedure on the server. We are using an own login page to which server redirects the client in case client hasn't valid session. So it wasn't a solution in the flutter stack.
Regards, Maciej
śr., 22 mar 2023, 12:15 użytkownik Eerey Solutions @.***> napisał:
@maciola https://github.com/maciola did you solve this issue? How did you implement it?
— Reply to this email directly, view it on GitHub https://github.com/jnschulze/flutter-webview-windows/issues/202#issuecomment-1479373514, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSGGA5IVRJC6CDC6XIPMO3W5LNNRANCNFSM6AAAAAARPDFELU . You are receiving this because you were mentioned.Message ID: @.***>
@maciola thanks for your kind response 👍
Many thanks for this great plugin!
We have some problem to access documents which are protected by Basic Authetication. When we try to access the constrained resource (server asks for basic auth) the popup for username and password does't come up so that "Authorization" header is not provided to the server and we get 401 document as result. Is there any chance to activate this popup? I have not found any options in the InAppWebViewOptions for that. Or ... do we have to implement it on our own?