That Saar 💎 @codewithsaar.com · Feb 21

#30MinsLearning Day 11, today, I read the code and created a top level sequential for `/login` of #aspnetcore #identity. The code is pretty straightforward. It supports 2 types of scheme - cookie or token. It starts with user name, password sign in, and check to see if 2FA is needed. For 2FA... 🧵

1 likes 1 replies

?

Replies

That Saar 💎 · Feb 21

It could be with a code or with a recovery code. And then examine the final state of the sign in result. To my surprise that the result for success is actually an empty response. For cookie, it makes sense since there's nothing to return. What about token, though❓