We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently it can return Zod errors for request input validation, per #47 (comment)
Example response:
{ "error": "Invalid request", "zod_error": { "issues": [ { "expected": "'authorization_code' | 'client_credentials'", "received": "undefined", "code": "invalid_type", "path": [ "grant_type" ], "message": "Required" } ], "name": "ZodError" } }
Doesn't conform to:
interface ErrorResponse { error: string; error_description?: string; error_uri?: string; }
Per https://datatracker.ietf.org/doc/html/rfc6749#section-5.2
The text was updated successfully, but these errors were encountered:
So for OAuth endpoints we may not be able to validate via Zod?
Sorry, something went wrong.
We may not be able to utilize zValidator(), but we would be able to manually call Zod in the handler.
zValidator()
No branches or pull requests
Currently it can return Zod errors for request input validation, per #47 (comment)
Example response:
Doesn't conform to:
Per https://datatracker.ietf.org/doc/html/rfc6749#section-5.2
The text was updated successfully, but these errors were encountered: