mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-06 12:27:44 +00:00
fix(device-authorization): fix client error type for deny device (#5022)
This commit is contained in:
@@ -835,6 +835,14 @@ Follow [rfc8628#section-3.4](https://datatracker.ietf.org/doc/html/rfc8628#secti
|
||||
description: "The user code to deny",
|
||||
}),
|
||||
}),
|
||||
error: z.object({
|
||||
error: z.enum(["invalid_request", "expired_token"]).meta({
|
||||
description: "Error code",
|
||||
}),
|
||||
error_description: z.string().meta({
|
||||
description: "Detailed error description",
|
||||
}),
|
||||
}),
|
||||
metadata: {
|
||||
openapi: {
|
||||
description: "Deny device authorization",
|
||||
|
||||
Reference in New Issue
Block a user