Browse Source

[PM-2041] Finish adding FIDO2 Authentication (#3467)

pull/3470/head
Andreas Coroiu 2 years ago committed by GitHub
parent
commit
ef50e4dbcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/Identity/Controllers/AccountsController.cs

4
src/Identity/Controllers/AccountsController.cs

@ -81,9 +81,9 @@ public class AccountsController : Controller @@ -81,9 +81,9 @@ public class AccountsController : Controller
return new PreloginResponseModel(kdfInformation);
}
[HttpPost("webauthn/assertion-options")]
[HttpGet("webauthn/assertion-options")]
[RequireFeature(FeatureFlagKeys.PasswordlessLogin)]
public WebAuthnLoginAssertionOptionsResponseModel PostWebAuthnLoginAssertionOptions()
public WebAuthnLoginAssertionOptionsResponseModel GetWebAuthnLoginAssertionOptions()
{
var options = _userService.StartWebAuthnLoginAssertion();

Loading…
Cancel
Save