$ npm install --save authllizer-github-oauth2
# and install peer dependencies
$ npm install --save @authllizer/core
import { Authllizer, IAuthllizerOptions } from '@authllizer/core';
import GithubOAuth2, { IGithubOAuth2Options } from 'authllizer-github-oauth2';
let authllizer: Authllizer = new Authllizer({
providers: {
github: GithubOAuth2.extend({
clientId: '***',
// ...
} as IGithubOAuth2Options),
// ...
},
// ...
} as IAuthllizerOptions);
Copyright © 2017 Yisrael Eliav, Licensed under the MIT license.