Don't need full OAuth client metadata in response

This commit is contained in:
Justin Spahr-Summers 2025-02-11 16:54:57 +00:00
commit 141f3f5532
No known key found for this signature in database

View file

@ -71,7 +71,7 @@ export const OAuthClientInformationSchema = z.object({
client_secret: z.string().optional(),
client_id_issued_at: z.number().optional(),
client_secret_expires_at: z.number().optional(),
}).merge(OAuthClientMetadataSchema);
}).passthrough();
export type OAuthMetadata = z.infer<typeof OAuthMetadataSchema>;
export type OAuthTokens = z.infer<typeof OAuthTokensSchema>;