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.5k stars 419 forks source link

refactor(core): fork client credentials grant #6093

Closed gao-sun closed 3 months ago

gao-sun commented 3 months ago

Summary

fork client credentials grant to prepare for granting organization tokens to m2m apps

Testing

no business change. ci should be good.

Checklist

github-actions[bot] commented 3 months ago

COMPARE TO master

Total Size Diff :chart_with_upwards_trend: +5.52 KB

Diff by File |Name|Diff| |---|---| |packages/core/src/include.d/oidc-provider/lib-keep/shared/check_resource.d.ts|:chart_with_upwards_trend: +367 Bytes| |packages/core/src/oidc/grants/client-credentials.ts|:chart_with_upwards_trend: +5 KB| |packages/core/src/oidc/grants/index.ts|:chart_with_upwards_trend: +276 Bytes| |packages/core/src/oidc/grants/refresh-token.ts|:chart_with_upwards_trend: +112 Bytes|