Auth0 Home Blog Docs

Guardian OTP verification through SMS



Hi All,
I am trying to implement SMS verification using Guardian on Android.

I tried but it doesn’t seem to have SMS enrollment.

I tried to use in android, but not sure what is enrollment Ticket used in the call: try {
enrollmentTransaction = guardian
.requestEnroll(enrollmentTicket, EnrollmentType.SMS("+549XXXXXXXX58"));

How do I obtain the enrollment ticket?



Hi, any pointers would be appreciated. Thanks.


Is the Enrollment ticket same as the ticket_id in the response from:

POST /api/v2/guardian/enrollments/ticket