Socket
Book a DemoInstallSign in
Socket

@salte-auth/azure

Package Overview
Dependencies
Maintainers
3
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@salte-auth/azure

A Salte Auth provider for authenticating with Azure AD!

3.1.0
latest
Source
npmnpm
Version published
Weekly downloads
96
-46.67%
Maintainers
3
Weekly downloads
 
Created
Source



A Salte Auth provider for authenticating with Azure AD!

DocsDemo

NPM Version NPM Downloads CI Build Coveralls

semantic-release

Install

$ npm install @salte-auth/azure

Usage

import { SalteAuth } from '@salte-auth/salte-auth';
import { Azure } from '@salte-auth/azure';
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 Azure({
      url: 'https://login.microsoftonline.com/3f6df7ce-5830-4280-ae97-8e4016d1c6d0',
      clientID: 'c679f65f-8070-4719-8798-31c6fc256736'
    })
  ],

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

auth.login('azure');

Keywords

salte-auth

FAQs

Package last updated on 06 May 2022

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.