File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,9 @@ TWITCH_SECRET=
30
30
TWITTER_ID=
31
31
TWITTER_SECRET=
32
32
33
+ LINE_ID=
34
+ LINE_SECRET=
35
+
33
36
# Example configuration for a Gmail account (will need SMTP enabled)
34
37
EMAIL_SERVER=smtps://user@gmail.com:password@smtp.gmail.com:465
35
38
EMAIL_FROM=user@gmail.com
Original file line number Diff line number Diff line change @@ -4,16 +4,15 @@ export default function LINE(options) {
4
4
id : "line" ,
5
5
name : "LINE" ,
6
6
type : "oauth" ,
7
- authorization :
8
- "https://access.line.me/oauth2/v2.1/authorize?scope=openid+profile" ,
9
- token : "https://api.line.me/oauth2/v2.1/token" ,
10
- userinfo : "https://api.line.me/v2/profile" ,
7
+ authorization : { params : { scope : "openid profile" } } ,
8
+ idToken : true ,
9
+ wellKnown : "https://access.line.me/.well-known/openid-configuration" ,
11
10
profile ( profile ) {
12
11
return {
13
- id : profile . userId ,
14
- name : profile . displayName ,
15
- email : null ,
16
- image : profile . pictureUrl ,
12
+ id : profile . sub ,
13
+ name : profile . name ,
14
+ email : profile . email ,
15
+ image : profile . picture ,
17
16
}
18
17
} ,
19
18
options,
You can’t perform that action at this time.
0 commit comments