After i login with loginWithRedirect function from auth0-spa, i get an error on handleRedirectCallback function;
core.js:3926 ERROR Error: There are no query params available at window.location.search
.
at e. (auth0-spa-js.production.js:1)
at auth0-spa-js.production.js:1
at Object.next (auth0-spa-js.production.js:1)
at auth0-spa-js.production.js:1
at new ZoneAwarePromise (zone.js:931)
at n (auth0-spa-js.production.js:1)
at e.handleRedirectCallback (auth0-spa-js.production.js:1)
at MergeMapSubscriber.project (auth.service.ts:41)
at MergeMapSubscriber.push…/node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber._tryNext (mergeMap.js:61)
at MergeMapSubscriber.push…/node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber._next (mergeMap.js:51)