-
-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
default-browser fails to hand back the authentication to the gpclient #405
Comments
Hi @stheine Has the CLI ever worked? Have you tried with the GUI version and does it work? |
The CLI works perfectly without the |
I see. Then I suggest you to use it without the |
Thought I'd chime in. I have just experienced the same thing here. To add to the complication, if I don't specify Firefox gets past that step, but doesn't hand it back to gpclient. |
of course, not using the |
@u3z05en Would you please set Chrome/Chromium as the default browser and see if it works? Thanks. |
I tested it with Chrome, and in fact, there it's working ok! |
@yuezk Sorry I should have mentioned that, but I tested it again to be sure, Chromium does the same thing, it can also detect the 'duo-desktop' socket and then tries to pass it back to the calling app. Unlike FF, it gives an error "Could not read file globalprotectcallback:[entire-auth-string]" I tried to netcat that string to the listening gpclient port, but it didn't like that. I also tried to register a .desktop file for gpclient but couldn't get that working. btw, I'm on Fedora 40. |
Hi @u3z05en, I am not sure whether this is related: https://forum.manjaro.org/t/error-kio-client-on-google-chrome/86013 But you could try to install |
Found the latest package I could find Unfortunately the outcome is identical for both FF and Chromium. |
@u3z05en did you run the command with the |
@yuezk yes, been running it as |
@u3z05en can you upgrade to 2.3.7 and try the following command to see if it works? gpauth <portal> --gateway --browser default 2>/dev/null | sudo gpclient connect <portal> --as-gateway --cookie-on-stdin |
@yuezk : Legendary work! I upgraded to 2.3.7 and tried my normal command above and:
Here are some of the log lines after the previous hanging point.
Let me know if you still want that other command run and thanks heaps for the awesome support! |
@u3z05en I'm glad it works now. I found that using But honestly, I didn't expect your normal command to work with 2.3.7. I expected the command pipeline to work. |
Ah I see. You got me curious so I tested it and yes, it works perfectly as well. |
I'm closing this issue. @stheine the client also supports specifying the browser to launch via the |
@yuezk thanks for adding the |
Describe the bug
I'm calling
sudo -E gpclient connect --default-browser <portal>
.this brings up my firefox, and I can log in using my corp credentials.
it ends with a paloalto networks screen reporting Authentication Complete, and firefox raising a dialog asking to open the 'globalprotectcallback'.
but no matter what I select here, the gpclient is stuck in
gpclient::connect] Listening authentication data on port
.Expected behavior
pass back the authentication credentials, so that gpclient can continue.
Screenshots
Logs
Environment:
ps aux | grep 'gnome-keyring\|kwalletd5' | grep -v grep
:Additional context
The authentication and connection using the built-in browser works fine.
The text was updated successfully, but these errors were encountered: