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

[Request] Push code using TwoFactorUserIdScheme to this remote #2

Open
phrohdoh opened this issue Sep 7, 2018 · 0 comments
Open

[Request] Push code using TwoFactorUserIdScheme to this remote #2

phrohdoh opened this issue Sep 7, 2018 · 0 comments

Comments

@phrohdoh
Copy link

phrohdoh commented Sep 7, 2018

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.

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

No branches or pull requests

1 participant