79239200

Date: 2024-11-30 09:26:55
Score: 1.5
Natty:
Report link
You can implement like this.
    
 public IActionResult SignIn()
 {
    var redirectUrl = Url.Action("LoginCallback", "Account");
    var properties = new AuthenticationProperties { RedirectUri = redirectUrl };
    return Challenge(properties, OpenIdConnectDefaults.AuthenticationScheme);
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Nitin P