TheDarkun / Elevators

Fullstack .NET Project for SOČ
0 stars 0 forks source link

Homepage does not get loaded after successful oauth2 #45

Open TheDarkun opened 3 months ago

TheDarkun commented 3 months ago

When you login through you discord account, you are then redirected back to the index page, however the page does not get loaded entirely.

image

warn: Microsoft.AspNetCore.Components.Server.Circuits.RemoteRenderer[100]
      Unhandled exception rendering component: TypeError: Cannot read properties of null (reading 'insertBefore')
      System.InvalidOperationException: TypeError: Cannot read properties of null (reading 'insertBefore')
         at Microsoft.AspNetCore.Components.RenderTree.Renderer.InvokeRenderCompletedCallsAfterUpdateDisplayTask(Task updateDisplayTask, Int32[] updatedComponents)
fail: Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost[111]
      Unhandled exception in circuit 'pgsxRvUhpcCSzVG6yIFDCwJhTzffYceK4YNAMb8OjRo'.
      System.AggregateException: One or more errors occurred. (TypeError: Cannot read properties of null (reading 'insertBefore'))
       ---> System.InvalidOperationException: TypeError: Cannot read properties of null (reading 'insertBefore')
         at Microsoft.AspNetCore.Components.RenderTree.Renderer.InvokeRenderCompletedCallsAfterUpdateDisplayTask(Task updateDisplayTask, Int32[] updatedComponents)
         --- End of inner exception stack trace ---
warn: Microsoft.AspNetCore.Components.Server.Circuits.RemoteRenderer[100]
      Unhandled exception rendering component: Error: No element is currently associated with component 1
      System.InvalidOperationException: Error: No element is currently associated with component 1
         at Microsoft.AspNetCore.Components.RenderTree.Renderer.InvokeRenderCompletedCallsAfterUpdateDisplayTask(Task updateDisplayTask, Int32[] updatedComponents)
fail: Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost[111]
      Unhandled exception in circuit 'pgsxRvUhpcCSzVG6yIFDCwJhTzffYceK4YNAMb8OjRo'.
      System.AggregateException: One or more errors occurred. (Error: No element is currently associated with component 1)
       ---> System.InvalidOperationException: Error: No element is currently associated with component 1
         at Microsoft.AspNetCore.Components.RenderTree.Renderer.InvokeRenderCompletedCallsAfterUpdateDisplayTask(Task updateDisplayTask, Int32[] updatedComponents)
         --- End of inner exception stack trace ---