Skip to content
Search
Search the documentation
OAuthErrorResponseSchema
GitHub GitHub

OAuthErrorResponseSchema

Variable: OAuthErrorResponseSchema

const OAuthErrorResponseSchema: ZodMiniObject<{ error: ZodMiniString<string>; error_description: ZodMiniOptional<ZodMiniString<string>>; error_uri: ZodMiniOptional<ZodMiniString<string>>; }, $strip>

Defined in: v1/schemas/oauth.ts:234

Error response from the OAuth token endpoint, per RFC 6749 Section 5.2. Distinct from ErrorSchema, which covers the rest of the API.

See

https://datatracker.ietf.org/doc/html/rfc6749#section-5.2