Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/oauth2_server/errors.ts

A standards compliant implementation of an OAuth 2.0 authorization server with PKCE support.
Latest
import * as oauth2Server from "https://deno.land/x/oauth2_server@0.12.0/errors.ts";

Classes

The resource owner or authorization server denied the request.

Client authentication failed.

The provided authorization grant or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.

The request is missing a required parameter, includes an unsupported parameter value, repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed.

The requested scope is invalid, unknown, or malformed.

The authorization server encountered an unexpected condition that prevented it from fulfilling the request.

The authorization server is currently unable to handle the request due to a temporary overloading or maintenance of the server.

The authenticated client is not authorized to use this authorization grant type.

The authorization grant type is not supported by the authorization server.

The authorization server does not support obtaining an authorization code using this method.

The token type is not supported by the authorization server.