Closed tscislo closed 6 years ago
What do you mean by "gets cleared by"?
Here is the scenario
I would check to make sure of a few things
Also remember, with SPA's, even updating part if the page requires the authorization token that was received at logon. And if the session is close to expiration, it has to be renewed before it expires.
@tscislo Url query params are not retained during redirection from AAD by design. This is is the reason we strip the query params from the login start page before redirecting the user to the authorization endpoint. Please see below: https://github.com/AzureAD/azure-activedirectory-library-for-js/blob/beee84cb37d59b04f15e06140d3c3dc1d61cade9/lib/adal.js#L171 You will have to save the query params elsewhere and then reset the window.location after successful authentication.
I have some filtering parameters passed as URI params ?filterA=xxx&filterB=yyy, which when I copy and paste to new browser tabs gets cleared by adal-angular. When I disable adal-angular those URI params don't get cleared.