# Login via Social Media

## Guiding Video

{% embed url="<https://youtu.be/rVN_Yj7KDWk?t=286>" %}

![](/files/-McT-jtZN3F67MNvNtYf)

![](/files/-McT-jtZN3F67MNvNtYf)

## Allow Login with Google

Go to `Display Setting`​​![sau đó](https://lh3.googleusercontent.com/3_l97rr0GvhSP2XV5OoCkV2ZDTIisAOczrSdzNCBxhIKWrjXjHucxNwocghoUa39gw=w36-h36) `Authentication` ​![sau đó](https://lh3.googleusercontent.com/3_l97rr0GvhSP2XV5OoCkV2ZDTIisAOczrSdzNCBxhIKWrjXjHucxNwocghoUa39gw=w36-h36) `Login with Social Media`, and choose the option `Allow Authentication with Google`.

![](/files/-McT83io6O8bS2cLQHhq)

{% hint style="warning" %}
Remember to click `Update` to save the change.
{% endhint %}

![](/files/-McT9fQyr8rVK9zGISW3)

However, **Login with Google** will not work until the administrator fills in the `Google Client ID` and `Secret Code` fields. The administrator needs to set up a project in **Google Cloud Platform** to make the authentication work properly. Please visit the following guide:

{% content-ref url="/pages/-McTg\_5EuB-k0jr\_0XBS" %}
[Set up a project in Google Cloud Platform](/english/system-setting/authentication/sign-in-via-social-media/set-up-a-project-in-google-cloud-platform.md)
{% endcontent-ref %}

After the **Google Cloud Platform** setup, the administrator will copy the **Your Client ID** and **Your Client Secret** of your project to the `Google Client ID` and `Secret Code` fields ![sau đó](https://lh3.googleusercontent.com/3_l97rr0GvhSP2XV5OoCkV2ZDTIisAOczrSdzNCBxhIKWrjXjHucxNwocghoUa39gw=w36-h36)`Update` to save the change.

![](/files/-McYFuz3fGGautFxhz2b)

If you have already created a project in Google Cloud Platform, you can go to `Credentials`![sau đó](https://lh3.googleusercontent.com/3_l97rr0GvhSP2XV5OoCkV2ZDTIisAOczrSdzNCBxhIKWrjXjHucxNwocghoUa39gw=w36-h36)`OAuth 2.0 Client IDs`, and select a project in this section.

![](/files/-McYGQbXdPZw1WoaeO4v)

![](/files/-McYGUvUw2LL52lyejS3)

## Allow Login with Facebook

Go to `Display Setting`​​![sau đó](https://lh3.googleusercontent.com/3_l97rr0GvhSP2XV5OoCkV2ZDTIisAOczrSdzNCBxhIKWrjXjHucxNwocghoUa39gw=w36-h36) `Authentication` ​![sau đó](https://lh3.googleusercontent.com/3_l97rr0GvhSP2XV5OoCkV2ZDTIisAOczrSdzNCBxhIKWrjXjHucxNwocghoUa39gw=w36-h36) `Login with Social Media`, and choose the option `Allow Authentication with Facebook`.

![](/files/-McT7z2qlYDnqWTt7jq6)

{% hint style="warning" %}
Remember to click `Update` to save the change.
{% endhint %}

![](/files/-McT9sJe20edfgQTni35)

However, **Login with Facebook** will not work until the administrator fills in the `Facebook App ID` and `Secret Code` fields. The administrator needs to set up an app in **Facebook for Developers** to make the authentication work properly. Please visit the following guide:

{% content-ref url="/pages/-McTBmXZfeM1E0dZLflA" %}
[Set up an app in Facebook for Developers](/english/system-setting/authentication/sign-in-via-social-media/set-up-an-app-in-facebook-for-developers.md)
{% endcontent-ref %}

After the **Facebook for Developers** setup, the administrator will copy the **App ID** and **App Secret** of your app to the `Facebook Client ID` and `Secret Code` fields ![sau đó](https://lh3.googleusercontent.com/3_l97rr0GvhSP2XV5OoCkV2ZDTIisAOczrSdzNCBxhIKWrjXjHucxNwocghoUa39gw=w36-h36)`Update` to save the change.

![](/files/-McTcR4dzfB7VrkmZGAp)


---

# 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.hoola.vn/english/system-setting/authentication/sign-in-via-social-media.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.
