GetAuthCredentials is not called with Chrome Runtime

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

GetAuthCredentials is not called with Chrome Runtime

Postby finder2 » Tue Nov 14, 2023 2:19 pm

Guys, I'm testing chrome-runtime mode with settings.chrome_runtime = true and noticed that GetAuthCredentials is not called.

Any ideas how to solve that when Chrome Runtime is enabled?
finder2
Mentor
 
Posts: 51
Joined: Fri Jun 13, 2014 1:33 am

Re: GetAuthCredentials is not called with Chrome Runtime

Postby magreenblatt » Tue Nov 14, 2023 2:28 pm

Does it show a dialog?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: GetAuthCredentials is not called with Chrome Runtime

Postby finder2 » Tue Nov 14, 2023 2:33 pm

No, it doesn't show anything.
finder2
Mentor
 
Posts: 51
Joined: Fri Jun 13, 2014 1:33 am

Re: GetAuthCredentials is not called with Chrome Runtime

Postby magreenblatt » Tue Nov 14, 2023 3:00 pm

I would expect a dialog. Can you try “cefsimple --enable-chrome-runtime”? There’s a basic auth example at http://test.webdav.org/auth-basic/
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: GetAuthCredentials is not called with Chrome Runtime

Postby finder2 » Tue Nov 14, 2023 3:12 pm

Yes, when I try cefsimple --enable-chrome-runtime and visit http://test.webdav.org/auth-basic/ i can see a dialog with Usernamd and Password field.
When i try my browser or cefclient i can see error "Failed to load URL http://test.webdav.org/auth-basic/ with error ERR_INVALID_AUTH_CREDENTIALS (-338)."

How can i fix that?
finder2
Mentor
 
Posts: 51
Joined: Fri Jun 13, 2014 1:33 am

Re: GetAuthCredentials is not called with Chrome Runtime

Postby magreenblatt » Tue Nov 14, 2023 4:26 pm

Please start by adding a new issue at https://github.com/chromiumembedded/cef/issues
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: GetAuthCredentials is not called with Chrome Runtime

Postby finder2 » Tue Nov 14, 2023 4:59 pm

finder2
Mentor
 
Posts: 51
Joined: Fri Jun 13, 2014 1:33 am

Re: GetAuthCredentials is not called with Chrome Runtime

Postby ndesktop » Wed Nov 15, 2023 2:18 am

Also maybe is worth mentioning: the dialog appears and dissapears briefly.
ndesktop
Master
 
Posts: 756
Joined: Thu Dec 03, 2015 10:10 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 203 guests