Redirect back from idp with state params doesnt work well with BrowserRouter

I have having the same issue. Can you share the method you used to fix this?