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. Obtain 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

  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 obtain 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. Log in to the LINE Developers console

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

  3. Click on the account name you created in step 6 of how to create a Messaging API for Jicoo integration

  4. Enter the “Channel ID” and “Channel Secret” shown in the Basic Channel Settings into the “Channel ID” and “Channel Secret” fields in Jicoo's LINE Settings page > Login Settings

  5. 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.

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

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

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.

Did this answer your question?