Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authentication event #120

Closed
nnemkin opened this issue Feb 4, 2020 · 12 comments
Closed

Authentication event #120

nnemkin opened this issue Feb 4, 2020 · 12 comments
Labels
feature request feature request

Comments

@nnemkin
Copy link

nnemkin commented Feb 4, 2020

There should be an event to intercept username/password requests. The host might want to respond silently ot show custom UI.

AB#27258810

@pagoe-msft pagoe-msft added the feature request feature request label Feb 5, 2020
@pagoe-msft
Copy link

Hi @nnemkin,

Thanks for the feedback, I'll add this to our backlog!

@champnic champnic mentioned this issue Sep 24, 2020
@ghost
Copy link

ghost commented Oct 21, 2020

We are also waiting for this feature... We need to display a custom dialog in 1 case and in the other case, need to read auth info from an encrypted file (API tokens) and set as bearer token header on the request, instead of asking the user for username / password.
Thank you!

@ghost
Copy link

ghost commented Oct 21, 2020

@pagoe-msft any timeline / milestone here?

@beretboat
Copy link

We're waiting for this too.

@darbid
Copy link

darbid commented Feb 16, 2021

This is a long shot but it would be nice to be able to develop a complete app experience and get a call back for smart cards as well so that an app can implement a nice UI experience. What I mean is that instead of seeing the attached image we are given the opportunity of creating our own UI.

Screenshot 2021-02-16 093059

@vogella
Copy link

vogella commented Apr 15, 2021

+1 for Eclipse SWT support of the Edge Browser, this would be helpful.

@rgup63
Copy link

rgup63 commented May 20, 2021

I am facing same type of issue with webview2 around authentication.
If the web session times out , the web page throws up an authentication pop-up though we've already done authentication and set session cookies in the back end while opening this web page. Here I am trying to provide a native client experience and I would want to suppress this authentication dialog and perform the reauthentication in the background.

@champnic @pagoe-msft Please let me know if there is any fix available or planned for it.

@champnic
Copy link
Member

@rgup63 We are actively working on this API, but I don't have a timeline for when it will be available yet. Thanks!

@darbid
Copy link

darbid commented May 21, 2021

@rgup63 can you Show a screen shot of your authentication window?

@rgup63
Copy link

rgup63 commented Jul 12, 2021

I am facing same type of issue with webview2 around authentication.
If the web session times out , the web page throws up an authentication pop-up though we've already done authentication and set session cookies in the back end while opening this web page. Here I am trying to provide a native client experience and I would want to suppress this authentication dialog and perform the reauthentication in the background.

@champnic @pagoe-msft Please let me know if there is any fix available or planned for it.

@champnic Is there any update on this?

@champnic
Copy link
Member

@rgup63 We are still working on the implementation for this feature. We'll update this thread when it reaches experimental status in a pre-release SDK. Thanks!

@champnic
Copy link
Member

This is currently available as an experimental API in 1.0.1056-prerelease+, and will be available in the upcoming release SDK (early March). Thanks!
https://docs.microsoft.com/en-us/dotnet/api/microsoft.web.webview2.core.corewebview2.basicauthenticationrequested?view=webview2-dotnet-1.0.1158-prerelease

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request feature request
Projects
None yet
Development

No branches or pull requests

7 participants