Skip to main content

Setup

1

Get credentials

Go to the LINE Developers Console and create a provider and channel. Choose LINE Login as the channel type. Add your redirect URI:
2

Configure

lib/kavach.ts

Scopes

Default scopes: openid, profile, email
The email scope requires an additional approval step in the LINE Developer Console. You must agree to the LINE Login email permission terms and submit for review.

Endpoints

Last modified on April 29, 2026