android - Google 2 step authentication with AccountManager.confirmCredentials() -


in app, 1 of ways enter login gmail account. use accountmanager.confirmcredentials() method confirm login details correct.

the problem arises when user has 2 step authentication enabled. have no idea how handle case, confirmcredentials() method returns invalid.

any ideas on how handle this?

after digging bit more, takes knowledge on users part. rather using gmail password, must generate app specific password , use instead.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -