all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Azharul Haque <haque@azharul.com>
To: pve-devel@lists.proxmox.com
Cc: haque@azharul.com
Subject: [PATCH 0/2] access: add OpenID Connect support for #4281
Date: Mon, 10 Aug 2026 01:37:30 -0400	[thread overview]
Message-ID: <20260810053732.16627-1-haque@azharul.com> (raw)

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.

This series adds the API-layer building blocks for OIDC login:

  - a `type` property on PveAccessDomainModel, needed to detect
    OpenID realms in the login UI
  - helpers for PVE's /access/openid/auth-url and /access/openid/login
    endpoints

A companion series to proxmox_login_manager builds the login UI and
OAuth flow on top of this, and a companion series to
pve_flutter_frontend wires up the Android-side callback activity.

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: access: add `type` property to `PveAccessDomainModel`
  fix #4281: access: add OpenID Connect auth-url/login helpers

 lib/src/authenticate.dart                   | 85 +++++++++++++++++++++
 lib/src/handle_ticket_response.dart         | 36 +++++++++
 lib/src/models/pve_access_domain_model.dart |  2 +
 test/test.dart                              | 20 +++++
 4 files changed, 143 insertions(+)

-- 
2.50.1 (Apple Git-155)




             reply	other threads:[~2026-08-10 12:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-10  5:37 Azharul Haque [this message]
2026-08-10  5:37 ` [PATCH 1/2] fix #4281: access: add `type` property to `PveAccessDomainModel` Azharul Haque
2026-08-10  5:37 ` [PATCH 2/2] fix #4281: access: add OpenID Connect auth-url/login helpers Azharul Haque

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260810053732.16627-1-haque@azharul.com \
    --to=haque@azharul.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal