From ef50e4dbcd1debc8a615971c72717929ec565705 Mon Sep 17 00:00:00 2001 From: Andreas Coroiu Date: Wed, 22 Nov 2023 19:24:19 +0100 Subject: [PATCH] [PM-2041] Finish adding FIDO2 Authentication (#3467) --- src/Identity/Controllers/AccountsController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Identity/Controllers/AccountsController.cs b/src/Identity/Controllers/AccountsController.cs index a686afa53..4abbbab48 100644 --- a/src/Identity/Controllers/AccountsController.cs +++ b/src/Identity/Controllers/AccountsController.cs @@ -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();