Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RoutingMiddleware causes endless redirection loops in some circumstances #74

Closed
mrpmorris opened this issue Aug 15, 2020 · 0 comments · Fixed by #75
Closed

RoutingMiddleware causes endless redirection loops in some circumstances #74

mrpmorris opened this issue Aug 15, 2020 · 0 comments · Fixed by #75

Comments

@mrpmorris
Copy link
Owner

RoutingMiddleware dispatches a GoAction whenever NavigationManager.LocationChanged' is triggered and the new URL doesn't match the URL in the state, An Effect will then trigger to call NavigationManager.Navigate` if the state URL and current URL are different.

This allows us to ensure navigation occurs when dispatching GoAction, and that GoAction is dispatched when non-Fluxor code calls NavigationManager.Navigate.

When using Microsoft MSAL authentication the quick changing of URLs can cause in endless redirect loop.

@mrpmorris mrpmorris linked a pull request Aug 15, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant