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