Client registration using a "store" interface
This commit is contained in:
parent
76f367b957
commit
6bfbd2092b
1 changed files with 84 additions and 41 deletions
|
|
@ -76,7 +76,7 @@ export const OAuthClientMetadataSchema = z.object({
|
|||
jwks: z.any().optional(),
|
||||
software_id: z.string().optional(),
|
||||
software_version: z.string().optional(),
|
||||
}).passthrough();
|
||||
}).strip();
|
||||
|
||||
/**
|
||||
* RFC 7591 OAuth 2.0 Dynamic Client Registration client information
|
||||
|
|
@ -86,7 +86,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(),
|
||||
}).passthrough();
|
||||
}).strip();
|
||||
|
||||
/**
|
||||
* RFC 7591 OAuth 2.0 Dynamic Client Registration full response (client information plus metadata)
|
||||
|
|
|
|||
Loading…
Reference in a new issue