feat(shared/auth): support software_statement in OAuthClientMetadata (#696)

Per [Section 3.1.1][ref], `software_statement` is an OPTIONAL member
of the client creation request, which may contain a JWT encoding claims
about client software.

[ref]: https://datatracker.ietf.org/doc/html/rfc7591#section-3.1.1
This commit is contained in:
Chris Dickinson 2025-06-25 03:20:26 -07:00 • committed by GitHub
commit 05d98bb3a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -98,6 +98,7 @@ export const OAuthClientMetadataSchema = z.object({
jwks: z.any().optional(),
software_id: z.string().optional(),
software_version: z.string().optional(),
software_statement: z.string().optional(),
}).strip();
/**