Nefarious Pomegranate Magnate

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

    3.1.0 • Public • Published

    A Salte Auth provider for authenticating with GitHub!

    DocsDemo

    NPM Version NPM Downloads CI Build Coveralls

    semantic-release

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

    Install

    npm i @salte-auth/github

    DownloadsWeekly Downloads

    7

    Version

    3.1.0

    License

    MIT

    Unpacked Size

    8.66 kB

    Total Files

    16

    Last publish

    Collaborators

    • cecilia-sanare
    • davewoodward
    • salte-bot