aad_oauth icon indicating copy to clipboard operation
aad_oauth copied to clipboard

Error after login redirect: Assertion failed = _hasSerialCount(currentSate) is not true

Open Freez opened this issue 2 years ago • 1 comments

After login and redirect back to the app I got an error in the console

errors.dart:294 Uncaught (in promise) Error: Assertion failed: org-dartlang-sdk:///lib/_engine/engine/navigation/history.dart:215:12 _hasSerialCount(currentState) is not true at Object.throw_ [as throw] (errors.dart:294:49) at Object.assertFailed (errors.dart:35:3) at _engine.MultiEntriesBrowserHistory.new.tearDown (history.dart:215:28) at tearDown.next (<anonymous>) at runBody (async_patch.dart:84:54) at Object._async [as async] (async_patch.dart:127:5) at _engine.MultiEntriesBrowserHistory.new.tearDown (history.dart:206:24) at _engine.EngineSingletonFlutterWindow.new._useSingleEntryBrowserHistory (window.dart:83:28) at _useSingleEntryBrowserHistory.next (<anonymous>) at runBody (async_patch.dart:84:54) at Object._async [as async] (async_patch.dart:127:5) at [_useSingleEntryBrowserHistory] (window.dart:63:45) at _engine.EngineSingletonFlutterWindow.new.<anonymous> (window.dart:157:17) at Generator.next (<anonymous>) at runBody (async_patch.dart:84:54) at Object._async [as async] (async_patch.dart:127:5) at window.dart:149:27 at _engine.EngineSingletonFlutterWindow.new._waitInTheLine (window.dart:141:30) at _waitInTheLine.next (<anonymous>) at async_patch.dart:45:50 at _RootZone.runUnary (zone.dart:1661:54) at _FutureListener.thenAwait.handleValue (future_impl.dart:156:18) at handleValueCallback (future_impl.dart:840:44) at _Future._propagateToListeners (future_impl.dart:869:13) at async._AsyncCallbackEntry.new.callback (future_impl.dart:458:9) at Object._microtaskLoop (schedule_microtask.dart:40:11) at _startMicrotaskLoop (schedule_microtask.dart:49:5) at async_patch.dart:181:15

I'm using flutter 3.13.1

Freez avatar Sep 12 '23 10:09 Freez

I have the same problem, when I redirect back on the web. The error persists even in the example project implementation, despite making only some configuration changes. Below is error screen from console. image

FabianoIV avatar Feb 20 '24 23:02 FabianoIV