Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Determine Whether Google 2-Factor Authentication is enabled for a User via API

I want to develop an application that uses Google as the authentication provider, but I want my app to know if the Google account is using 2-step verification before the account is enrolled in my app.

Can't find the required API in Google dev docs.

like image 539
Riad Al Shaalan Avatar asked Oct 17 '25 00:10

Riad Al Shaalan


1 Answers

This answer here explains how to find out if users have 2-step verification turned on. See API documentation here and parameters here.

like image 107
Duoc Tran Avatar answered Oct 20 '25 01:10

Duoc Tran