Skip to main content

To obtain the Channel ID/Channel Secret required for the login for LINE integration

Updated today

Channel IDs and Channel Secrets, which are required for LINE integration with Jicoo, can be created by following the steps below.

  1. Register an official LINE account

  2. Create a Messaging API for Jicoo integration

  3. Create a LINE Login Channel for Jicoo integration

When creating a Messaging API, a Channel ID and Channel Secret will be created for the LINE Connections friend registration settings. Also, by creating a LINE Login Channel, a Channel ID and Channel Secret will be created to be entered in the LINE Connections login settings.

Registering an Official LINE Account

An official LINE account is required to link Jicoo and LINE. If you do not have one, please click here to register a new official LINE account.

*Image reference: LINE for Business

How to create a Messaging API for Jicoo integration

By creating a MessagingAPI, a “Channel ID” and “Channel Secret” will be created for input into the friend registration settings for LINE integration.

In order to create a Messaging API, you need to activate the use of Messaging API from the LINE Official Account Manager. To activate the use of Messaging API, please follow the steps below.

  1. Log in to LINE Official Account Manager with your LINE Official Account.

  2. Click on the appropriate account name

  3. On the LINE Official Account Manager home, click “Settings” in the upper right corner of the page

  4. Click “Messaging API” from the settings menu on the left side of the page

  5. Click on “Enable Messaging API"

  6. Enter register developer info, and click "Agree"

  7. Check Register developer info and click "OK"

  8. Enter provider name and click "Agree"

  9. Check provider name and click "OK"

  10. Provider is created and Messaging API is available
    *WebhookURL is not currently used by JIcoo, so entering it will have no effect. This may change in the future with the addition of new features.

  11. Enter the Messaging API “Channel ID” and “Channel secret” in Jicoo's LINE Settings > Friend Registration Settings “Channel ID” and “Channel secret

How to create a LINE login channel for Jicoo integration

By creating a LINE Login channel, a “Channel ID” and “Channel Secret” will be created for you to enter in the login settings for LINE integration.

To create a LINE Login Channel, please follow the steps below.

  1. *Image reference: LINE Developers

  2. Click on the provider you created in step 8 of how to create a Messaging API for Jicoo integration

    *Image reference: LINE Developers

  3. Click “Create New Channel”.

    *Image reference: LINE Developers

  4. Click on “LINE Login” from the channel type

    *Image reference: LINE Developers

  5. Enter the “Company or owner's country or region,” “Channel name,” “Channel description,” and “App types,” then click the “Create” button.

    *Image reference: LINE Developers

  6. On the provider's page, click on the channel for LINE Login that you created

    *Image reference: LINE Developers

  7. Copy the “Channel ID” and “Channel Secret” for the Jicoo linkage and enter them on the Jicoo page. In addition, the status of the channel for LINE login will be changed from “Developing” to “Published”.

    *Image reference: LINE Developers

  8. Then set up the official LINE account linked with the Add Friends option.

    *Image reference: LINE Developers

  9. If you wish to obtain the guest's email address when logging in to LINE, click on the “Authorization to Obtain Email Address” application. After agreeing to the application conditions, you will be required to upload a screenshot of the text that will be presented to the user regarding the acquisition and use of the email address.

  10. Next, check the channel settings and enter the callback URL.

    When using the LINE Login channel for web apps, the [App Type] and [Callback URL] must be set correctly.

    1. Click the [Basic Settings] tab and confirm that [Web App] is displayed in [App Types].

      *Image reference: LINE Developers

    2. Click the [LINE Login] tab and enter the callback URL https://api.jicoo.com/v1/integrations/line/auth

      *Image reference: LINE Developers

Troubleshooting

Seeing "400 Bad Request" or "Invalid redirect_uri value" errors with LINE Integration?

When you try to connect your service with LINE, you might sometimes see error messages like "400 Bad Request" or "Invalid redirect_uri value." This usually happens when there's a mismatch in the "return address" (URL) settings between your service and LINE.

Here’s how to check and fix this.

Why does this error occur?

This error occurs because after LINE verifies your information, the internet address (URL) where LINE should send you back doesn't match what LINE expects and what your service is set up to use.

What to check to resolve this

The main thing to check is whether the correct "Callback URL" is registered in the LINE Developers Console (LINE's settings screen for developers).

  1. Open the LINE Developers Console

    • Go to the LINE Developers Console.

      • (If you're unsure how to access this, please check with your service administrator.)

  2. Select the relevant "Channel"

    • Choose the "LINE Login" channel you are using for the integration.

  3. Check and set the "Callback URL"

    • In the channel settings, find an item called "Callback URL."

    • Please set the following URL here.

      https://api.jicoo.com/v1/integrations/line/auth

Other Points

  • Exact URL match is crucial: The "return URL" that your system tells LINE and the "Callback URL" you set in the LINE Developers Console must be an exact match, including capitalization.

  • Differences between environments: If you use different internet addresses (domains) for a testing environment and your live (production) environment, you'll need to set the correct Callback URL in the respective LINE Channel settings for each environment.


I can't register as a friend after logging in to LINE.

You need to set up an official LINE account linked with the Add Friends option.

Error message. {“data”: “Failed to get LINE channel access token”, “errors”:{}, ‘errorMessage’: “Internal Server Error”}

There is a discrepancy in the MessagingAPI/channel ID and MessagingAPI/channel secret settings.


I set the LINE Channel app type as “Native App” for Jicoo integration, but I cannot use it.

I cannot set the LINE integration settings with Jicoo if the app type is “Native App”.

If you wish to link Jicoo and LINE, you must select “Web App” as the app type only.

Jicoo's LINE login functionality is built upon a system that authenticates on the website (Web App). Therefore, the settings on the LINE side must also be registered as a “Web App” to match this mechanism, otherwise the authentication flow will not function properly.

What happens if I select “Native App”?

  • An error will occur during the integration process and the login to Jicoo will not be completed successfully.

  • Due to LINE specifications, once a channel is created as a “Native App”, it cannot be changed to a “Web App” later. In this case, you will need to re-create a new channel with the correct settings (“Web App” only).

Therefore, please be sure to check “Web App” only when configuring.



​In the LINE Settings, the “Email Address” checkbox is checked for the information to be retrieved, but the email address is not retrieved when the guest logs in to LINE.

The possible cause is that the permission to retrieve email addresses is “Not Applied” in the LINE channel.

In order to obtain the guest's email address when they log in to LINE, the following two settings must be made.

  • LINE Settings > Information to collect “Email address” is checked

  • “Authorization to retrieve email address” for the channel has been applied for in the console of LINE Developers.

    *Image reference: LINE Developers


To apply for “Email address acquisition authority” for a channel in the console of LINE Developers:

You can apply for “Email address acquisition authority” for a channel by following the steps below.

  1. Click on a channel that is linked to Jicoo

    *Image reference: LINE Developers

  2. Scroll through the channel basic settings and click the “Apply” button for the email address acquisition authority.

    *Image reference: LINE Developers

  3. Upload a screenshot of the portion of the application in which the user is notified, expressly informed, and consents to the acquisition/use of his/her email address upon agreement to the terms and conditions of the application.

    *Image reference: LINE Developers

Did this answer your question?