Skip to main content
Module

x/fathym_common/src/oauth/createGitHubOAuthConfig.ts>createGitHubOAuthConfig

The Fathym Reference Architecture provides the common foundation for applications built in Typescript.
Go to Latest
function createGitHubOAuthConfig
import { createGitHubOAuthConfig } from "https://deno.land/x/fathym_common@v0.2.147-integration/src/oauth/createGitHubOAuthConfig.ts";

Creates a GitHub OAuth2 client configuration.

Parameters

clientId: string

The client ID of your GitHub application.

clientSecret: string

The client secret of your GitHub application.

scope: string[]

The name of the scopes you want to request.

Returns

DenoKVOAuth.OAuth2ClientConfig

The configured OAuth2 client configuration for GitHub.