> For the complete documentation index, see [llms.txt](https://docs.thewalletcrew.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thewalletcrew.io/guides-enrolment/enrolment/enrolment-form/social-sign-in/line-sign-in.md).

# LINE sign-in

Configure LINE Login and connect it to The Wallet Crew social sign-in.

Use this page to enable the **LINE** button in an enrolment form. Read [Social sign-in](https://docs.thewalletcrew.io/guides-enrolment/enrolment/enrolment-form/social-sign-in.md) first for the customer flow, the [hosts to allow](https://docs.thewalletcrew.io/guides-enrolment/enrolment/enrolment-form/social-sign-in.md#hosts-to-allow) and the way to [enable a provider on the form](https://docs.thewalletcrew.io/guides-enrolment/enrolment/enrolment-form/social-sign-in.md#enable-a-provider-on-the-form).

<div data-with-frame="true"><figure><img src="https://831874859-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFokgwgJiwLXu7G8MVSJ%2Fuploads%2FrnwcyjXmmVCc5Ox8KaxD%2FLine-Social-Sign-In.png?alt=media&#x26;token=9bd59ac9-ced4-4396-b440-c6c8a0d88f7f" alt="Enrolment form with a LINE sign-in button" width="375"><figcaption><p>Connect with LINE in an enrolment form example</p></figcaption></figure></div>

## What is set up here

* A LINE channel with the LINE Login product enabled, in the brand's **LINE Developers Console** (permission to create and manage channels is required).
* A **callback URL** for each host that serves the enrolment form.
* The **Channel ID** stored in the **Client ID** field of the admin console.

## Create the LINE channel

{% stepper %}
{% step %}

### Create a provider and channel

Go to the LINE Developers Console

<p align="center"><a href="https://developers.line.biz/console" class="button secondary" data-icon="chevrons-right">LINE Developers Console</a></p>

1. Select or create a **Provider**
2. Click **Create a new channel**
   {% endstep %}

{% step %}

### Select LINE Login

<figure><img src="https://831874859-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFokgwgJiwLXu7G8MVSJ%2Fuploads%2FzRtoLAjl87ZrBdPXNnCb%2Fenroll-line-sign-select-line-login.png?alt=media&#x26;token=2cada1fc-c6d9-4e6e-89e7-7de19ad347ae" alt="Channel type selection in the LINE Developers Console"><figcaption><p>Check that LINE Login is selected before creating the channel.</p></figcaption></figure>

1. Choose **LINE Login**
2. Select app type: **Web app**
3. Fill the required information
4. Create the channel
   {% endstep %}

{% step %}

### Enable Email permission (OpenID Connect)

Open the channel settings:

<figure><img src="https://831874859-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFokgwgJiwLXu7G8MVSJ%2Fuploads%2F3cSWPlMSPFzx6MYS7OLN%2Fenroll-line-sign-enable-email-permission-openid-connect.png?alt=media&#x26;token=a21eaf0d-6e73-416a-a023-7747931ce29b" alt="OpenID Connect section of a LINE Login channel"><figcaption><p>Check that email address permission is applied for and granted.</p></figcaption></figure>

1. Go to the **OpenID Connect** section
2. Enable **Email address permission**

This step is required when the enrolment flow depends on email.
{% endstep %}

{% step %}

### Configure callback URLs

In the **LINE Login** tab:

Add one callback URL per host listed in [Hosts to allow](https://docs.thewalletcrew.io/guides-enrolment/enrolment/enrolment-form/social-sign-in.md#hosts-to-allow). The URL must match exactly and end with `/auth/callback/line`. The prefix `neostore` is the platform's former name and is kept in technical identifiers.

```http
https://app.thewalletcrew.io/auth/callback/line
https://app-qa.thewalletcrew.io/auth/callback/line
https://<your-custom-domain>/auth/callback/line
```

Save the changes.
{% endstep %}

{% step %}

### Publish the channel

In the top-left corner, click **Developing**.

<figure><img src="https://831874859-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFokgwgJiwLXu7G8MVSJ%2Fuploads%2Fgit-blob-b12db1b67cbe38229ef0d3548d8d85c445cc7aed%2Fline-developers-channel-basic-settings.png?alt=media" alt="Channel status control in the LINE Developers Console"><figcaption><p>Check that the channel status moves from Developing to Published.</p></figcaption></figure>

Then click **Publish** to make the channel available for production use.
{% endstep %}
{% endstepper %}

## Configure LINE in The Wallet Crew

In the admin console, open **Settings → Enrollment → Social sign in → LINE**.

<p align="center"><a href="https://admin.thewalletcrew.io/tenant/~/settings/social-sign-in/line" class="button secondary" data-icon="chevrons-right">Social sign in → LINE</a></p>

<div data-with-frame="true"><figure><img src="https://831874859-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFokgwgJiwLXu7G8MVSJ%2Fuploads%2Fgit-blob-da4bcd74ae408838006ee41b7060a26344f246da%2Fsocial-sign-in-line-settings-single-frame.png?alt=media" alt="LINE tab of the Social sign in settings in the admin console"><figcaption><p>LINE configuration screen</p></figcaption></figure></div>

Paste the LINE **Channel ID** (the channel → **Basic settings**) into the **Client ID** field. No channel secret is needed. After saving, check that:

* The LINE channel is the same one used for the callback URLs.
* The saved value matches the **Channel ID** exactly.

## Enable LINE on the enrolment form

Add the provider to the form as described in [Enable a provider on the form](https://docs.thewalletcrew.io/guides-enrolment/enrolment/enrolment-form/social-sign-in.md#enable-a-provider-on-the-form), with `type: line` and no `displayProps`.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.thewalletcrew.io/guides-enrolment/enrolment/enrolment-form/social-sign-in/line-sign-in.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
