I'm having a little trouble with a window.
I have to make a windows.open.so far everything very well and without problems, the detail is that this new window is a login that redirects me when I login and I must capture the new url at that time.
my question is, is it possible to make a variable that listens to this new window? and whenever I detect a change in the url I save the whole url?
the process is
http://localhost:8520/pasar -> http://localhost:8520/login?blahblahblah -> http://finalURLWithParams.com/&hi=123&code=456
after logging in and all I have to do is capture code. Is it possible to do this?
$scope.rowAuthJSONConnect = function () {
console.warn("Entrando a rowAuthJSONConnect");
console.warn("URL:");
console.log(vm.URLRowAuthJson);
var windowOpen = window.open('http://localhost:8520/pasar', "RedsysOpen", "width=900,height=600");
console.log(windowOpen);
}