Hello
I am trying to use the API to enroll an sms token to a user. I have been using the dotnet provider found here:
Whenever I call enrollSMSToken which is mapped to /token/init the token created when I view via the admin UI is not type sms but type HOTP.
I POST to /token/init?genkey=1 and supply the following parameters:
{"type ", "sms"},
{"user", OTPuser},
{"realm", realm},
{"phone", phonenumber}
I cannot find phone on the list of parameters here in the docs for token/init so wonder if I am not passing the right/required parameters:
I was wondering where I can find an example of using the API to enroll sms tokens?
Thanks