You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
not really a bug, more a possibility to make your code more robust. Still found some internet q&a reporting the same poblem without solution.
Steps 1-4 of "code" flow worked fine until authority sent the code. "loadDiscoveryDocumentAndTryLogin" was not able to extract the code due to a redirect that happend by async processes in parallel to the loadDiscoveryAndTryLogin process.
(authGuards on all pages made the router redirecting and logically window.location.search was empty when loadDiscoveryDocumentAndTryLogin accessed it).
My suggestion: save the window.location.search content as soon as possible in loadDiscoveryAndTryLogin to prevent other async-task to clear it. It is hard to debug, if it happens.
The text was updated successfully, but these errors were encountered:
Hi,
not really a bug, more a possibility to make your code more robust. Still found some internet q&a reporting the same poblem without solution.
Steps 1-4 of "code" flow worked fine until authority sent the code. "loadDiscoveryDocumentAndTryLogin" was not able to extract the code due to a redirect that happend by async processes in parallel to the loadDiscoveryAndTryLogin process.
(authGuards on all pages made the router redirecting and logically window.location.search was empty when loadDiscoveryDocumentAndTryLogin accessed it).
My suggestion: save the window.location.search content as soon as possible in loadDiscoveryAndTryLogin to prevent other async-task to clear it. It is hard to debug, if it happens.
The text was updated successfully, but these errors were encountered: