oAuth popup Window not opening

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.

oAuth popup Window not opening

Postby delphirules » Wed Feb 04, 2026 5:43 am

Hello,

I'm using 144.0.12.

When a site needs to open an oAuth popup window, for instance when the site has the 'Login with google' option, on my app an empty gray window is opened, like on this image : https://ibb.co/h1T035TJ

On regular Google Chrome, the popup window opens correctly.

After some debugging, here is the log file. Any ideas please ? :?

Code: Select all
[40188:38288:0203/092835.966:WARNING:chrome\browser\signin\account_consistency_mode_manager.cc:74] Desktop Identity Consistency cannot be enabled as no OAuth client ID and client secret have been configured.
[40188:38288:0203/092838.121:ERROR:content\browser\gpu\gpu_process_host.cc:1004] GPU process exited unexpectedly: exit_code=-2147483645
[40188:38288:0203/092838.121:WARNING:content\browser\gpu\gpu_process_host.cc:1446] The GPU process has crashed 1 time(s)
[40188:38288:0203/092838.282:WARNING:content\browser\gpu\gpu_process_host.cc:1026] Reinitialized the GPU process after a crash. The reported initialization time was 120 ms
[20348:29892:0203/092838.327:ERROR:gpu\ipc\client\command_buffer_proxy_impl.cc:128] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[40188:38288:0203/092838.327:ERROR:content\browser\gpu\gpu_process_host.cc:1004] GPU process exited unexpectedly: exit_code=-2147483645
[40188:38288:0203/092838.327:WARNING:content\browser\gpu\gpu_process_host.cc:1446] The GPU process has crashed 2 time(s)
[40188:38288:0203/092838.498:WARNING:content\browser\gpu\gpu_process_host.cc:1026] Reinitialized the GPU process after a crash. The reported initialization time was 134 ms
[40188:38288:0203/092838.525:ERROR:content\browser\gpu\gpu_process_host.cc:1004] GPU process exited unexpectedly: exit_code=-2147483645
[40188:38288:0203/092838.525:WARNING:content\browser\gpu\gpu_process_host.cc:1446] The GPU process has crashed 3 time(s)
[37808:27260:0203/092838.626:ERROR:gpu\ipc\service\gpu_channel_manager.cc:915] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[40188:38288:0203/092838.626:WARNING:content\browser\gpu\gpu_process_host.cc:1026] Reinitialized the GPU process after a crash. The reported initialization time was 0 ms
[37808:27260:0203/092840.791:ERROR:gpu\ipc\service\gpu_channel_manager.cc:915] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[37808:27260:0203/092840.791:ERROR:gpu\ipc\service\gpu_channel_manager.cc:915] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[40188:20020:0203/092846.162:ERROR:google_apis\gcm\engine\registration_request.cc:291] Registration response error message: DEPRECATED_ENDPOINT
[40188:39372:0203/092906.394:INFO:chrome\browser\extensions\extension_garbage_collector.cc:188] Garbage collection for extensions on file thread is complete.
[40188:20020:0203/092909.787:WARNING:cef\libcef\browser\browser_info.cc:370] Returning a speculative frame for [14,12]
[40188:38288:0203/092910.009:WARNING:cef\libcef\browser\browser_info.cc:370] Returning a speculative frame for [15,12]
[40188:38288:0203/092910.009:WARNING:cef\libcef\browser\browser_info.cc:370] Returning a speculative frame for [15,12]
[40188:38288:0203/092910.009:WARNING:cef\libcef\browser\browser_info.cc:370] Returning a speculative frame for [15,12]
[40188:38288:0203/092910.009:WARNING:cef\libcef\browser\browser_info.cc:370] Returning a speculative frame for [15,12]
[40188:20020:0203/092910.016:WARNING:cef\libcef\browser\browser_info.cc:370] Returning a speculative frame for [15,12]
[40188:20020:0203/092911.711:ERROR:google_apis\gcm\engine\registration_request.cc:291] Registration response error message: DEPRECATED_ENDPOINT
delphirules
Mentor
 
Posts: 84
Joined: Mon May 16, 2022 12:07 pm

Re: oAuth popup Window not opening

Postby magreenblatt » Wed Feb 04, 2026 9:41 am

Can you provide an example URL? Does the problem reproduce with CEF sample apps?
magreenblatt
Site Admin
 
Posts: 13193
Joined: Fri May 29, 2009 6:57 pm

Re: oAuth popup Window not opening

Postby delphirules » Wed Feb 04, 2026 12:27 pm

I did further tests / debug here.

If i run my app in SingleExeProcessing (multiple processes with the same EXE name), it works properly. When i use a different EXE for subprocess (MultiExeProcessing), it won't work.

The offical sample application works, but it runs on SingleExeProcessing. Is there a way to run it on MultiExeProcessing ?
delphirules
Mentor
 
Posts: 84
Joined: Mon May 16, 2022 12:07 pm

Re: oAuth popup Window not opening

Postby magreenblatt » Wed Feb 04, 2026 12:55 pm

You can probably copy/rename cefclient.exe from the Sample Application and then run `cefclient.exe --browser-subprocess-path=<othername>.exe`
magreenblatt
Site Admin
 
Posts: 13193
Joined: Fri May 29, 2009 6:57 pm

Re: oAuth popup Window not opening

Postby delphirules » Wed Feb 04, 2026 1:44 pm

magreenblatt wrote:You can probably copy/rename cefclient.exe from the Sample Application and then run `cefclient.exe --browser-subprocess-path=<othername>.exe`


I did this, but then cefclient.exe close right after opening.

I'd like to test the cefclient.exe with subprocess, so i can check it the issue of the popup window is on my app or on CEF side.
delphirules
Mentor
 
Posts: 84
Joined: Mon May 16, 2022 12:07 pm

Re: oAuth popup Window not opening

Postby magreenblatt » Wed Feb 04, 2026 2:09 pm

I did this, but then cefclient.exe close right after opening.

Anything in the log file?
magreenblatt
Site Admin
 
Posts: 13193
Joined: Fri May 29, 2009 6:57 pm

Re: oAuth popup Window not opening

Postby delphirules » Wed Feb 04, 2026 3:15 pm

Here is the log :

Code: Select all
[0204/171427.776:WARNING:cef\tests\cefclient\browser\main_context_impl.cc:109] Chrome runtime defaults to the Views framework.
[0204/171427.777:WARNING:cef\tests\cefclient\browser\main_context_impl.cc:130] Using Chrome style; Views-hosted window; Windowed rendering (not a warning)
[0204/171427.783:WARNING:cef\libcef\common\resource_util.cc:83] Please customize CefSettings.root_cache_path for your application. Use of the default value may lead to unintended process singleton behavior.
delphirules
Mentor
 
Posts: 84
Joined: Mon May 16, 2022 12:07 pm

Re: oAuth popup Window not opening

Postby magreenblatt » Wed Feb 04, 2026 3:30 pm

Try adding --no-sandbox
magreenblatt
Site Admin
 
Posts: 13193
Joined: Fri May 29, 2009 6:57 pm

Re: oAuth popup Window not opening

Postby delphirules » Thu Feb 05, 2026 6:19 am

The sample application worked fine. Looks like there is something wrong on my application...

When you see the log below, can you give me some direction about what can be causing the issue ? :?

Code: Select all
[40188:38288:0203/092835.966:WARNING:chrome\browser\signin\account_consistency_mode_manager.cc:74] Desktop Identity Consistency cannot be enabled as no OAuth client ID and client secret have been configured.
[40188:38288:0203/092838.121:ERROR:content\browser\gpu\gpu_process_host.cc:1004] GPU process exited unexpectedly: exit_code=-2147483645
[40188:38288:0203/092838.121:WARNING:content\browser\gpu\gpu_process_host.cc:1446] The GPU process has crashed 1 time(s)
[40188:38288:0203/092838.282:WARNING:content\browser\gpu\gpu_process_host.cc:1026] Reinitialized the GPU process after a crash. The reported initialization time was 120 ms
[20348:29892:0203/092838.327:ERROR:gpu\ipc\client\command_buffer_proxy_impl.cc:128] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[40188:38288:0203/092838.327:ERROR:content\browser\gpu\gpu_process_host.cc:1004] GPU process exited unexpectedly: exit_code=-2147483645
[40188:38288:0203/092838.327:WARNING:content\browser\gpu\gpu_process_host.cc:1446] The GPU process has crashed 2 time(s)
[40188:38288:0203/092838.498:WARNING:content\browser\gpu\gpu_process_host.cc:1026] Reinitialized the GPU process after a crash. The reported initialization time was 134 ms
[40188:38288:0203/092838.525:ERROR:content\browser\gpu\gpu_process_host.cc:1004] GPU process exited unexpectedly: exit_code=-2147483645
[40188:38288:0203/092838.525:WARNING:content\browser\gpu\gpu_process_host.cc:1446] The GPU process has crashed 3 time(s)
[37808:27260:0203/092838.626:ERROR:gpu\ipc\service\gpu_channel_manager.cc:915] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[40188:38288:0203/092838.626:WARNING:content\browser\gpu\gpu_process_host.cc:1026] Reinitialized the GPU process after a crash. The reported initialization time was 0 ms
[37808:27260:0203/092840.791:ERROR:gpu\ipc\service\gpu_channel_manager.cc:915] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[37808:27260:0203/092840.791:ERROR:gpu\ipc\service\gpu_channel_manager.cc:915] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[40188:20020:0203/092846.162:ERROR:google_apis\gcm\engine\registration_request.cc:291] Registration response error message: DEPRECATED_ENDPOINT
[40188:39372:0203/092906.394:INFO:chrome\browser\extensions\extension_garbage_collector.cc:188] Garbage collection for extensions on file thread is complete.
[40188:20020:0203/092909.787:WARNING:cef\libcef\browser\browser_info.cc:370] Returning a speculative frame for [14,12]
[40188:38288:0203/092910.009:WARNING:cef\libcef\browser\browser_info.cc:370] Returning a speculative frame for [15,12]
[40188:38288:0203/092910.009:WARNING:cef\libcef\browser\browser_info.cc:370] Returning a speculative frame for [15,12]
[40188:38288:0203/092910.009:WARNING:cef\libcef\browser\browser_info.cc:370] Returning a speculative frame for [15,12]
[40188:38288:0203/092910.009:WARNING:cef\libcef\browser\browser_info.cc:370] Returning a speculative frame for [15,12]
[40188:20020:0203/092910.016:WARNING:cef\libcef\browser\browser_info.cc:370] Returning a speculative frame for [15,12]
[40188:20020:0203/092911.711:ERROR:google_apis\gcm\engine\registration_request.cc:291] Registration response error message: DEPRECATED_ENDPOINT
delphirules
Mentor
 
Posts: 84
Joined: Mon May 16, 2022 12:07 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 69 guests