-
Notifications
You must be signed in to change notification settings - Fork 403
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
allow passing null
to service scope, do not check domains on secretKey
auth
#5728
allow passing null
to service scope, do not check domains on secretKey
auth
#5728
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: a077023 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. |
cfb4506
to
3c8ddee
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5728 +/- ##
=======================================
Coverage 52.85% 52.85%
=======================================
Files 1098 1098
Lines 58976 58976
Branches 4788 4788
=======================================
Hits 31173 31173
Misses 27087 27087
Partials 716 716
*This pull request uses carry forward flags. Click here to find out more. |
3c8ddee
to
222f371
Compare
size-limit report 📦
|
Merge activity
|
…tKey` auth (#5728) fixes: DASH-621 <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on enhancing the authorization process by introducing an `authMethod` property and allowing `null` service scopes, while modifying billing statuses and service configuration types. ### Detailed summary - Added `authMethod` to `teamAndProjectResponse`. - Allowed passing `null` to `serviceScope` in `CoreServiceConfig`. - Changed `billingStatus` from `"noCustomer"` to `"noPayment"`. - Updated `TeamAndProjectResponse` to include `authMethod` type. - Adjusted authorization logic for `secretKey` and null service scopes. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
222f371
to
a077023
Compare
@@ -42,11 +45,11 @@ export type TeamResponse = { | |||
name: string; | |||
slug: string; | |||
image: string | null; | |||
billingPlan: string; | |||
billingPlan: "free" | "starter" | "growth" | "pro"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirming if you want pro or custom
fixes: DASH-621
PR-Codex overview
This PR introduces enhancements to the authorization process by allowing an
authMethod
to be passed, enabling flexibility in service scope validation, and updating billing status options. It also improves type definitions for better clarity on authorization methods.Detailed summary
authMethod
to theteamAndProjectResponse
.null
forserviceScope
inCoreServiceConfig
.billingStatus
options from"noCustomer"
to"noPayment"
.authorizeService
andclient
functions to handleauthMethod
.authMethod
inTeamAndProjectResponse
type.