2 Factor Authentication with GoTrue

answered
#1

Hello,

I am wondering if the GoTrue Netlify roadmap includes support for 2-factor authentication with SMS? Are there any examples of using the webhooks and a service like Twilio to offer an ad hoc 2-factor authentication?

1 Like
#2

I don’t know of any planned work like that on GoTrue, Carl.

Could you expand a bit on your use case for us? Most folks request 2FA on netlify logins (to manage your site) vs identity logins (to access restricted pages by Role for your site visitors), so just checking to make sure of your end goal so we can either explain existing options for Netlify admin login, or instead suggest that you open a new feature request on gotrue in GitHub (in case you did really mean the Identity/gotrue path).

#3

Hello,

The use case is an eCommerce page where we need to ensure that the phone numbers customers give us at signup actually correspond to their real phone number. In the way that GoTrue already requires users to authenticate their email during signup, I simply need a second authentication mechanism at signup to verify the phone number they provide is legit.

As I said there is probably a way to add this ad hoc using Twilio and Identity webhooks, but I was curious if this was something others had already implemented or considered.