Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49238

Use capacitor-google-auth in Cordova project

$
0
0

I’m using Cordova in my project but I want to use capacitor-google-auth plugin to Google Sign In.

I follow this tutorial
GitHub - CodetrixStudio/CapacitorGoogleAuth: Capacitor plugin for Google Auth. Lightweight & no dependencies.

I added GoogleService-Info.plist file and wrote inside

{
    "appId": "com.project.app",
    "appName": "project",
    "plugins": {
        "GoogleAuth": {
        "scopes": ["profile","email"],
        "serverClientId": "53xxxxxxxxxxx-djnxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com",
        "forceCodeForRefreshToken": true
        }
    }
}

I also download 0Auth client ID plist file from Google Cloud but there is no path App / App to put that file.
My target folder looks like this

Screenshot 2024-04-03 at 12.02.37 PM

How can I make these things work?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 49238

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>