Skip to content

Chore: adapter for thirdweb http client#7180

Merged
popuz merged 12 commits into
devfrom
chore/otp-email/adapter-for-thirdweb-http-client
Feb 23, 2026
Merged

Chore: adapter for thirdweb http client#7180
popuz merged 12 commits into
devfrom
chore/otp-email/adapter-for-thirdweb-http-client

Conversation

@popuz

@popuz popuz commented Feb 20, 2026

Copy link
Copy Markdown
Collaborator

Pull Request Description

Fix #6995
web3 test-scene

What does this PR change?

This PR replaces ThirdWeb http client with our own based on the WebRequestController. Main class to review is DclThirdwebHttpClient.cs.

Additionally it

  • adds timeout for auto-login
  • handle auto-login for the edge case when user enters with cached ThirdWeb identity but feature-flag for this feature is disabled
  • added cancelations for ThirdWeb async methods

Test Instructions

Test Auth 1

smoke test on OTP login flow

  • normal otp login flow (happy path)
  • login/logout, changing accounts
  • auto-login for both OTP and Dapp accounts

Test Auth 2

  • login with OTP
  • close APP
  • open APP with disabled "alfa-email-otp-auth" feature flag
  • verify it takes you to new dapp login

Test meta-transactions

  • test gifting
  • test donations - 9,49 in zone (you will need MANA on Sepolia to donate)

Additional Testing Notes

  • Note any edge cases to verify
  • Mention specific areas that need careful testing
  • List known limitations or potential issues

Quality Checklist

  • Changes have been tested locally
  • Documentation has been updated (if required)
  • Performance impact has been considered
  • For SDK features: Test scene is included

Code Review Reference

Please review our Code Review Standards before submitting.

@popuz popuz self-assigned this Feb 20, 2026
@popuz
popuz requested review from a team as code owners February 20, 2026 10:45
@github-actions
github-actions Bot requested review from DafGreco, NickKhalow and mikhail-dcl and removed request for DafGreco February 20, 2026 10:45
@github-actions

github-actions Bot commented Feb 20, 2026

Copy link
Copy Markdown
Contributor

@balducciv

balducciv commented Feb 20, 2026

Copy link
Copy Markdown

PR reviewed and approved by QA on both platforms following instructions. ✅
Smoke test for this PR was performed on Windows and Mac to verify that the normal flow is working as expected ✅

Test Auth 1

  • normal otp login flow (happy path)
  • login/logout, changing accounts
  • auto-login for both OTP and Dapp accounts

Other flows:

  • sign up with new account flow
  • auto login Metamask
  • autologin Google account

Gift

  • send gift

Donations

  • donations (zone at 9,49)

Note that the test case Auth 2 has been skipped because the ff cannot be turned off. More info here

Windows

test.2.mp4
send.gift.windows.mp4
donations.windows.mp4

Mac

donations.mac.mp4
send.gift.mac.mp4

@mikhail-dcl mikhail-dcl left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overlook looks good, but something in that timeout path doesn't look right

@popuz
popuz merged commit ee5d3be into dev Feb 23, 2026
10 of 11 checks passed
@popuz
popuz deleted the chore/otp-email/adapter-for-thirdweb-http-client branch February 23, 2026 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TECH DEBT] OTP-email Authentication | Replace ThirdWeb HttpClient by adapter via our WebRequestController

3 participants