Skip to content

[Bug]: InvalidPassword / InvalidPassword on logging in to Steam. #1345

@whyynoot

Description

@whyynoot

What did you expect to happen?

Expected log in success event, I may do something wrong

Instead of that, what actually happened?

Getting InvalidPassword in SteamUser.LoggedOnCallback callback, but I am 100% that the password is valid. Tried to use a lot of accounts. same issue

Which operating system are you running on?

Windows

Which .NET Runtime are you running on?

.NET Framework

Version

4.7.2

Relevant log output

No response

Example Code

var steamUser = steamClient.GetHandler<SteamUser>();
 var manager = new CallbackManager(steamClient);
 manager.Subscribe<SteamUser.LoggedOnCallback>(OnLoggedOn);
authSession = await steamClient.Authentication.BeginAuthSessionViaCredentialsAsync(new AuthSessionDetails
         {
             Username = username,
             Password = password,
             IsPersistentSession = false,
             Authenticator = new UserFormAuthenticator(targetAccount),
         });

var pollResponse = await authSession.PollingWaitForResultAsync();

 steamUser.LogOn(new SteamUser.LogOnDetails
 {
     Username = pollResponse.AccountName,
     AccessToken = pollResponse.RefreshToken,
 });
 while (running)
 {
     manager.RunWaitCallbacks(TimeSpan.FromSeconds(1));
 }

Additional Information

I am sorry if this is a duplicate or something. I may do something worng

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions