🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@salte-auth/okta

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@salte-auth/okta

A Salte Auth provider for authenticating with Okta!

next
Source
npmnpm
Version
1.0.0-rc.1
Version published
Maintainers
3
Created
Source

NOTE: This repository is currently a work in progress and shouldn't be used!



A Salte Auth provider for authenticating with Okta!

Docs • Demo

NPM Version NPM Downloads Travis Coveralls

semantic-release Greenkeeper badge

Install

$ npm install @salte-auth/okta

Usage

import { SalteAuth } from '@salte-auth/salte-auth';
import { Okta } from '@salte-auth/okta';
import { Redirect } from '@salte-auth/redirect';

/* 
 * Feel free to try out Salte Auth with this configuration!
 * 
 * It should work with the following domains:
 * - glitch.com
 * - localhost:8081
 */
const auth = new SalteAuth({
  providers: [
    new Okta({
      url: 'https://dev-960892.oktapreview.com',
      clientID: '0oajg1bj8hxM1z7pa0h7'
    })
  ],

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

auth.login('okta');

Keywords

salte-auth

FAQs

Package last updated on 10 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts