# Single Sign On (SSO)

## SSO Configurations

For the purposes of this demo we will walk through setting up Google's single sign on. You can do this with any of the following by visiting their site and following their specific instructions:

* Google (demonstrated below)
* Linkedin
* Apple
* Facebook
* Meta

### Configuring Google SSO for the Platform

{% hint style="warning" %}
To enable Google Single Sign-On (SSO) for your platform instance, an admin must complete the following steps.
{% endhint %}

#### Prerequisites

1. **Admin access** – You must be logged in as a platform administrator.
2. **Google account** – Ensure you have a Google account to access Google Cloud.
3. **Google Cloud project** – You need a project in the [Google Cloud Console](https://console.cloud.google.com/).
   * Follow Google’s guide on creating a project if you do not already have one.
   * You will need to create credentials for OAuth 2.0 to obtain a **Client ID**. Refer to Google’s OAuth documentation for detailed instructions.
     * <https://developers.google.com/identity/protocols/oauth2>

{% hint style="danger" %}
Google documentation and steps are subject to change.
{% endhint %}

<figure><img src="/files/P9hPRtHFN6GIlksgOKzL" alt=""><figcaption></figcaption></figure>

#### Platform Configuration

1. Navigate to **Platform Config / Login Requirements** in the admin interface.
2. Navigate to Configure Platform on the left side under Admin
   1. **Check** "Google" as your authentication method.

<figure><img src="/files/VBSfj0Kmct6O2ibcc8XC" alt=""><figcaption></figcaption></figure>

Enter the following details for Google:

* **Google Client ID** – Copy this from your Google Cloud project’s OAuth credentials.
* **Login Service Domain** – The domain used for your Google SSO login, read-only.
* **Click** "Save" to apply the changes.

<figure><img src="/files/02BBpP9PmrWkY9vQ45P4" alt=""><figcaption></figcaption></figure>

Once saved, your platform will use Google SSO for user authentication. Users will be redirected to Google to log in.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.motar.com/motar-core-services/intro-to-core-services/admin/configuration/single-sign-on-sso.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
