import { assignDefaults, addAuthorize } from '../../utils/provider';
export default function github(nuxt, strategy) {
    assignDefaults(strategy, {
        scheme: 'oauth2',
        endpoints: {
            authorization: 'https://github.com/login/oauth/authorize',
            token: 'https://github.com/login/oauth/access_token',
            userInfo: 'https://api.github.com/user'
        },
        scope: ['user', 'email']
    });
    addAuthorize(nuxt, strategy);
}
