Google oauth2 with cordova and feathersjs



  • Hello,

    Scenario:
    I’m building Spa end Android app with quasarjs.
    The backend is a feathers-js server with feathers-js-oauth plugin for authentication.
    I am using a sqlite database to store users.
    I setted up Facebook and Google oauth2 login and it works in Spa mode with simple hypertext link “/oauth/google” in quasar
    https://docs.feathersjs.com/api/authentication/oauth2.html#client-usage

    Usually for oauth cordova people use “browserinapp” plugin that opens pop-up for oauth2 authentication to fetch the token.
    The problem is that Google dropped support for browserInApp userangent as you can see there https://github.com/nraboy/ng-cordova-oauth/issues/283

    Did anyone has the same issue? How to solve?

    I see some people use firebase, but can I use it only for authentication? I would to maintain my server app with user collection.

    Thanks you