I have integrated ADAL.js in my Dynamics CRM tenant. It was working with login prompt but sudden I am getting this message while trying to login:
Learning Path error: SecurityError: Blocked a frame with origin "https://tenant-test.crm6.dynamics.com" from accessing a cross-origin frame.
and here is my adal.js config code:
var adalConfig = {
clientId: APPID,
popUp: true,
cacheLocation: "localStorage",
redirectUri: "https://tenant-test.crm6.dynamics.com/"
};
adalAuthContext = new window['AuthenticationContext'](adalConfig);
var user = adalAuthContext.getCachedUser();
if (!user) {
adalAuthContext.login();
}