@salte-auth/github
v3.1.0
Published
A Salte Auth provider for authenticating with GitHub!
Downloads
3
Readme
Install
$ npm install @salte-auth/github
Usage
import { SalteAuth } from '@salte-auth/salte-auth';
import { GitHub } from '@salte-auth/github';
import { Redirect } from '@salte-auth/redirect';
const auth = new SalteAuth({
providers: [
new GitHub({
clientID: '12345'
})
],
handlers: [
new Redirect({
default: true
})
]
});
auth.login('github');