diff --git a/.changeset/blue-rivers-own.md b/.changeset/blue-rivers-own.md new file mode 100644 index 00000000000..aa6ffecf829 --- /dev/null +++ b/.changeset/blue-rivers-own.md @@ -0,0 +1,5 @@ +--- +"thirdweb": patch +--- + +Simplify in-app wallet login flow diff --git a/packages/thirdweb/src/wallets/in-app/web/lib/auth/iframe-auth.ts b/packages/thirdweb/src/wallets/in-app/web/lib/auth/iframe-auth.ts index d7d09c7abc8..f7af0d84d84 100644 --- a/packages/thirdweb/src/wallets/in-app/web/lib/auth/iframe-auth.ts +++ b/packages/thirdweb/src/wallets/in-app/web/lib/auth/iframe-auth.ts @@ -321,13 +321,6 @@ export class Auth { * @internal */ async logout(): Promise { - if (this.AuthQuerier) { - await this.AuthQuerier.call({ - procedureName: "logout", - params: undefined, - }); - } - const isRemoveAuthCookie = await this.localStorage.removeAuthCookie(); const isRemoveUserId = await this.localStorage.removeWalletUserId();