Auth0-react not handling callback URL

Hi,
I have trouble to integrate auth0-react (version 1.0.0) into an existing react application.

As far as I understand the network history, everything works fine until the final step where the callback needs to process the code and get the final id token in exchange for it:

Here is my code - I have wrapped the Auth0Provider inside my existing Router and around all the rest of the application. Nevertheless, provider seems not to get notified of the redirect to the callback URL.

                <Router basename={process.env.ASSET_PATH}>
                    <Auth0Provider
                        domain={OidcSettings.domain}
                        clientId={OidcSettings.client_id}
                        redirectUri={OidcSettings.redirect_uri}
                    >

                        // The Navigation component contains the call to loginWithRedirect()
                        <Navigation />
                        <ServerNotAvailableInfo serverAvailable={this.props.serverStatus.available} />

                        <main>
                            <Switch>
                                <Route path="/editor">
                                    <Editor />
                                </Route>
                                <Route path="/settings">
                                    <Settings />
                                </Route>
                                <Route path="/">
                                    <Redirect to="/editor" />
                                </Route>
                            </Switch>
                        </main>
                        <Footer />
                    </Auth0Provider>
                </Router>

What am I missing?

Hey there!

Can I ask you to raise it as a GitHub issue in our React SDK repo so we can work on that directly with the repo maintainers? Make sure to share the link to it with us here in the thread so we can ping them.