@salte-auth/redirect

A Salte Auth handler for authenticating via Redirect!

Usage no npm install needed!

<script type="module">
  import salteAuthRedirect from 'https://cdn.skypack.dev/@salte-auth/redirect';
</script>

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!