benbaran / adal-angular4

Angular 4/5/6/7 ADAL Wrapper
MIT License
86 stars 104 forks source link

Queryparams after login #89

Open cbuttazoni opened 6 years ago

cbuttazoni commented 6 years ago

Hi,

I want to call a deep link with some query parameters (e.g. https://domain.com/postbox?somevalue=xyz). After login you will change the history so that I loose my query params. I figured out, that this will happen in adal.service.ts => handleWindowCallback() => LN 116: window.history.replaceState('', '/', window.location.pathname) Could you please add window.location.search?

Thanks Christian