79377641

Date: 2025-01-22 12:12:00
Score: 1
Natty:
Report link

Authentication methods for password-based authentication are often stored under the "amr" (Authentication Method Reference) claim. The value "pwd" indicates password authentication

you can get it like that

var authMethod = HttpContext.User.FindFirst("amr")?.Value;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Faisal Shafiq