How to use the react-adal.runWithAdal function in react-adal

To help you get started, we’ve selected a few react-adal examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microsoft / AspNetCore-React-WebApp / client / src / index.ts View on Github external
import { runWithAdal } from 'react-adal';

import { authContext } from './adalConfig';

// set to false after configuring environment variables and adalConfig.ts
const DO_NOT_LOGIN = true;

runWithAdal(
    authContext,
    () => {
        require('app/App.tsx');
    },
    DO_NOT_LOGIN
);
github jjcollinge / terraform-deploy-to-azure / tfdeploy / src / index.js View on Github external
import { runWithAdal } from 'react-adal';
import { authContext } from './adalConfig.js';

const DO_NOT_LOGIN = true;

runWithAdal(authContext, () => {
  // eslint-disable-next-line
  require('./indexApp.js');
}, DO_NOT_LOGIN);

react-adal

Azure Active Directory (ADAL) support for ReactJS

MIT
Latest version published 4 years ago

Package Health Score

51 / 100
Full package analysis