soernt / signalr_client

A Flutter SignalR Client for ASP.NET Core
MIT License
131 stars 203 forks source link

Error when using with token #43

Closed MohammadElKhatib closed 3 years ago

MohammadElKhatib commented 3 years ago

I am receiving error:

[VERBOSE-2:ui_dart_state.cc(166)] Unhandled Exception: 302: Found

when using token with asp.net core hub

  HttpConnectionOptions httpConnectionOptions = new HttpConnectionOptions(accessTokenFactory: () async => await getAccessToken());
  _hubConnection = HubConnectionBuilder().withUrl(_serverUrl, options: httpConnectionOptions).build();

not fixing it

MohammadElKhatib commented 3 years ago

Well it was server side error The plugin is working well