JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 758
  • Score
    100M100P100Q110245F
  • License MIT

A Salte Auth handler for authenticating via Redirect!

Package Exports

  • @salte-auth/redirect
  • @salte-auth/redirect/dist/salte-auth-redirect.browser.cjs.js
  • @salte-auth/redirect/dist/salte-auth-redirect.browser.esm.js
  • @salte-auth/redirect/dist/salte-auth-redirect.cjs.js
  • @salte-auth/redirect/dist/salte-auth-redirect.esm.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@salte-auth/redirect) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

A Salte Auth provider for authenticating via Redirect!

DocsDemo

NPM Version NPM Downloads CI Build Coveralls

semantic-release

Install

$ npm install @salte-auth/redirect

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

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!