UpdateMachineAuthCallback is not triggered #1258
Answered
by
xPaw
ExistentialDysfunction
asked this question in
General
-
Hello, I have added a functionality to fetch steam guard code from the email, but after successful authorization there is no UpdateMachineAuthCallback event triggered, so there is no sentry file generated for some reason. Any ideas what might be the issue? |
Beta Was this translation helpful? Give feedback.
Answered by
xPaw
Nov 6, 2023
Replies: 2 comments 19 replies
-
Becase it's deprecated now. It's not an issue. |
Beta Was this translation helpful? Give feedback.
19 replies
-
So, it is currently impossible to receive and update the sentry file? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To get account in
GetEmailCodeAsync
, copyUserConsoleAuthenticator
implementation, and change it to pass in whatever data you want, so when you doAuthenticator = new UserConsoleAuthenticator()
, you can instead doAuthenticator = new MyAuthenticator(accountName)
for example.The IAuthenticator is very simple, and specifically was made for things like this.
To handle email 2FA, you have to store GuardData that comes from PollingWaitForResultAsync, and then pass it into AuthSessionDetails, this works similarly to old sentry files.
See e3950f9