Improve Google OAuth compatibility and session handling

Updated Electron window and session configuration to enhance Google OAuth sign-in compatibility, including user agent spoofing, session partitioning, and webview security settings. Added debugging for cookie changes and improved request headers for OAuth flows. Updated renderer code and index.html to use the new session partition and user agent. Added oauth-debug.md to document changes and troubleshooting steps.
This commit is contained in:
2025-08-01 14:14:06 +12:00
parent beb2f6b34f
commit dd82dd3fea
5 changed files with 102 additions and 39 deletions
+5 -33
View File
@@ -1,36 +1,8 @@
[
"https://www.youtube.com/",
"https://www.andrewzambazos.com/",
"file:///X:/Projects/Code/NebulaBrowser/renderer/index.html",
"https://duckduckgo.com/?q=dogs&ia=web",
"https://duckduckgo.com/?q=dogs",
"https://www.bing.com/search?q=dogs",
"https://www.google.com/search?q=cats",
"https://github.com/",
"file:///X:/Projects/Code/NebulaBrowser/renderer/index.html",
"file:///X:/Projects/Code/NebulaBrowser/renderer/index.html",
"https://youtube.com/",
"file:///X:/Projects/Code/NebulaBrowser/renderer/index.html",
"https://youtube.com/",
"file:///X:/Projects/Code/NebulaBrowser/renderer/index.html",
"file:///X:/Projects/Code/NebulaBrowser/renderer/index.html",
"file:///X:/Projects/Code/NebulaBrowser/renderer/index.html",
"file:///X:/Projects/Code/NebulaBrowser/renderer/index.html",
"file:///X:/Projects/Code/NebulaBrowser/renderer/index.html",
"https://youtube.com/",
"file:///X:/Projects/Code/NebulaBrowser/renderer/index.html",
"https://youtube.com/",
"file:///X:/Projects/Code/NebulaBrowser/renderer/index.html",
"file:///X:/Projects/Code/NebulaBrowser/renderer/index.html",
"https://www.google.com/",
"file:///X:/Projects/Code/NebulaBrowser/renderer/index.html",
"file:///X:/Projects/Code/NebulaBrowser/renderer/index.html",
"file:///Users/andrewzambazos/Repositories/NebulaBrowser/renderer/index.html",
"https://inscribe.zambazosmedia.group/renderer/editor.html",
"https://inscribe.zambazosmedia.group/",
"file:///Users/andrewzambazos/Repositories/NebulaBrowser/renderer/index.html",
"https://www.youtube.com/watch?v=9FuNtfsnRNo",
"https://youtube.com/",
"http://homelab.andrewzambazos.com:8081/",
"file:///Users/andrewzambazos/Repositories/NebulaBrowser/renderer/index.html"
"https://www.youtube.com/?themeRefresh=1",
"https://www.youtube.com/signin?action_handle_signin=true&authuser=0&pageid=111729565634747805694&next=https%3A%2F%2Fwww.youtube.com%2F%3FthemeRefresh%3D1&feature=identity_prompt&skip_identity_prompt=true",
"https://www.youtube.com/signin_prompt?app=desktop&next=https%3A%2F%2Fwww.youtube.com%2F%3FthemeRefresh%3D1",
"https://accounts.google.com/CheckCookie?continue=https://www.youtube.com/signin?action_handle_signin%3Dtrue%26app%3Ddesktop%26hl%3Den%26next%3Dhttps%253A%252F%252Fwww.youtube.com%252F%253FthemeRefresh%253D1&service=youtube&hl=en&flowName=GlifWebSignIn&ifkv=AdBytiNUIh7TDl3_uEbhoP4_2DB7Pr1f7TvvMAWcinC5AdgLVKbNz1muAyJi_cxweQil5fzXSIKaLw&chtml=LoginDoneHtml&gidl=EgIIAA",
"https://accounts.google.com/v3/signin/identifier?continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26app%3Ddesktop%26hl%3Den%26next%3Dhttps%253A%252F%252Fwww.youtube.com%252F%253FthemeRefresh%253D1&ec=65620&hl=en&ifkv=AdBytiNUIh7TDl3_uEbhoP4_2DB7Pr1f7TvvMAWcinC5AdgLVKbNz1muAyJi_cxweQil5fzXSIKaLw&passive=true&service=youtube&uilel=3&flowName=GlifWebSignIn&flowEntry=ServiceLogin&dsh=S2063712233%3A1754014409754471"
]