@salte-auth/gitlab
TypeScript icon, indicating that this package has built-in type declarations

3.1.0 • Public • Published

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

Package Sidebar

Install

npm i @salte-auth/gitlab

Weekly Downloads

0

Version

3.1.0

License

MIT

Unpacked Size

8.59 kB

Total Files

16

Last publish

Collaborators

  • cecilia-sanare
  • davewoodward
  • salte-bot