# API to register and test WebAuthN/TOTP/(any) credential?

**URL:** <https://forum.keycloak.org/t/api-to-register-and-test-webauthn-totp-any-credential/24731>\
**Category:** Miscellanaeous\
**Created:** [February 26, 2024, 8:01am UTC](https://forum.keycloak.org/t/api-to-register-and-test-webauthn-totp-any-credential/24731 "2024-02-26T08:01:18Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ThoreKr](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/thorekr/32/7713_2.png) [@ThoreKr](https://forum.keycloak.org/u/ThoreKr)\
**Post date:** [February 26, 2024, 6:11pm UTC](https://forum.keycloak.org/t/api-to-register-and-test-webauthn-totp-any-credential/24731/2 "2024-02-26T18:11:16Z")

</div>

If I understood your question correctly it is a similar issue as [Keycloak API Rest - check if password is correct](https://forum.keycloak.org/t/keycloak-api-rest-check-if-password-is-correct/24645) .  
Also, messing with the registration flows, as they are browser based, could cause login issues. The registration should happen within Keycloaks native flows.

---

_[View the full topic](https://forum.keycloak.org/t/api-to-register-and-test-webauthn-totp-any-credential/24731)._
