Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
(window as any).handleOpenURL = (url: string) => {
auth.safariViewController.hide();
Auth0Cordova.onRedirectUri(url);
}
});function intentHandler(url) {
Auth0Cordova.onRedirectUri(url);
}
window.handleOpenURL = intentHandler;