# Line

### Supported Login Packages

Line 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>Flutter</td><td><a href="../../widget-integration/flutter-sdk/login-library">wepin_flutter_login_lib</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%2FdIUoMzknJb6S4iNng9q1%2Fimage.png?alt=media&#x26;token=be01c67d-3842-47d4-9eee-8bea2bd4539c" alt=""><figcaption></figcaption></figure>

3. After verifying the information in the [Line Developers](https://developers.line.biz/console/), enter the **Channel ID** and **Channel 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%2FF7etcQrWjkgPy1CWahU4%2Fimage.png?alt=media&#x26;token=5f463b87-ac51-4f82-b907-afb921a5ef8c" alt=""><figcaption></figcaption></figure>

4. Once all the required information is entered and the Redirect URL is generated, refer to [Line APIs](https://developers.line.biz/en/docs/line-login/integrate-line-login/#setting-callback-url) to register the Redirect URL with the OAuth Provider.


---

# 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.wepin.io/en/login/social-login-auth-providers/line.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.
