Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback


Minimalistic OAuth 2.0 client for Deno.
import * as oauth2Client from "";


Implements the OAuth 2.0 authorization code grant.

Error originating from the authorization response.

Implements the OAuth 2.0 Client Credentials grant.

Thrown when trying to use a grant that requires the client secret to be set

Generic error returned by an OAuth 2.0 authorization server.

Implements the OAuth 2.0 refresh token grant.

Implements the OAuth 2.0 resource owner password credentials grant.

Error originating from the token response.