I am developing an application for android that will leverage google identity toolkit for authentication. Furthermore, the tokens obtained from the authentication will be used by an intermediate server to retrieve friend lists from the due social networks used to authenticate (e.g. Facebook). For this, I assume I need an OpenID of Web application retrieved from Google developer console, am I right? And then, the intermediate server would have a rest api for the android application to contact and perform logins?
On Facebook, am I supposed to configure two distinct applications? One for web and another for android.
The architecture would be something like:
Kind regards