OTP Authentication

Hello everyone! Does Atlas support OTP authentication?
Any idea what is the best choice for Phone Authentication verification (OTP) in KMM application (Kotlin + iOS)?
Have a nice day!

@Ciprian_Gabor: I don’t think Atlas has an in-built OTP authentication system, but you consider calling a third-party API like Twilio from the Cloud function.

Thank you, do you have any example for that?

No, I haven’t created anything similar. But you should be able to find an example on the web as it’s a very common use-case.

1 Like

Hello @Ciprian_Gabor ,

Thank you for your question.

You can use custom function authentication where you can define your custom logic to generate OTP codes and do OTP authentication or you can use an external auth service with OTP that gives you a JWT and login with that.

I hope the provided information is helpful.

Please feel free to ask any follow-up questions.

Cheers, :performing_arts:

1 Like

Do you have any video tutorial showing this type of authentication?

Have a nice day!