I do not see how to get the loopback authentication token once the connection is made with google.
Let me explain the auth workflow, which may help you understand my problem with 3rd party auth:
User's browser initiates auth, is redirected to auth provider, and then is returned to the success callback URL.
API code receives evidence of auth and find or creates the user in the database.
API code creates an AuthToken for this new user.
AuthToken is returned to client that initiated the auth request.
AuthToken is stored in memory or local storage to facilitate future calls to the API.
What native cordova plugin to use to get the token from the callback URL ?
The InAppBrowser plugin is deprecated as of [email protected].