How to make EdgeWebView2 Authentication cookies persistence

544 Views Asked by At

In our product we were using CEF browser for authentication and there we have two options persistent_session_cookies and persistent_user_preference (keep sign in prompt option : yes or no) I always wanted to keep yes if user clicks on No also

Now we have replaced CEF to EdgeWebView2 and edgewebview2 I could not find any such option like that, every time I login to new authentication window it ask me to put credential.

I tried to check option in ICoreWebView2EnviormentOptions and ICoreWebView2Settings but could not find any such option to persistent cookies.

I need help here how we can achieve that ?

0

There are 0 best solutions below