Skip to content

5er9e1/line_login_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Line login example

OAuth v2.1 2022/04/08

This WEB app using Line login system and print out Line profile information after successfull login

Related links:

Environment variables

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

About

Example how to authorize user via Line login (OAuth2)

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors