createGitHubAuthProvider

View Source

Summary

Creates a GitHub OAuth App provider.

Signature

function createGitHubAuthProvider(
  options: GitHubAuthProviderOptions,
): OAuthProvider<GitHubAuthProfile, "github", OAuthStandardTokens>;

Params

options

GitHub OAuth client settings for your application.

Returns

An OAuth provider that can be passed to startExternalAuth() and finishExternalAuth().