This WEB app using Line login system and print out Line profile information after successfull login
- Line login flow and explanation
- How to get profile information
- Profile information payload explanation
| Name | Default | Explanation |
|---|---|---|
CHANNEL_ID |
Must be set | Line App channel id |
CHANNEL_SECRET |
Must be set | Line App channel secret |
CALLBACK_URL |
http://localhost:8080/callback |
Callback URL for your web service (also redirect URL) |
LINE_LOGIN_URL |
https://access.line.me/oauth2/v2.1/authorize |
URL to redirect user request to Line login page |
AUTH_TOKEN_URL |
https://api.line.me/oauth2/v2.1/token |
URL to get token to be able get profile data |
LINE_PROFILE_URL |
https://api.line.me/oauth2/v2.1/verify |
URL to get user profile data |
SCOPE |
openid |
Determines what profile data allowed to be taken |
APP_SECRET |
random UUID | Application secret key to be able generate sessions |