Skip to content

About

πŸ’»πŸ— Authentication for the modern web!

Topics

Resources

Code of conduct

Contributing

Stars

106 stars

Watchers

5 watching

Forks

Repository files navigation

NOTE: This repository is currently in maintenance mode and won't receive any new features!

Authentication for the modern web!

API β€’ Docs β€’ Demo

NPM Version NPM Downloads CI Build Coveralls

semantic-release

Install

$ npm install @salte-auth/salte-auth

Usage

import { SalteAuth } from '@salte-auth/salte-auth';
import { Auth0 } from '@salte-auth/auth0';
import { Tab } from '@salte-auth/tab';

// Configure SalteAuth with Auth0's url and client id.
const auth = new SalteAuth({
  providers: [
    new Auth0({
      url: 'https://salte-os.auth0.com',
      clientID: '9JTBXBREtckkFHTxTNBceewrnn7NeDd0'
    })
  ],

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

// Display an iframe to the user that allows them to login
auth.login('auth0');

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!

About

πŸ’»πŸ— Authentication for the modern web!

Topics

Resources

Code of conduct

Contributing

Stars

106 stars

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages