I'm using implicit grant flow in angular 4 where the recommended approach is to set windows.location.href to the auth provider url.
Can I create a promise from windows.location.href so I know to trigger a follow-up action once the promise returns?
If a promise isn't an option are there alternatives?