diff --git a/src/react-azure-adb2c.js b/src/react-azure-adb2c.js index 8ec9671..3593b01 100644 --- a/src/react-azure-adb2c.js +++ b/src/react-azure-adb2c.js @@ -12,6 +12,7 @@ const state = { scopes: [] } var appConfig = { + validateAuthority: false, instance: null, tenant: null, signInPolicy: null, @@ -84,6 +85,7 @@ const authentication = { authority, authCallback, { logger: logger, + validateAuthority: config.validateAuthority, cacheLocation: config.cacheLocation, postLogoutRedirectUri: config.postLogoutRedirectUri, redirectUri: config.redirectUri } @@ -127,4 +129,4 @@ const authentication = { getAccessToken: () => state.accessToken } -export default authentication; \ No newline at end of file +export default authentication;