Has anyone tried to use Google's popup oauth authentication in an application being included in WebViewGadget?

Just starting out? Need help? Post your questions and find answers here.
User avatar
skinkairewalker
Enthusiast
Enthusiast
Posts: 778
Joined: Fri Dec 04, 2015 9:26 pm

Has anyone tried to use Google's popup oauth authentication in an application being included in WebViewGadget?

Post by skinkairewalker »

Hello all !!

Has anyone tried to use Google's popup oauth authentication in an application being included in WebViewGadget?
Since it is necessary to create a popup outside the main window, I believe it is not yet possible.
What do you recommend me to do?
BarryG
Addict
Addict
Posts: 4163
Joined: Thu Apr 18, 2019 8:17 am

Re: Has anyone tried to use Google's popup oauth authentication in an application being included in WebViewGadget?

Post by BarryG »

I don't know specifically, but maybe this is a situation where you need to use an "app password" with Google, like I have to when sending an email from Gmail with my app.
User avatar
Kukulkan
Addict
Addict
Posts: 1396
Joined: Mon Jun 06, 2005 2:35 pm
Location: germany
Contact:

Re: Has anyone tried to use Google's popup oauth authentication in an application being included in WebViewGadget?

Post by Kukulkan »

skinkairewalker wrote: Sun Aug 11, 2024 5:38 am Hello all !!

Has anyone tried to use Google's popup oauth authentication in an application being included in WebViewGadget?
Since it is necessary to create a popup outside the main window, I believe it is not yet possible.
What do you recommend me to do?
Hi. Have you seen my post about OAuth2? I believe you don't need the WebViewGadget as long as you can simply open a URL in system default web browser (RunProgram() directly with the URL on Windows. Calling xdg-open on Linux). I believe you can apply the same as I described in my post also for authentication to other services (2FA).
User avatar
skinkairewalker
Enthusiast
Enthusiast
Posts: 778
Joined: Fri Dec 04, 2015 9:26 pm

Re: Has anyone tried to use Google's popup oauth authentication in an application being included in WebViewGadget?

Post by skinkairewalker »

the solution is actually to open an external oauth link in the browser xD
Post Reply