Skip to content

UpdateMachineAuthCallback is not triggered #1258

Discussion options

You must be logged in to vote

To get account in GetEmailCodeAsync, copy UserConsoleAuthenticator implementation, and change it to pass in whatever data you want, so when you do Authenticator = new UserConsoleAuthenticator(), you can instead do Authenticator = 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

Replies: 2 comments 19 replies

Comment options

You must be logged in to vote
19 replies
@STRATZ-Ken
Comment options

@Christian-Stieber
Comment options

@STRATZ-Ken
Comment options

@xPaw
Comment options

Answer selected by xPaw
@skylayer
Comment options

@DoubleBullet
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
9 participants