@salte-auth/gitlab

A Salte Auth provider for authenticating with GitLab!

Usage no npm install needed!

<script type="module">
  import salteAuthGitlab from 'https://cdn.skypack.dev/@salte-auth/gitlab';
</script>

README

A Salte Auth provider for authenticating with GitLab!

DocsDemo

NPM Version NPM Downloads CI Build Coveralls

semantic-release

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');