Enabling Customer Login with LINE Account
In addition to email registration, SHOPLINE allows customers to quickly sign up for or log in to your store using their LINE accounts. This convenient login feature, powered by LINE, enhances the user experience by offering a faster and more familiar sign-in option for LINE users.
To enable LINE login for your store, you'll first need to obtain a Channel ID and Channel Secret from the LINE Developers platform. These credentials are required to configure the LINE login feature in your SHOPLINE admin panel.
Follow this guide to learn how to create and configure your LINE channel for seamless integration with your SHOPLINE store.
Note: Settings on LINE Developers may change over time due to platform updates. If you encounter any issues during the setup process, please contact SHOPLINE Support for assistance. |
Obtaining LINE Channel ID and Channel Secret
This section guides you through the process of creating a LINE Login channel and retrieving the Channel ID and Channel Secret required to integrate LINE Login with your SHOPLINE store.
Step 1: Log in to LINE Developers Console
-
Go to LINE Developers and click Log in to Console in the upper-right corner.
-
Choose Log in with LINE account or Log in with business account. Then, enter your login credentials and click Log in. If you do not have an account yet, click Create an account to register.
Step 2: Create a LINE Login Channel
-
Click Create a new provider. In the pop-up window, enter shopline (in lowercase) in the Provider name field and click Create.
-
Under the Channels tab, select Create a LINE Login channel.
- Fill in the basic channel information, which will be visible to customers when they register via LINE:
-
- Select the service provision region and company region.
- Upload a channel icon. You can use your store logo.
- Enter the channel name and description.
- Configure the login settings:
-
- App types: Check both WEB app and Mobile app.
- Require two-factor authentication: Enable this option to enhance account security.
-
Provide your email address to receive important updates about your channel. Optionally, enter your store's Privacy policy URL and Terms of use URL.
-
Check I agree to the LINE Developers Agreement, then click Create.
Step 3: Request Email Address Permission
-
In the Channels tab, locate the channel you just created and click on it to review its details.
-
On the channel page, go to Basic settings, scroll down to the OpenID Connect section, and click Apply next to Email address permission.
- In the expanded configuration section:
-
- Check both options under Request for email permission.
- Upload a screenshot of your store's privacy policy notice, which informs customers about the use of their email addresses.
-
Click Submit. The Email consent status will update to Applied.
Notes: - If the status is Unapplied, customers will not be able to register or log in to your store using their LINE accounts.
- If the status is Applied but some customers still see error messages when registering or logging in, their LINE accounts may not be linked to an email address. In that case, ask customers to bind an email address in their LINE account settings.
Step 4: Configure the Callback URL
-
Go to the LINE Login tab, enable Use LINE Login in your web app, and click Edit next to Callback URL.
-
Paste the appropriate Callback URL from your SHOPLINE store into the field and click Update. Replace xxx with your actual store URL. You can refer to your store's homepage URL.
-
- For a free SHOPLINE domain: https://xxx.shopline.com/user/signIn
- For a custom domain: https://www.xxx.com/user/signIn
Step 5: Publish Channel and Retrieve Credentials
-
To the right of your channel's name, click Developing, then click Publish in the pop-up window. The status will update to Published.
-
Finally, go back to Basic settings to copy the Channel ID and Channel Secret.
- Return to your SHOPLINE admin panel and follow the instructions in the next section to complete the configuration.
Enabling Login with LINE in the Admin Panel
Steps in SHOPLINE Admin
-
In your SHOPLINE admin panel, go to Settings > Customer account.
-
Under the Sign in through third-party accounts section, find the Line login option and click link.
-
In the pop-up window, enter the copied Channel ID and Channel Secret, then click Save.
You've now completed the setup. Proceed to test the login feature on your storefront.
Testing LINE Login
Visit your store's sign-up/login page, click the LINE sign-Up/login icon, and attempt to log in for testing. If the setup is correct, customers will be prompted to log in to their LINE accounts and grant authorization to access your app (the app name and icon will be displayed).
Note: LINE accounts are region-specific. If your LINE account and your customer's LINE account are registered in different regions, the LINE login button may not appear, and login attempts may fail. Click here to contact LINE support for assistance. |