logto-io / logto

🧑‍🚀 The better identity infrastructure for developers and the open-source alternative to Auth0.
https://logto.io
Mozilla Public License 2.0
8.15k stars 395 forks source link

feat(core): add quota guard for subject tokens #6205

Closed wangsijie closed 1 month ago

wangsijie commented 1 month ago

Summary

Add quota guard to the API of create subject tokens.

Testing

Tested locally.

Checklist

github-actions[bot] commented 1 month ago

COMPARE TO master

Total Size Diff :chart_with_upwards_trend: +1.37 KB

Diff by File |Name|Diff| |---|---| |packages/core/package.json|0 Bytes| |packages/core/src/libraries/quota.ts|:chart_with_upwards_trend: +56 Bytes| |packages/core/src/routes/security/index.ts|:chart_with_upwards_trend: +174 Bytes| |pnpm-lock.yaml|:chart_with_upwards_trend: +1.14 KB|