@salte-auth/wso2

A Salte Auth provider for authenticating with WSO2!

Usage no npm install needed!

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

README

A Salte Auth provider for authenticating with WSO2!

DocsDemo

NPM Version NPM Downloads CI Build Coveralls

semantic-release

Install

$ npm install @salte-auth/wso2

Usage

import { SalteAuth } from '@salte-auth/salte-auth';
import { WSO2 } from '@salte-auth/wso2';
import { Redirect } from '@salte-auth/redirect';

const auth = new SalteAuth({
  providers: [
    new WSO2({
      url: 'https://wso2.salte.io',
      clientID: '5h3_E8sO839B9DZBkJIOz9RVziQa'
    })
  ],

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

auth.login('wso2');