-
-
Notifications
You must be signed in to change notification settings - Fork 166
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
Usage in WSL? #469
Comments
Update: The CLI tool proceed to the following:
The base64 string decodes to |
The expected |
Sorry I didn't make it clear. The decoded content is:
|
Try running it with the |
Ok it now gives a more detailed error msg: [2025-01-26T10:35:59Z WARN gpapi::gateway::login] GP response error: reason=, status=512 , body= Error: Gateway login error: Strange thing. My login go through a organization login with 2FA (Microsoft sharepoint one). The email address in the part of b64 string is correct. |
Looks not related to the |
I just tried on a ec2 VM, port forward and open with a different browser, and it gives same error. I start to feel like this is a problem with my organization's auth service. Thank you for your kind help anyway! |
Hi, first of all, thank you for your efforts in this project!
Okay I understand my usecase is very rare. I have a WIndows on ARM device, and the official GP client doesn't support Win on ARM. So I'm trying with WSL like when every time the Win on ARM stuck.
I use
wslu
for the virtual browser in the WSL which auto port forward to Chrome in my main system. With `sudo -E gpclient --fix-openssl connect --browser wslview ' I can proceed until the following screen: (which I can also see in other issues, but seems our case are not the same)But it hangs there.
F12 gives following error:
ACS:1 Failed to launch 'globalprotectcallback: *********' because the scheme does not have a registered handler.
So I guess it is attempting to launch GP in the main system (Windows) which doesn't exist. In this case, is there any way to perform the authentication on port-forwarded browser outside and send the callback back to WSL?
(I understand just install gnome in WSL can get rid of this trouble, but gnome is not an option for my outdated device)
The text was updated successfully, but these errors were encountered: