mirror of
https://github.com/bitwarden/server
synced 2025-12-22 11:13:27 +00:00
[PM-2041] Finish adding FIDO2 Authentication (#3467)
This commit is contained in:
@@ -81,9 +81,9 @@ public class AccountsController : Controller
|
|||||||
return new PreloginResponseModel(kdfInformation);
|
return new PreloginResponseModel(kdfInformation);
|
||||||
}
|
}
|
||||||
|
|
||||||
[HttpPost("webauthn/assertion-options")]
|
[HttpGet("webauthn/assertion-options")]
|
||||||
[RequireFeature(FeatureFlagKeys.PasswordlessLogin)]
|
[RequireFeature(FeatureFlagKeys.PasswordlessLogin)]
|
||||||
public WebAuthnLoginAssertionOptionsResponseModel PostWebAuthnLoginAssertionOptions()
|
public WebAuthnLoginAssertionOptionsResponseModel GetWebAuthnLoginAssertionOptions()
|
||||||
{
|
{
|
||||||
var options = _userService.StartWebAuthnLoginAssertion();
|
var options = _userService.StartWebAuthnLoginAssertion();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user