On 2/8/25 06:42, Thomas Skinner wrote: > Signed-off-by: Thomas Skinner <tho...@atskinner.net> > --- > pve-rs/src/openid/mod.rs | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/pve-rs/src/openid/mod.rs b/pve-rs/src/openid/mod.rs > index 1fa7572..8f914ad 100644 > --- a/pve-rs/src/openid/mod.rs > +++ b/pve-rs/src/openid/mod.rs > @@ -54,9 +54,14 @@ mod export { > #[try_from_ref] this: &OpenId, > code: &str, > private_auth_state: PrivateAuthState, > + disable_userinfo: Option<bool>, > ) -> Result<Value, Error> { > let open_id = this.inner.lock().unwrap(); > - let claims = open_id.verify_authorization_code_simple(code, > &private_auth_state)?; > + let claims = open_id.verify_authorization_code_simple_userinfo( > + code, > + &private_auth_state, > + disable_userinfo.unwrap_or(false), > + )?; > > Ok(to_value(&claims)?) > }
Commit 9ee9ad4 moved the code to common/src/oidc. I had to apply those manually at the new location, and update the forwarding call in pve-rs/src/openid/mod.rs. Other than that, worked as espected. _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel