File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,10 @@ const createHandler = (params: CreateHandlerParams): ILoginHandler => {
39
39
case AUTH_CONNECTION . LINE :
40
40
case AUTH_CONNECTION . CUSTOM :
41
41
case AUTH_CONNECTION . REDDIT :
42
+ case AUTH_CONNECTION . WECHAT :
43
+ case AUTH_CONNECTION . KAKAO :
44
+ case AUTH_CONNECTION . FARCASTER :
45
+ case AUTH_CONNECTION . AUTHENTICATOR :
42
46
if ( id_token || access_token ) {
43
47
return new MockLoginHandler ( params ) ;
44
48
}
Original file line number Diff line number Diff line change @@ -14,9 +14,13 @@ export const AUTH_CONNECTION = {
14
14
LINE : "line" ,
15
15
EMAIL_PASSWORDLESS : "email_passwordless" ,
16
16
SMS_PASSWORDLESS : "sms_passwordless" ,
17
+ KAKAO : "kakao" ,
18
+ WECHAT : "wechat" ,
19
+ FARCASTER : "farcaster" ,
17
20
// end - byoa
18
21
CUSTOM : "custom" ,
19
22
PASSKEYS : "passkeys" ,
23
+ AUTHENTICATOR : "authenticator" ,
20
24
} as const ;
21
25
22
26
export const UX_MODE = {
Original file line number Diff line number Diff line change @@ -66,13 +66,17 @@ export const getUserId = (
66
66
switch ( authConnection ) {
67
67
case AUTH_CONNECTION . EMAIL_PASSWORDLESS :
68
68
case AUTH_CONNECTION . SMS_PASSWORDLESS :
69
+ case AUTH_CONNECTION . AUTHENTICATOR :
69
70
return caseSensitiveField ( name , isUserIdCaseSensitive ) ;
70
71
case AUTH_CONNECTION . WEIBO :
71
72
case AUTH_CONNECTION . GITHUB :
72
73
case AUTH_CONNECTION . TWITTER :
73
74
case AUTH_CONNECTION . APPLE :
74
75
case AUTH_CONNECTION . LINKEDIN :
75
76
case AUTH_CONNECTION . LINE :
77
+ case AUTH_CONNECTION . WECHAT :
78
+ case AUTH_CONNECTION . KAKAO :
79
+ case AUTH_CONNECTION . FARCASTER :
76
80
case AUTH_CONNECTION . CUSTOM :
77
81
return caseSensitiveField ( sub , isUserIdCaseSensitive ) ;
78
82
default :
You can’t perform that action at this time.
0 commit comments