-
Notifications
You must be signed in to change notification settings - Fork 619
chore: don't override auth token / client id when hitting in app wall… #4974
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: don't override auth token / client id when hitting in app wall… #4974
Conversation
🦋 Changeset detectedLatest commit: 6a4b776 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
Merge activity
|
size-limit report 📦
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4974 +/- ##
=======================================
Coverage 47.66% 47.67%
=======================================
Files 1057 1057
Lines 57267 57277 +10
Branches 3939 3940 +1
=======================================
+ Hits 27299 27307 +8
- Misses 29277 29279 +2
Partials 691 691
*This pull request uses carry forward flags. Click here to find out more.
|
#4974) …et url ## Problem solved Short description of the bug fixed or feature added <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on enhancing the `thirdweb` dashboard by allowing account linking and improving the authorization logic in the `fetch.ts` file. ### Detailed summary - Updated the authorization check in `fetch.ts` to exclude URLs from in-app wallets when sending the `authToken`. - Introduced a new function `isInAppWalletUrl(url: string): boolean` to determine if a URL is from an in-app or embedded wallet. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
a7c31de to
6a4b776
Compare
…et url
Problem solved
Short description of the bug fixed or feature added
PR-Codex overview
This PR focuses on enhancing the authentication logic in the
thirdwebdashboard by allowing account linking and preventing the use of auth tokens in specific URLs.Detailed summary
authTokeninfetch.tsto include a check forisInAppWalletUrl.isInAppWalletUrlto identify URLs related to in-app wallets based on their hostname.