Can't login to steam
Not sure if this is because steam changed how logins work or because steam's login is down, but I'm getting a WebException: Could not find remote server during SteamAPISession.Authenticate().
Here's the relevant part of the code:
SteamAPISession session = new SteamAPISession
// ...
Console.WriteLine("Logging in...");
LoginStatus logStatus = LoginStatus.LoginFailed;
try
{
logStatus = session.Authenticate(username, password);
}
catch (Exception e)
{
Console.WriteLine("Could not log in: " + e.Message);
Console.ReadKey();
return;
}
Is this a problem with my code or with the API?
It's not you. The IP of the API server has changed, which was hardcoded for some reason. However, the login still fails.
I just decompiled the Steam APK and it looks like the login protocol has changed quite a bit. The ISteamOAuth2/GetTokenWithCredentials/v0001 endpoint no longer exists. I may have time to rework the login code somewhere at the end of this week.
same error, really need it