Skip to content

v0.7.1

Choose a tag to compare

@github-actions github-actions released this 03 Jun 15:43
· 12 commits to main since this release
73afff8

Patch Changes

  • #221 8e3f08c Thanks @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 for client_name, client_uri,
    logo_uri, tos_uri, and policy_uri, stored on the client record under a
    new optional i18n map (keyed by the raw field#tag name), 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 absolute http: or https: URLs, and all variants must
    be strings. Fields that are not part of RFC 7591 §2.2 (such as jwks_uri and
    redirect_uris) are not collected.

  • #218 1f8737d Thanks @mattzcarey! - Validate the URI scheme of client metadata fields during client registration.

    The client_uri, logo_uri, policy_uri, tos_uri, and jwks_uri fields
    were previously only checked to be strings. They are now required to be
    absolute http: or https: URLs, consistent with how redirect_uris are
    already validated. Registration (and Client ID Metadata Document ingestion)
    now rejects values using other schemes with an invalid_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.