-
Notifications
You must be signed in to change notification settings - Fork 621
Add support for service-to-service API key authentication #6764
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
Add support for service-to-service API key authentication #6764
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: 483376d 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 |
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6764 +/- ##
=======================================
Coverage 55.16% 55.16%
=======================================
Files 896 896
Lines 56910 56910
Branches 3938 3938
=======================================
Hits 31396 31396
Misses 25419 25419
Partials 95 95
🚀 New features to boost your workflow:
|
size-limit report 📦
|
fd4e718 to
9d18dd7
Compare
9d18dd7 to
483376d
Compare

Add support for service-to-service API key authentication
This PR adds support for service-to-service API key authentication by:
x-service-api-keyheaderThis enhancement enables secure communication between different thirdweb services while maintaining proper authorization controls.
PR-Codex overview
This PR adds support for service-to-service API key authentication in the
service-utilspackage, enhancing the authorization process by allowing clients to use an incoming service API key alongside traditional methods.Detailed summary
incomingServiceApiKeyandincomingServiceApiKeyHashto various data structures.authorizeClientfunction to handle incoming service API key for authorization.