mirror of
https://github.com/bitwarden/server.git
synced 2025-06-01 00:30:32 -05:00
[PM-2041] Finish adding FIDO2 Authentication (#3467)
This commit is contained in:
parent
dba7a79ad2
commit
ef50e4dbcd
@ -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();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user