@salte-auth/popup

A Salte Auth provider for authenticating via Popup!

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@salte-auth/popup
3.1.010 months ago4 years agoMinified + gzip package size for @salte-auth/popup in KB

Readme

<a href="https://github.com/salte-auth/popup">
<img height="190px" src="https://raw.githubusercontent.com/salte-auth/logos/main/images/logo.svg?sanitize=true">
<br>
<br>
<img height="50px" src="https://raw.githubusercontent.com/salte-auth/logos/main/images/%40salte-auth/popup.svg?sanitize=true">
</a>

A Salte Auth provider for authenticating via Popup!

<strong>
<a href="https://salte-auth.gitbook.io">Docs</a>
<a href="https://salte-auth-demo.glitch.me">Demo</a>
</strong>

Install

```sh $ npm install @salte-auth/popup ```

Usage

```js 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!