# Google

### Supported Login Packages

Google login can be integrated and used with the Wepin Login Library. Refer to the documentation for the login library for each SDK.

{% hint style="info" %}
All social login authentication providers compatible with Wepin support Simplified Login. If you wish to implement Simplified Login, please refer to the [Simplified Login page](https://docs.wepin.io/en/login/simplified-login).
{% endhint %}

<table><thead><tr><th width="275">Platform</th><th>Login Package</th></tr></thead><tbody><tr><td>Web</td><td><a href="../../widget-integration/web-javascript-sdk/login-library">@wepin/login-js</a></td></tr><tr><td>Android</td><td><a href="../../widget-integration/android-java-and-kotlin-sdk">wepin-android-sdk-login-v1</a></td></tr><tr><td>iOS</td><td><a href="../../widget-integration/ios-swift-sdk/login-library">WepinLogin</a></td></tr><tr><td>Flutter</td><td><a href="../../widget-integration/flutter-sdk/login-library">wepin_flutter_login_lib</a></td></tr><tr><td>React Native</td><td><a href="../../widget-integration/react-native-sdk/login-library">@wepin/login-rn</a></td></tr><tr><td>Compose MultiPlatform</td><td><a href="../../widget-integration/compose-multiplatform-sdk/login-library">wepin-compose-sdk-login-v1</a></td></tr></tbody></table>

### Registering Login Providers

{% hint style="info" %}
To enable social login for mobile applications, you must register the login providers in the Workspace. For web environments or when implementing Simplified Login, Workspace registration is not required.
{% endhint %}

1. In the [Wepin Workspace](https://workspace.wepin.io/workspace), navigate to the **Login** tab under the **Development Tools** menu.
2. In the Login tab, click the **Set Login Provider** button.

<figure><img src="https://2285137990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsVhEIYmplGN5Zxk3tywO%2Fuploads%2FcGTpXsvPBHMWuuLgO1vj%2Fimage.png?alt=media&#x26;token=3e3c07db-3dce-4977-b583-02a076364555" alt=""><figcaption></figcaption></figure>

3. After verifying the information in the [Google Console](https://console.cloud.google.com/apis/dashboard), enter the **Web Client ID** and **Client Secret** values into the workspace.

<figure><img src="https://2285137990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsVhEIYmplGN5Zxk3tywO%2Fuploads%2FDo6u06HdgJXpQSd48H8n%2Fimage.png?alt=media&#x26;token=6e7f2841-71ea-4f8f-a4c4-049d75e41468" alt=""><figcaption></figcaption></figure>

4. Once all the required information is entered and the Redirect URL is generated, refer to [Google APIs](https://developers.google.com/identity/protocols/oauth2/web-server#creatingcred) to register the Redirect URL with the OAuth Provider.
