docs: add minimal Alpine gpclient image

This commit is contained in:
Kevin Yue committed 2026-05-09 09:04:28 +08:00
1 parent 4d252fa31c
commit 6f91a79081
4 files changed
+96 -2

No files matched your search

+9 -1
View File
@@ -540,7 +540,15 @@ impl<'a> ConnectHandler<'a> {
match prelogin {
Prelogin::Saml(prelogin) => {
let browser = if prelogin.support_default_browser() {
self.args.browser.as_deref()
#[cfg(feature = "webview-auth")]
{
self.args.browser.as_deref()
}
#[cfg(not(feature = "webview-auth"))]
{
None
}
} else if !cfg!(feature = "webview-auth") {
bail!(
"The server does not support authentication via the default browser and the gpclient is not built with the `webview-auth` feature"