how to have windows.location.href response act as a promise
Asked Answered
P

0

6

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?

Pius answered 23/9, 2017 at 2:26 Comment(2)
did you ever figure this out?Sadden
No. Adjusted my design, but no real work-around found.Pius

© 2022 - 2024 — McMap. All rights reserved.