# HG changeset patch # User Kim Alvefur # Date 1752597262 -7200 # Node ID 9111c7b24d12e759e250b01dbda238d40a64c30f # Parent 486115e3b64dae823450122d96ae12a6482972f0 mod_oidc_userinfo_vcard4: Add verbose oidc claim details diff -r 486115e3b64d -r 9111c7b24d12 mod_oidc_userinfo_vcard4/mod_oidc_userinfo_vcard4.lua --- a/mod_oidc_userinfo_vcard4/mod_oidc_userinfo_vcard4.lua Tue Jul 15 18:33:40 2025 +0200 +++ b/mod_oidc_userinfo_vcard4/mod_oidc_userinfo_vcard4.lua Tue Jul 15 18:34:22 2025 +0200 @@ -1,10 +1,14 @@ -- Provide OpenID UserInfo data to mod_http_oauth2 -- Alternatively, separate module for the whole HTTP endpoint? -- -module:add_item("openid-claim", "address"); -module:add_item("openid-claim", "email"); -module:add_item("openid-claim", "phone"); -module:add_item("openid-claim", "profile"); +module:add_item("openid-claim", { claim = "address"; title = "Address"; + description = "Address details, if any, given in your user profile."; }); +module:add_item("openid-claim", { claim = "email"; title = "Email"; + description = "Email address entered in your user profile." }); +module:add_item("openid-claim", { claim = "phone"; title = "Phone Number"; + description = "Phone number entered in your user profile."; }); +module:add_item("openid-claim", { claim = "profile"; title = "Profile"; + description = "Complete profile details" }); local mod_pep = module:depends "pep";