# Use capacitor-google-auth in Cordova project

**URL:** <https://forum.ionicframework.com/t/use-capacitor-google-auth-in-cordova-project/240709>\
**Category:** ionic-v3\
**Created:** [April 3, 2024, 4:07am UTC](https://forum.ionicframework.com/t/use-capacitor-google-auth-in-cordova-project/240709 "2024-04-03T04:07:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ash737](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@ash737](https://forum.ionicframework.com/u/ash737)\
**Post date:** [April 3, 2024, 4:07am UTC](https://forum.ionicframework.com/t/use-capacitor-google-auth-in-cordova-project/240709/1 "2024-04-03T04:07:10Z")

</div>

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.](https://github.com/CodetrixStudio/CapacitorGoogleAuth)

I added GoogleService-Info.plist file and wrote inside

```auto
{
    "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](https://global.discourse-cdn.com/ionicframework/original/3X/0/f/0f9222ed602ac409a1de048947093fd4add0be9a.png)

How can I make these things work?

---

<div class="post-metadata">

**Author:** ![twestrick](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/twestrick/32/136131_2.png) [@twestrick](https://forum.ionicframework.com/u/twestrick)\
**Post date:** [April 3, 2024, 1:23pm UTC](https://forum.ionicframework.com/t/use-capacitor-google-auth-in-cordova-project/240709/2 "2024-04-03T13:23:06Z")

</div>

Someone can correct me, but I don’t think you can use a Capacitor plugin in Cordova. You can use most Cordova plugins in a Capacitor project.

---

<div class="post-metadata">

**Author:** ![julio-ionic](https://avatars.discourse-cdn.com/v4/letter/j/58956e/32.png) [@julio-ionic](https://forum.ionicframework.com/u/julio-ionic)\
**Post date:** [April 3, 2024, 3:17pm UTC](https://forum.ionicframework.com/t/use-capacitor-google-auth-in-cordova-project/240709/3 "2024-04-03T15:17:07Z")

</div>

Well, technically you can use Capacitor plugins in Cordova apps by using this plugin

> **[GitHub - ionic-team/capacitor-plugin-cordova-compat](https://github.com/ionic-team/capacitor-plugin-cordova-compat)**
>
> Contribute to ionic-team/capacitor-plugin-cordova-compat development by creating an account on GitHub.

But it’s not as simple as that, the Capacitor plugin needs some changes for being able to be used in Cordova apps.

> **[GitHub - ionic-team/capacitor-plugin-cordova-compat](https://github.com/ionic-team/capacitor-plugin-cordova-compat?tab=readme-ov-file#how-to-add-cordova-compatability-to-your-capacitor-plugin)**
>
> Contribute to ionic-team/capacitor-plugin-cordova-compat development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![ash737](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@ash737](https://forum.ionicframework.com/u/ash737)\
**Post date:** [April 4, 2024, 12:25am UTC](https://forum.ionicframework.com/t/use-capacitor-google-auth-in-cordova-project/240709/4 "2024-04-04T00:25:17Z")

</div>

Thank you for your reply  
Is there any Cordova plugin for Google Sign-In that supports the latest version of Xcode?  
Previously I used Google+ but this plugin stop supported!
