Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use Gmail account to authenticate the app in android?

Tags:

android

In android how can I authenticate the user by Gmail account. Is their any api or support available for android.

Thanks...

like image 807
Ujjwal Bansal Avatar asked Jan 18 '23 15:01

Ujjwal Bansal


2 Answers

Yes, you can use OAuth in Android. There's a fairly detailed post on this:

  • OAuth in Android using the Google APIs Client Library for Java

There are also two other Java libraries that you might consider for this purpose:

  • Scribe Java API (also supports using several other identity providers)
  • OAuth Signpost
like image 64
Michael Aaron Safyan Avatar answered Mar 15 '23 05:03

Michael Aaron Safyan


Are you asking how to authenticate user in your android app?

You can create a gmail client to authenticate user based on their gmail a/c but This is a unsupported in android sdk.

like image 44
Vineet Shukla Avatar answered Mar 15 '23 05:03

Vineet Shukla