feat: auto-select browser for external auth

This commit is contained in:
Kevin Yue committed 2026-06-21 20:59:13 +08:00
1 parent b32002710b
commit ecc9c9f09c
7 files changed
+144 -47

No files matched your search

+2
View File
@@ -81,6 +81,8 @@ gpauth <portal> --browser 2>/dev/null | sudo gpclient connect <portal> --cookie-
```
**Browser Options:**
- Use `--browser` to auto-select Chrome, Firefox, then the system default browser
- Use `--browser default` to use the system default browser
- Use `--browser <browser>` to specify a browser (e.g., `firefox`, `chrome`)
- Use `--browser remote` for headless servers – this provides a URL you can access from another machine to complete authentication