@salte-auth/gitlab
v3.1.0
Published
A Salte Auth provider for authenticating with GitLab!
Downloads
4
Readme
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');