public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: "Michael Honkoop" <MHonkoop@comsolve.nl>
To: <pve-devel@lists.proxmox.com>
Subject: [pve-devel] Feature: OAuth / OpenID-connect implementation
Date: Sun, 13 Dec 2020 02:16:54 +0100	[thread overview]
Message-ID: <5FD56B860200008800004138@mail.comsolve.nl> (raw)
In-Reply-To: <5FD56B860200008800004138@mail.comsolve.nl>

Hi all, 

I am slowly working on implementing the authentication method/ entry fields for it  in PVE, which have shown up, and look to be fine (at first glance).

There are 2 things i am yes unable to grasp, and i hope you could give me some directions : 

1)
UI : 
As Oauth/OpenID-connect does not have a need for a field 'tfa', but its inherited from the common auth, i'd like to override it ( as in not visible)

2)
Schema: 
I cant seem to get where a/the schema is defined, or updated for that matter.
I mean i have the UI / auth on the dc level now showing an entry and when i select add it will spawn the dialog to input parameters.
However if i were to put some text in there and click add it spawns an errormessage 'Parameter verification failed. (400)', 'type: value 'oauth' does not have a value in the enumeration 'ad, ldap, pam, pve'' and 'property is not defined in schema and the schema does not allow additional properties'

i've been searching where i can define it but this still have not found, or better said due to my newness in this i'm not following where it is/should be defined.

best regards, 

Michael Honkoop




       reply	other threads:[~2020-12-13  1:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-13  1:16 Michael Honkoop [this message]
2020-12-14  7:12 ` Fabian Grünbichler
2020-12-14 23:12   ` Michael Honkoop
2020-12-14 23:44   ` [pve-devel] Feature: OAuth / OpenID-connect implementation - II Michael Honkoop
2020-12-15  8:40     ` Fabian Grünbichler

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=5FD56B860200008800004138@mail.comsolve.nl \
    --to=mhonkoop@comsolve.nl \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal