This repo shows you how to connect Firebase Custom Auth with LINE LIFF.
We use Firebase Hosting to host the LIFF application, obviously.
You need to create a Firebase project with:
firebase functions:config:set liff.id=YOUR_LIFF_ID line.channel_id=YOUR_CHANNEL_ID
- Enable IAM API
- Because of Cloud Function's restriction, you need to enter billing info to enable external network access for LINE's APIs
Use following commands:
firebase init
firebase deploy
This project is derived from LINE's official line-liff-v2-starter project but with major rewrite to demo Firebase integration.