feat: add inline hooks quota support#9078
Open
Conversation
COMPARE TO
|
| Name | Diff |
|---|---|
| .changeset/curly-bikes-travel.md | 📉 -141 Bytes |
| .changeset/jwt-customizer-organization-context.md | 📉 -925 Bytes |
| .changeset/release-passkey-account-center-access-control.md | 📉 -338 Bytes |
| packages/account/src/pages/Security/PasskeySection/index.test.tsx | 📉 -96 Bytes |
| packages/account/src/pages/Security/index.passkey.test.tsx | 📉 -96 Bytes |
| packages/account/src/utils/security-page.passkey.test.ts | 📉 -96 Bytes |
| packages/account/src/utils/security-page.test.ts | 📉 -1 Bytes |
| packages/account/src/utils/security-page.ts | 📉 -83 Bytes |
| packages/console/package.json | 0 Bytes |
| packages/console/scripts/generate-jwt-customizer-type-definition.ts | 📉 -403 Bytes |
| packages/console/src/components/BasicWebhookForm/index.tsx | 📉 -256 Bytes |
| packages/console/src/consts/plan-quotas.ts | 📉 -126 Bytes |
| packages/console/src/consts/quota-item-phrases.ts | 📉 -222 Bytes |
| packages/console/src/consts/tenants.ts | 📉 -146 Bytes |
| packages/console/src/pages/CustomizeJwtDetails/MainContent/SettingsSection/InstructionTab/GuideCard/index.tsx | 📉 -42 Bytes |
| packages/console/src/pages/CustomizeJwtDetails/MainContent/SettingsSection/InstructionTab/index.tsx | 📉 -795 Bytes |
| packages/console/src/pages/CustomizeJwtDetails/utils/config.tsx | 📉 -1.15 KB |
| packages/console/src/pages/CustomizeJwtDetails/utils/type-definitions.ts | 📉 -339 Bytes |
| packages/console/src/pages/SignInExperience/PageContent/AccountCenter/constants.ts | 📉 -124 Bytes |
| packages/console/src/pages/SignInExperience/PageContent/AccountCenter/index.tsx | 📉 -77 Bytes |
| packages/console/src/pages/SignInExperience/PageContent/index.tsx | 📉 -175 Bytes |
| packages/console/src/pages/SignInExperience/types.test.ts | 📉 -1.92 KB |
| packages/console/src/pages/SignInExperience/types.ts | 📉 -222 Bytes |
| packages/console/src/pages/TenantSettings/Subscription/DowngradeConfirmModalContent/PlanQuotaDiffCard/PlanQuotaList/DiffQuotaItem/SkuQuotaItemPhrase.tsx | 📉 -96 Bytes |
| packages/console/src/pages/TenantSettings/components/NotEligibleSwitchPlanModalContent/index.tsx | 📉 -101 Bytes |
| packages/console/src/types/skus.ts | 📉 -5 Bytes |
| packages/core/package.json | 0 Bytes |
| packages/core/src/mocks/cloud-connection.ts | 📉 -29 Bytes |
| packages/core/src/libraries/jwt-customizer.ts | 📉 -742 Bytes |
| packages/core/src/middleware/koa-serve-custom-ui-assets.test.ts | 📉 -2.17 KB |
| packages/core/src/middleware/koa-serve-custom-ui-assets.ts | 📉 -602 Bytes |
| packages/core/src/oidc/extra-token-claims.test.ts | 📉 -1.39 KB |
| packages/core/src/oidc/extra-token-claims.ts | 📉 -822 Bytes |
| packages/core/src/queries/tenant-usage/types.ts | 📉 -48 Bytes |
| packages/core/src/routes/account/mfa-verifications.test.ts | 📉 -2.21 KB |
| packages/core/src/routes/account/mfa-verifications.ts | 📉 -298 Bytes |
| packages/core/src/routes/experience/verification-routes/verification-code-helpers.test.ts | 📉 -1.97 KB |
| packages/core/src/routes/experience/verification-routes/verification-code-helpers.ts | 📉 -288 Bytes |
| packages/core/src/utils/storage/azure-storage.test.ts | 📉 -2.09 KB |
| packages/core/src/utils/storage/azure-storage.ts | 📉 -1.2 KB |
| packages/core/src/utils/subscription/types.ts | 📉 -26 Bytes |
| packages/integration-tests/src/tests/api/experience-api/verifications/verification-code.suppress-delivery.test.ts | 📉 -1.46 KB |
| packages/phrases/src/locales/ar/errors/storage.ts | 📉 -72 Bytes |
| packages/phrases/src/locales/ar/translation/admin-console/jwt-claims.ts | 📉 -258 Bytes |
| packages/phrases/src/locales/de/errors/storage.ts | 📉 -72 Bytes |
| packages/phrases/src/locales/de/translation/admin-console/jwt-claims.ts | 📉 -249 Bytes |
| packages/phrases/src/locales/en/errors/storage.ts | 📉 -72 Bytes |
| packages/phrases/src/locales/en/translation/admin-console/jwt-claims.ts | 📉 -210 Bytes |
| packages/phrases/src/locales/es/errors/storage.ts | 📉 -72 Bytes |
| packages/phrases/src/locales/es/translation/admin-console/jwt-claims.ts | 📉 -256 Bytes |
| packages/phrases/src/locales/fa-ir/errors/storage.ts | 📉 -72 Bytes |
| packages/phrases/src/locales/fa-ir/translation/admin-console/jwt-claims.ts | 📉 -295 Bytes |
| packages/phrases/src/locales/fr/errors/storage.ts | 📉 -72 Bytes |
| packages/phrases/src/locales/fr/translation/admin-console/jwt-claims.ts | 📉 -257 Bytes |
| packages/phrases/src/locales/it/errors/storage.ts | 📉 -72 Bytes |
| packages/phrases/src/locales/it/translation/admin-console/jwt-claims.ts | 📉 -263 Bytes |
| packages/phrases/src/locales/ja/errors/storage.ts | 📉 -72 Bytes |
| packages/phrases/src/locales/ja/translation/admin-console/jwt-claims.ts | 📉 -243 Bytes |
| packages/phrases/src/locales/ko/errors/storage.ts | 📉 -72 Bytes |
| packages/phrases/src/locales/ko/translation/admin-console/jwt-claims.ts | 📉 -236 Bytes |
| packages/phrases/src/locales/pl-pl/errors/storage.ts | 📉 -72 Bytes |
| packages/phrases/src/locales/pl-pl/translation/admin-console/jwt-claims.ts | 📉 -233 Bytes |
| packages/phrases/src/locales/pt-br/errors/storage.ts | 📉 -72 Bytes |
| packages/phrases/src/locales/pt-br/translation/admin-console/jwt-claims.ts | 📉 -251 Bytes |
| packages/phrases/src/locales/pt-pt/errors/storage.ts | 📉 -72 Bytes |
| packages/phrases/src/locales/pt-pt/translation/admin-console/jwt-claims.ts | 📉 -255 Bytes |
| packages/phrases/src/locales/ru/errors/storage.ts | 📉 -72 Bytes |
| packages/phrases/src/locales/ru/translation/admin-console/jwt-claims.ts | 📉 -358 Bytes |
| packages/phrases/src/locales/th/errors/storage.ts | 📉 -72 Bytes |
| packages/phrases/src/locales/th/translation/admin-console/jwt-claims.ts | 📉 -389 Bytes |
| packages/phrases/src/locales/tr-tr/errors/storage.ts | 📉 -72 Bytes |
| packages/phrases/src/locales/tr-tr/translation/admin-console/jwt-claims.ts | 📉 -235 Bytes |
| packages/phrases/src/locales/zh-cn/errors/storage.ts | 📉 -72 Bytes |
| packages/phrases/src/locales/zh-cn/translation/admin-console/jwt-claims.ts | 📉 -172 Bytes |
| packages/phrases/src/locales/zh-hk/errors/storage.ts | 📉 -72 Bytes |
| packages/phrases/src/locales/zh-hk/translation/admin-console/jwt-claims.ts | 📉 -172 Bytes |
| packages/phrases/src/locales/zh-tw/errors/storage.ts | 📉 -72 Bytes |
| packages/phrases/src/locales/zh-tw/translation/admin-console/jwt-claims.ts | 📉 -172 Bytes |
| packages/schemas/src/types/logto-config/index.test.ts | 📉 -1.2 KB |
| packages/schemas/src/types/logto-config/index.ts | 📉 -683 Bytes |
| packages/schemas/src/types/logto-config/inline-hook.ts | 📉 -1.9 KB |
| packages/schemas/src/types/logto-config/jwt-customizer.ts | 📉 -679 Bytes |
| pnpm-lock.yaml | 📉 -217 Bytes |
6881986 to
0ea9051
Compare
045b209 to
00e09a2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Completes Logto-side support for the
inlineHooksEnabledsubscription quota key.This PR keeps
inlineHooksEnabledon the boolean feature-quota path: Core and Console treat older Cloud responses asfalsewhen the key is absent, Console includes the key in subscription usage/quota types, and the default Console development SKU keeps inline hooks disabled. The rollout plan is still selected-enterprise-only: only selected enterprise SKUs should be manually enabled, and everyone else stays disabled.The SKU quota item is intentionally hidden from the Console plan quota UI for now, with an inline comment noting that it should wait until further testing before being opened.
It is intentionally not added to add-on/reportable usage reporting.
Cloud companion PR: logto-io/cloud#1956.
Testing
Tested locally