I have my java application with spring boot and angular in UI.
I wanted to create a new user in Authy by QR code scanning from Authy mobile app. I have generated the QR code as per the steps in below document links. But in the end, I got an error while scanning it from the Authy mobile app - "Contact to your service provider Error".
https://www.twilio.com/docs/authy/api/users#add-a-user-without-providing-email-or-phone-number
I have generated the QR code base64 token using JWT as per documents. Then I have sued the online QR generator to show the QR code.
Please help me out with this. It will be helpful if you let me know the steps or anything I got missed in my flow.
Thank you in advance!!
Twilio developer evangelist here.
In order to get the camera to read the QR code, it needs to be in the form of a URL. You have created your token (though it seems to be missing the signature in your example in the comments), so you need to form a URL like this:
and then encode that as a QR code. Then the app will be able to pick it up and start generating 2FA codes.