It seems like there is a bug in the SeqApiClient where the cookies returned by the API are not being kept in the CookieContainer. While this doesn't affect any requests made using an API key, it makes the user authentication unusable.
var connection = new SeqConnection("serverUrl");
connection.Users.LoginAsync("adminUser", "adminPassword");
var apps = connection.Apps.ListAsync(); // <-- This throws an Seq.Api.Client.SeqApiException: 401 - Please log in.
It seems like there is a bug in the
SeqApiClient
where the cookies returned by the API are not being kept in theCookieContainer
. While this doesn't affect any requests made using an API key, it makes the user authentication unusable.