circle-exclamation
This documentation is currently under development. Certain sections are not yet complete and will be added shortly.

LINE Sign-in configuration

Configure LINE Login and connect it to The Wallet Crew social sign-in.

Use this when you want to enable the LINE button in an enrolment form.

Line-Social-Sign-In-Example
Connect with Line in an enrolment form example

Start with Social sign-in to understand the user flow. Then come back here for the provider setup.

Prerequisites

  • Access to your LINE Developers Console.

  • Permission to create and manage channels.

  • The list of domains where your enrolment forms will run (prod + staging + dev + custom).

Create and configure the LINE channel

1

Create a provider and channel

Go to the LINE Developers Console

chevrons-rightLine Developer Console

  1. Select or create a Provider

  2. Click Create a new channel

2

Select LINE Login

Select LINE Login
  1. Choose LINE Login

  2. Select app type: Web app

  3. Fill the required information

  4. Create the channel

3

Enable Email permission (OpenID Connect)

Open your channel settings:

Enable Email permission (OpenID Connect)
  1. Go to the OpenID Connect section

  2. Enable Email address permission

This step is required if your enrolment flow depends on email.

4

Configure callback URLs

In the LINE Login tab:

Add a callback URL for each environment:

Important:

  • The full URL must match exactly

  • Include /auth/callback/line

  • Add prod + QA + dev + custom domains

Save your changes.

5

Configure LINE in The Wallet Crew

In The Wallet Crew backoffice:

SettingsAdvanced Configuration

Edit server/line.yml and set the channel values.

circle-exclamation
circle-info

You can find these values in:

LINE Developers Console → Your channel → Basic settings

6

Enable LINE on your enrolment form

Enable the provider in the enrolment form settings.

See Enrolment form.

If you manage sign-in buttons via layout YAML, add LINE to your signinOptions:

FAQ

chevron-rightWhich LINE channel type should I create for this setup?hashtag

Create a LINE Login channel with app type Web app.

That’s the channel type that supports the OAuth callback flow used by enrolment forms.

chevron-rightDo I need to enable “Email address permission” in OpenID Connect?hashtag

Enable it if your enrolment flow requires an email.

Without it, LINE may not return an email for the user.

chevron-rightWhat callback URLs do I need to add?hashtag

Add one callback URL per environment.

The URL must match exactly and must include /auth/callback/line.

Use the patterns listed above for prod, QA, dev, and any custom domain.

chevron-rightWhere do I find the LINE clientId and secret?hashtag

In the LINE Developers Console:

Your channel → Basic settings.

Copy the Channel ID into authentication.clientId and the Channel secret into authentication.secret.

chevron-rightHow do I actually show the LINE button on the enrolment form?hashtag

Enable the provider in your enrolment form settings.

If you manage buttons via layout YAML, add - type: line under signinOptions.providers.

Last updated