> ## Documentation Index
> Fetch the complete documentation index at: https://docs.median.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Social login overview

> Add native Facebook Login, Google Sign-In, and Sign in with Apple to your app with Median's Social Login plugin, from provider setup to testing.

Enable secure, native sign-in for your app users with **Facebook Login**, **Google Sign-In**, and **Sign in with Apple**. Median's Social Login plugin uses native SDKs, so users who are already authenticated on their devices can sign in automatically.

## Before you start

Make sure you have:

* Developer accounts for each provider (Facebook, Google, Apple)
* Your app's Bundle ID (iOS) and Package Name (Android)
* Access to your website's codebase
* Basic understanding of OAuth authentication

## Complete setup process

Setting up social login involves the following four steps:

### Step 1: Configure identity providers

Configure each provider in their respective developer portals:

> [card] [Configure Facebook Login](https://docs.median.co/docs/facebook-login-configuration.md)
>
> Set up your Facebook App and add iOS/Android platforms. *Requires: Bundle
> ID, Package Name, Key Hash*

> [card] [Configure Google Sign-In](https://docs.median.co/docs/google-sign-in-configuration.md)
>
> Create OAuth clients for all platforms in Google Cloud. *Requires: Bundle
> ID, Package Name, SHA-1 Certificate*

> [card] [Configure Sign in with Apple](https://docs.median.co/docs/sign-in-with-apple-configuration.md)
>
> Register Service ID and set up web authentication. *Requires: Bundle ID,
> website domains, redirect URLs*

### Step 2: Add credentials to Median App Studio

Enter the credentials from Step 1 into your Social Login configuration in Median App Studio.

**You'll need these credentials based on the providers you want to enable:**

| Provider | Parameters |
| - | - |
| Facebook | App ID, Display Name, Client Token |
| Google | iOS Client ID, Android Client ID |
| Apple | iOS Bundle ID |

![Social Login plugin configuration in App Studio with credential fields for Facebook, Google, and Apple](https://mintcdn.com/median-co/dZQPJ_0wlG7WNBTy/images/docs/16a8d24058aa316ab249cc212efeb7a2a776c7acfaba90bad8cc2d5e346bfe8c-Screenshot_2025-12-10_at_14.38.41.png?fit=max\&auto=format\&n=dZQPJ_0wlG7WNBTy\&q=85\&s=7b9b40bf0c46a2f5063533d18b4c2113)

Social Login plugin configuration

### Step 3: Update your website for native social login

Integrate the Median JavaScript Bridge so your website can trigger native login flows.

The Social Login plugin includes a set of images you can use as buttons to trigger the JavaScript Bridge functions that launch each of the native SDKs (SVG and high-resolution @2x and @3x PNG formats are available). See the [website configuration guide](https://docs.median.co/docs/social-login-website-configuration.md).

![Example sign-in button images for Facebook, Google, and Apple](https://mintcdn.com/median-co/yvThAkXSLqPa6nzP/images/docs/f8fb0ba-gonative-sign-in-logo-pack.png?fit=max\&auto=format\&n=yvThAkXSLqPa6nzP\&q=85\&s=8f7256cccec236baef10c70da2d48b70)

Social login example logos

### Step 4: Rebuild your app and test

After configuration, rebuild your app and test sign-in for each identity provider.

Preview social login in your app during development: [load our demo page](https://median.dev/social-login/).

This demo page includes test buttons for all three providers so you can verify your configuration works before integrating with your website.

## Implementation guides

Update your website and server configuration to integrate with the Social Login plugin:

> [card] [Website configuration](https://docs.median.co/docs/social-login-website-configuration.md)
>
> Implement JavaScript Bridge functions in your website to trigger native
> authentication flows from your mobile app.

> [card] [Server-side redirects](https://docs.median.co/docs/social-login-server-side-redirects.md)
>
> Configure server-side redirect handling to properly manage authentication
> callbacks and token exchanges.

> [card] [JavaScript callbacks](https://docs.median.co/docs/social-login-javascript-callbacks.md)
>
> Handle authentication responses and user data returned from native SDKs
> through JavaScript callback functions.


## Related topics

- [Social share overview](https://docs.median.co/docs/social-share.md)
- [Using Social Login in your Shopify store's mobile app](https://docs.median.co/docs/using-social-login-in-the-mobile-app-of-your-shopify-store.md)
- [Publishing guide](https://docs.median.co/docs/publishing-guide.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.