Custom authenticator provider driven by mobile app

Hi
We would like to do POC where we implement a custom authenticator provider for OTP.
All the examples and documentation I saw are all based on browser flow.
We have a mobile app and we don’ want to use browser flow, but instead using API calls from the mobile to drive the OTP authentication flow.
Any explanation high level of the API, existing examples or documents for such use case will be great.
Tx

I am also looking for the same thing, we want to authenticate the user with OTP authentication flow. I want to achieve this by using APIs only no browser flow.

@suraj_cybrilla
This is an old thread,
Eventually we implemented the OTP outside of keycloak in a wrapper service

If you could provide some details it will be helpful.