# @salte-auth/popup

> A Salte Auth provider for authenticating via Popup!

Latest version **3.1.0** (published 2022-05-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install @salte-auth/popup
pnpm add @salte-auth/popup
yarn add @salte-auth/popup
bun add @salte-auth/popup
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.1.0 |
| Published | 2022-05-06 |
| First published | 2019-04-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 21.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | cecilia-sanare, davewoodward, salte-bot |
| Keywords | salte-auth, oauth, 2.0, openid, popup, authentication |

## Links

- npm: https://www.npmjs.com/package/@salte-auth/popup
- Repository: https://github.com/salte-auth/popup
- Issues: https://github.com/salte-auth/popup/issues
- npm.io page: https://npm.io/package/@salte-auth/popup

## Alternatives

- [@clerk/clerk-expo](https://npm.io/package/@clerk/clerk-expo.md) — 133.6K weekly downloads
- [@pothos/plugin-authz](https://npm.io/package/@pothos/plugin-authz.md) — 12.4K weekly downloads
- [@bounded-sh/client](https://npm.io/package/@bounded-sh/client.md) — 3.2K weekly downloads
- [@luigi-project/plugin-auth-oauth2](https://npm.io/package/@luigi-project/plugin-auth-oauth2.md) — 2.3K weekly downloads
- [@nocobase/plugin-verification](https://npm.io/package/@nocobase/plugin-verification.md) — 2.0K weekly downloads

## Recent versions

- 3.1.0 (latest) — 2022-05-06
- 3.0.10 — 2022-05-06
- 3.0.4 — 2021-06-30
- 3.0.3 — 2021-06-30
- 3.0.2 — 2020-05-06
- 3.0.1 — 2020-05-06
- 3.0.0 — 2020-05-02
- 1.0.0-rc.3 — 2020-05-02
- 1.0.0-rc.2 — 2019-05-10
- 1.0.0-rc.1 — 2019-04-07

## README

<h2 align="center">
  <div>
    <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>
  </div>
</h2>

<h3 align="center">
	A Salte Auth provider for authenticating via Popup!
</h3>

<p align="center">
	<strong>
		<a href="https://salte-auth.gitbook.io">Docs</a>
		•
		<a href="https://salte-auth-demo.glitch.me">Demo</a>
	</strong>
</p>

<div align="center">

  [![NPM Version][npm-version-image]][npm-url]
  [![NPM Downloads][npm-downloads-image]][npm-url]
  [![CI Build][github-actions-image]][github-actions-url]
  [![Coveralls][coveralls-image]][coveralls-url]

  [![semantic-release][semantic-release-image]][semantic-release-url]

</div>

## 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!**

[npm-version-image]: https://img.shields.io/npm/v/@salte-auth/popup.svg?style=flat
[npm-downloads-image]: https://img.shields.io/npm/dm/@salte-auth/popup.svg?style=flat
[npm-url]: https://npmjs.org/package/@salte-auth/popup

[github-actions-image]: https://github.com/salte-auth/popup/actions/workflows/ci.yml/badge.svg?branch=main 
[github-actions-url]: https://github.com/salte-auth/popup/actions/workflows/ci.yml

[coveralls-image]: https://img.shields.io/coveralls/salte-auth/popup/main.svg
[coveralls-url]: https://coveralls.io/github/salte-auth/popup?branch=main

[commitizen-image]: https://img.shields.io/badge/commitizen-friendly-brightgreen.svg
[commitizen-url]: https://commitizen.github.io/cz-cli/

[semantic-release-url]: https://github.com/semantic-release/semantic-release
[semantic-release-image]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg

---
_Source: https://npm.io/package/@salte-auth/popup · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
