You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Because apparently the Webgear Realworld implementation at the server does not encode username and exp in the login response. Things like these are hard to find without console logging of token errors.)
Currently errors in
Conduit.Data.Jwt
are silently ignored because toAuth uses hush and errors in Lefts are dropped to Nothing.When for example Webgear Realworld is used for a server, the following token error is reported:
JSONDecodeError: (Named "Jwt" (AtKey "username" MissingValue))
(Because apparently the Webgear Realworld implementation at the server does not encode
username
andexp
in the login response. Things like these are hard to find without console logging of token errors.)In maridonkers/purescript-react-realworld branch tokenlogging there's console logging added. Will do a pull request for this.
The text was updated successfully, but these errors were encountered: