To enable customers to log into your store with their LINE IDs, you need to get a “LINE Client ID and Client Secret Key”. You can obtain the ID and key by registering as a developer and registering the channel in the 'LINE Developers Center'.
Learn more
How to get your LINE Client ID and Client Secret Key
- Go to the and click “Log in”. We recommend using the Chrome browser.
- If you already have an LINE account, log in with it. If you don't have a LINE account, please sign up and then log in.
- Create a LINE developer account (this is a one-time step upon first login). Enter your developer name and email, select agree to the LINE Developers Agreement, and click the “Create my account” button.
- On the screen that appears after logging in, click the “Create New provider” button.
- When the “Create a new provider” window opens, enter a “Provider name” and click the “Create” button.
- In the next step, select “Channels (tab)Create a LINE Login channel”.
- Fill in the necessary information to create the channel, agree to the terms of use, and then click the “Create” button. For “App types', please select “Web app”.
- When the created channel information screen is displayed, click the “LINE Login (tab)”, and then click the “Edit” button in the “Callback URL” section.
-
Enter the Callback URL according to the instructions below. Once you have finished, click the “Update” button.
Note - How to set 'Callback URL'
In the Callback URL field, you must enter the Callback URLs including all domain addresses of all cases in use. You must register both PC and mobile Callback URLs for the feature to work correctly on both PC and mobile stores.
If the Callback URL is not entered correctly, an error may occur when users try to log in with their LINE ID.
-
Callback URL format
http://domain/Api/Member/Oauth2ClientCallback/line/
Info - Example
If your domain is 'cafe24.com', the Callback URL entries are as follows.
If you have other secondary domains that use LINE login besides the examples, you must enter all of them. (Secondary domains: main domain, subdomains, mobile domains, multi-language store domains, etc.)If an SSL certificate is installed on your domain, you must also add the Callback URL that starts with https.
- http://cafe24.com/Api/Member/Oauth2ClientCallback/line/
- http://www.cafe24.com/Api/Member/Oauth2ClientCallback/line/
- http://m.cafe24.com/Api/Member/Oauth2ClientCallback/line/
-
Callback URL format
- Go to the “Basic settings” menu, and check your “Channel ID” and “Channel secret”.
- Click on “Developing” at the top of the tab menu to change the status to “Published”. The login integration will not work correctly if the status is “Developing”.
- Go to , and select “Use” for “LINE Login”. Enter your “Client ID (Channel ID)” and “Client secret (Channel secret)”, then click the “Save” button.