The blog post mentions:
And then retrieve this in our LoginCallback using:
var result = await HttpContext.AuthenticateAsync(IdentityConstants.TwoFactorUserIdScheme);
var userId = result.Principal.FindFirstValue("sub");
But that code (and the related code) are not in this repo.
My call to AuthenticateAsync is failing (response property Succeeded = false) and I am not sure why so I am hoping to see I have missed something simple.