Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Thirdweb.Console/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@

#region InAppWallet - OAuth

// var inAppWalletOAuth = await InAppWallet.Create(client: client, authProvider: AuthProvider.Google);
// var inAppWalletOAuth = await InAppWallet.Create(client: client, authProvider: AuthProvider.Steam);
// if (!await inAppWalletOAuth.IsConnected())
// {
// _ = await inAppWalletOAuth.LoginWithOauth(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ public static async Task<EcosystemWallet> Create(
Thirdweb.AuthProvider.Coinbase => "Coinbase",
Thirdweb.AuthProvider.Github => "Github",
Thirdweb.AuthProvider.Twitch => "Twitch",
Thirdweb.AuthProvider.Steam => "Steam",
Thirdweb.AuthProvider.Default => string.IsNullOrEmpty(email) ? "Phone" : "Email",
_ => throw new ArgumentException("Invalid AuthProvider"),
};
Expand Down Expand Up @@ -415,6 +416,7 @@ public async Task<List<LinkedAccount>> LinkAccount(
case "Coinbase":
case "Github":
case "Twitch":
case "Steam":
serverRes = await ecosystemWallet.PreAuth_OAuth(isMobile ?? false, browserOpenAction, mobileRedirectScheme, browser).ConfigureAwait(false);
break;
default:
Expand Down
3 changes: 2 additions & 1 deletion Thirdweb/Thirdweb.Wallets/InAppWallet/InAppWallet.Types.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ public enum AuthProvider
X,
Coinbase,
Github,
Twitch
Twitch,
Steam
}

/// <summary>
Expand Down
Loading