Closed bagnaram closed 2 weeks ago
Looks like the authentication has already finished, you could have already used your yubikey. Retry it from the start for this error.
It appears to be an issue launching in an already launched browser. It may be helpful to add a config option to override the browser with CLI args such as --profile
in Firefox. I was able to get a successful login by temporarily installing a secondary browser and setting the XDG default browser to that browser instead of my main.
Hi @bagnaram, glad you found the workaround, I will try to add an option to use a new profile.
Hi @bagnaram I found this may related to the sudo
, even though I can launch the browser as a normal user. In 2.3.7, I enhanced the gpauth
command to support the browser authentication. You can try the following command to authenticate the external browser and see if it works.
gpauth <portal> --browser default 2>/dev/null | sudo gpclient connect <portal> --cookie-on-stdin
And you can specify the browser to launch, e.g., --browser firefox
or --browser chrome
, etc.
Thank you that option works for me using the separate browser instance!
Describe the bug Unable to use default browser for SSO. I see the following login error when using the default browser. The embedded browser doesn't support yubikeys so I wish to use my internal one.
Expected behavior I expect to see the same page as in the internal browser.
Screenshots![image](https://github.com/user-attachments/assets/3ce35696-9694-438b-bda1-004d9296b849)
Logs
~/.local/share/gpclient/gpclient.log
gpclient
command.Environment:
Additional context Add any other context about the problem here.