Created
June 13, 2019 13:24
-
-
Save leonmwandiringa/584f31467ecdf2522d97d1c64e56b673 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { runWithAdal } from 'react-adal'; | |
import { authContext, Authuser, authenticateUserToSevices } from '../src/auth/auth'; | |
const DO_NOT_LOGIN = false; | |
runWithAdal(authContext, async () => { | |
await authenticateUserToSevices() | |
// eslint-disable-next-line | |
require('./indexApp.js'); | |
},DO_NOT_LOGIN); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment