v0.7.1
Patch Changes
-
#221
8e3f08cThanks @mattzcarey! - Preserve RFC 7591 §2.2 internationalized client metadata variants.Localized variants of the human-readable client metadata fields — expressed
with a#<BCP 47 language tag>suffix on the member name (e.g.
client_name#ja,tos_uri#fr) — were previously dropped during client
registration. They are now captured forclient_name,client_uri,
logo_uri,tos_uri, andpolicy_uri, stored on the client record under a
new optionali18nmap (keyed by the rawfield#tagname), and echoed back in
the registration response alongside their canonical fields. The same handling
applies to Client ID Metadata Document ingestion.Localized values are validated with the same rules as their canonical field:
URI variants must be absolutehttp:orhttps:URLs, and all variants must
be strings. Fields that are not part of RFC 7591 §2.2 (such asjwks_uriand
redirect_uris) are not collected. -
#218
1f8737dThanks @mattzcarey! - Validate the URI scheme of client metadata fields during client registration.The
client_uri,logo_uri,policy_uri,tos_uri, andjwks_urifields
were previously only checked to be strings. They are now required to be
absolutehttp:orhttps:URLs, consistent with howredirect_urisare
already validated. Registration (and Client ID Metadata Document ingestion)
now rejects values using other schemes with aninvalid_client_metadata
error.These fields are commonly surfaced in consent UIs (for example as link or
image targets), so restricting them to standard web URLs avoids non-http(s)
schemes flowing through to consumers.