@indigina/kendo 1.2.16 → 1.2.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/config/msal-instance.factory.mjs +3 -2
- package/esm2020/lib/models/AzureB2CSettings.mjs +1 -1
- package/fesm2015/indigina-kendo.mjs +2 -1
- package/fesm2015/indigina-kendo.mjs.map +1 -1
- package/fesm2020/indigina-kendo.mjs +2 -1
- package/fesm2020/indigina-kendo.mjs.map +1 -1
- package/lib/models/AzureB2CSettings.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1664,12 +1664,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
1664
1664
|
const isIE = window.navigator.userAgent.includes('MSIE ') ||
|
|
1665
1665
|
window.navigator.userAgent.includes('Trident/');
|
|
1666
1666
|
const MSALInstanceFactory = (config) => {
|
|
1667
|
+
const defaultRedirectUri = `${window.location.origin}/azure/login/callback`;
|
|
1667
1668
|
const msalConfig = {
|
|
1668
1669
|
auth: {
|
|
1669
1670
|
clientId: config.appSettings.azureB2C.clientId,
|
|
1670
1671
|
authority: config.appSettings.azureB2C.authority,
|
|
1671
1672
|
knownAuthorities: config.appSettings.azureB2C.knownAuthorities,
|
|
1672
|
-
redirectUri:
|
|
1673
|
+
redirectUri: config.appSettings.azureB2C.redirectUri || defaultRedirectUri,
|
|
1673
1674
|
postLogoutRedirectUri: '/',
|
|
1674
1675
|
navigateToLoginRequestUrl: false,
|
|
1675
1676
|
},
|