C
C#•13mo ago
Ikinidae

Two Factor Authentication with IdentityServer4

Hi all guys, I'm here again asking for your help! I have an api project where I've been asked to implement a two factor authentication and I did it this way. The first api has in input email and password and give in response the otp code (it's a test api so it doesn't matter that the code is given in the response for the moment); the second one has in input the otp code and give in response the access token. The message was too long so I have to put the code in the file 😦 The problem is that all of this works perfectly fine in local but gives some problems on frontend (Angular), there are some kind of problems with the cookie that is generated but not accepted by the browser, so my boss asked me to try something else, using the session instead of the cookie. Is this possible or correct? If u all have any kind of suggestions on everything pls tell me, I'm willing to improve! Thanks ✨
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server