From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id D82DA1FF0E1 for ; Mon, 10 Aug 2026 14:37:13 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 92626217A3; Mon, 10 Aug 2026 14:36:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=azharul.com; s=t28hkp5; t=1786340442; x=1786945242; darn=lists.proxmox.com; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=1f2KG2mmjebwVvAMPX6NRIhOPB2fs03dbWCWMgpaQ1M=; b=XTSBc3WyK7kkWgRGQVWe2kwWJbvgSDk79fmAjPoPB/yiFpt6ogizW9kWbyptM3BwHx lSkDG/l8DJOW/hhrZ1DX0LRe19ngDLQXj7W8Tq0I5BWVKJlkMpibzQ5RC1mN97bmTKkc EWF9m78+X9CFd5sawUC9xo4AxD9GRUszX3vUxXgcFM6/AUcHBeUv8C9OyuKsm0/g71Fn MJhLIk3CYDLUFwc4+ipAY/nwV3sz/PmzmuXmsfwCmniMqcqqfpoE8RbId56V2FjhPK/K eIwurqvtZQrPrvAfqsZVGui5Yg+5SS11ZZArZ74ueuRYl6dnUGeVPzWHpZTikKIAn1bB PEvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786340442; x=1786945242; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=1f2KG2mmjebwVvAMPX6NRIhOPB2fs03dbWCWMgpaQ1M=; b=AQZHomMdy3aK1c3+dAxeHc4LP+X42XmBCPldaIuxhLcGBb2JdATcr3hf/trvkrHel0 PxFVVsZMoxb7i6MluMJonSTLJvGe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szO1kZuS eCIghaLmuswLW+GkNIBO4kByg5j0= X-Received: by 2002:a05:622a:a588:b0:516:dda7:51e0 with SMTP id d75a77b69052e-52d2095c5f6mr191193051cf.17.1786340440424; Sun, 09 Aug 2026 22:40:40 -0700 (PDT) From: Azharul Haque To: pve-devel@lists.proxmox.com Subject: [PATCH 0/2] android: register OpenID Connect callback activity for #4281 Date: Mon, 10 Aug 2026 01:40:35 -0400 Message-ID: <20260810054037.17184-1-haque@azharul.com> X-Mailer: git-send-email 2.50.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.168 Adjusted score from AWL reputation of From: address DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain DMARC_PASS -0.1 DMARC pass policy RCVD_IN_DNSWL_NONE -0.0001 Sender listed at https://www.dnswl.org/, no trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record X-MailFrom: haque@azharul.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation Message-ID-Hash: 62T6S4LJLC54OCRY5KXLRIHURZR6R4HL X-Message-ID-Hash: 62T6S4LJLC54OCRY5KXLRIHURZR6R4HL X-Mailman-Approved-At: Mon, 10 Aug 2026 14:36:15 +0200 CC: haque@azharul.com X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: The native Flutter "Proxmox VE Companion" app never implemented OpenID Connect / OAuth realm login (bug #4281[0]): selecting an OAuth realm just showed username/password fields that could never work. Android requires an app to explicitly declare, in AndroidManifest.xml, which activity should handle a given custom URL scheme. This series registers flutter_web_auth_2's CallbackActivity for the com.proxmox.app.openid:// redirect scheme used by the OAuth flow, and fixes it up to match a later rename of that scheme. No iOS-side changes are needed: ASWebAuthenticationSession resolves the custom-scheme redirect at runtime without a static declaration equivalent to this manifest entry. Depends on the companion proxmox_dart_api_client and proxmox_login_manager series, which implement the OIDC API calls and login-form/OAuth-flow UI respectively. Verified end-to-end against a real PVE server with an Authentik OIDC realm, on both Android and iOS. [0] https://bugzilla.proxmox.com/show_bug.cgi?id=4281 Azharul Haque (2): fix #4281: android: register OpenID Connect callback activity fix #4281: android: match renamed OpenID callback scheme android/app/src/main/AndroidManifest.xml | 16 ++ linux/flutter/generated_plugin_registrant.cc | 8 + linux/flutter/generated_plugins.cmake | 2 + pubspec.lock | 184 +++++++++++-------- 4 files changed, 138 insertions(+), 72 deletions(-) -- 2.50.1 (Apple Git-155)