@@ -29,6 +29,9 @@ type AuthMethod =
2929 | "telegram"
3030 | "farcaster"
3131 | "github"
32+ | "line"
33+ | "tiktok"
34+ | "epic"
3235 | "passkey"
3336 | "wallet"
3437 | "guest"
@@ -55,6 +58,9 @@ const authMethods: { id: AuthMethod; label: string; description: string }[] = [
5558 { id : "telegram" , label : "Telegram" , description : "Telegram OAuth" } ,
5659 { id : "farcaster" , label : "Farcaster" , description : "Farcaster OAuth" } ,
5760 { id : "github" , label : "GitHub" , description : "GitHub OAuth" } ,
61+ { id : "line" , label : "Line" , description : "Line OAuth" } ,
62+ { id : "tiktok" , label : "TikTok" , description : "TikTok OAuth" } ,
63+ { id : "epic" , label : "Epic Games" , description : "Epic Games OAuth" } ,
5864 { id : "passkey" , label : "Passkey" , description : "WebAuthn passkey" } ,
5965 {
6066 id : "wallet" ,
@@ -244,6 +250,9 @@ const account = await wallet.connect({
244250 case "telegram" :
245251 case "farcaster" :
246252 case "github" :
253+ case "line" :
254+ case "tiktok" :
255+ case "epic" :
247256 return (
248257 baseSetup +
249258 `// ${ authMethod . charAt ( 0 ) . toUpperCase ( ) + authMethod . slice ( 1 ) } OAuth
@@ -561,6 +570,9 @@ function PrebuiltUIExample() {
561570 case "telegram" :
562571 case "farcaster" :
563572 case "github" :
573+ case "line" :
574+ case "tiktok" :
575+ case "epic" :
564576 return (
565577 baseSetup +
566578 ` await wallet.connect({\n client,\n strategy: "${ authMethod } ",\n });\n` +
@@ -639,7 +651,10 @@ var address = await wallet.LoginWithOtp("123456");`
639651 case "x" :
640652 case "telegram" :
641653 case "farcaster" :
642- case "github" : {
654+ case "github" :
655+ case "line" :
656+ case "tiktok" :
657+ case "epic" : {
643658 const providerMap : Record < string , string > = {
644659 google : "Google" ,
645660 apple : "Apple" ,
@@ -649,6 +664,9 @@ var address = await wallet.LoginWithOtp("123456");`
649664 telegram : "Telegram" ,
650665 farcaster : "Farcaster" ,
651666 github : "Github" ,
667+ line : "Line" ,
668+ tiktok : "TikTok" ,
669+ epic : "Epic" ,
652670 } ;
653671 return (
654672 baseSetup +
@@ -746,7 +764,10 @@ var wallet = await ThirdwebManager.Instance.ConnectWallet(options);`
746764 case "x" :
747765 case "telegram" :
748766 case "farcaster" :
749- case "github" : {
767+ case "github" :
768+ case "line" :
769+ case "tiktok" :
770+ case "epic" : {
750771 const providerMap : Record < string , string > = {
751772 google : "Google" ,
752773 apple : "Apple" ,
@@ -756,6 +777,9 @@ var wallet = await ThirdwebManager.Instance.ConnectWallet(options);`
756777 telegram : "Telegram" ,
757778 farcaster : "Farcaster" ,
758779 github : "Github" ,
780+ line : "Line" ,
781+ tiktok : "TikTok" ,
782+ epic : "Epic" ,
759783 } ;
760784 return (
761785 baseSetup +
0 commit comments