@PostMapping(value = WEBAUTHN_ENDPOINT_REGISTER + WEBAUTHN_ENDPOINT_FINISH, produces = MediaType.APPLICATION_JSON_VALUE)
    @Operation(summary = "Finish registration")
    public ResponseEntity<Object> finishRegistration(
        @RequestBody
        final String responseJson) throws Exception {
        val result = server.finishRegistration(responseJson);
        return finishResponse(result, responseJson);
    }
Finish registration and provide response entity.

@param responseJson the response json
@return the response entity
@throws Exception the exception
support/cas-server-support-webauthn-core/src/main/java/org/apereo/cas/webauthn/web/WebAuthnController.java