Change firebase android google signin authentication provider scope

132 views
Skip to first unread message

Harshit Laddha

unread,
Jul 22, 2018, 10:12:27 AM7/22/18
to Firebase Google Group
Hi, 


I have an android app with Firebase Google Login function. 

Is it possible to get the friends list for the people logging with the firebase google login ? 

For the Google Plus web signin, I remember adding user_friends permission to the login scopes, how do i do the same with the firebase google sign in provider ?

Ian Barber

unread,
Jul 23, 2018, 1:15:27 PM7/23/18
to Firebase Google Group
You can add any scopes you need - Firebase just takes the underlying Google Sign In credentials after a successful sign in (e.g. for the web see the reference to addScope in https://firebase.google.com/docs/auth/web/google-signin). 

The old G+ friends API is deprecated, but you can take a look at the newer People API https://developers.google.com/people/

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/efcc1cee-29f5-4dd3-9bdf-8416fbfbece8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages