Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't login to steam #10

Open
einsteinsci opened this issue Oct 18, 2015 · 2 comments
Open

Can't login to steam #10

einsteinsci opened this issue Oct 18, 2015 · 2 comments
Labels

Comments

@einsteinsci
Copy link

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?

@Overv
Copy link
Owner

Overv commented Oct 18, 2015

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.

@jpreese jpreese added the bug label Apr 18, 2016
@JaySlex
Copy link

JaySlex commented Feb 26, 2021

same error, really need it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants