Let's lift up your LIFF apps 🏋️
Feature collections to realize your creativity.
- authorizer with OAuth provided by LINE Corp
cd /your/working/dir
npm install @classmethod/lifft-up
// or
yarn add @classmethod/lifft-up
Authentication by IDToken.
import * as lifftUp from '@classmethod/lifft-up'
(async () => {
// https://developers.line.biz/en/reference/liff/#get-id-token
const idToken = <your id token>
// Specify Liff Channel ID.
const clientId = <your liff channel id>
// The IDToken payload will be returned.
const payload = await lifftUp.authorizer(idToken, clientId)
})()