Skip to content

Commit

Permalink
[PM-2023] chore: clean up assertion endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
coroiu committed Oct 31, 2023
1 parent ca10935 commit 8087dda
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.

This file was deleted.

4 changes: 1 addition & 3 deletions src/Identity/Controllers/AccountsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,8 @@ public async Task<PreloginResponseModel> PostPrelogin([FromBody] PreloginRequest
}

[HttpPost("webauthn/assertion-options")]
[ApiExplorerSettings(IgnoreApi = true)] // Disable Swagger due to CredentialCreateOptions not converting properly
[RequireFeature(FeatureFlagKeys.PasswordlessLogin)]
// TODO: Add tests
public async Task<WebAuthnLoginAssertionOptionsResponseModel> PostWebAuthnLoginAssertionOptions(WebAuthnLoginAssertionOptionsRequestModel model)
public async Task<WebAuthnLoginAssertionOptionsResponseModel> PostWebAuthnLoginAssertionOptions()
{
var options = await _userService.StartWebAuthnLoginAssertionAsync();

Expand Down

0 comments on commit 8087dda

Please sign in to comment.