AuthenticationContext.prototype.acquireTokenRedirect = function (resource, extraQueryParameters, claims) {
if (this._isEmpty(resource)) {
this.warn('resource is required');
callback('resource is required', null, 'resource is required');
return;
}
var callback = this.callback;
// ...
Here callback is called without being set, in case the resource is empty.
@alex3683 Thank you for pointing out this issue. I apologize for the delayed response. We will release a new version in a couple of weeks with this fix.
In
adal.js
line 749ff:Here
callback
is called without being set, in case the resource is empty.