npm.io
3.1.0 • Published 4 years ago

@salte-auth/popup

Licence
MIT
Version
3.1.0
Deps
0
Size
21 kB
Vulns
0
Weekly
0

A Salte Auth provider for authenticating via Popup!

Docs • Demo

NPM Version NPM Downloads CI Build Coveralls

semantic-release

Install

$ npm install @salte-auth/popup

Usage

import { SalteAuth } from '@salte-auth/salte-auth';
import { GitHub } from '@salte-auth/github';
import { Popup } from '@salte-auth/popup';

const auth = new SalteAuth({
  providers: [
    new GitHub({
      clientID: '12345'
    })
  ],

  handlers: [
    new Popup({
      default: true
    })
  ]
});

auth.login('github');

Known Issues

These are issues that we know about, but don't have a clear fix for!

There are currently no known issues, thanks for checking!

Keywords