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.69k stars 440 forks source link

feat(core): add Sentinel guard #6374

Closed simeng-li closed 3 months ago

simeng-li commented 3 months ago

Summary

Add Sentinel guard to the password and verification code verification flow

Testing

Test using the experience smoke test after migrating interaction API to experience API.

image

Checklist

github-actions[bot] commented 3 months ago

COMPARE TO master

Total Size Diff :chart_with_upwards_trend: +2.9 KB

Diff by File |Name|Diff| |---|---| |packages/core/src/routes/experience/classes/libraries/sentinel-guard.ts|:chart_with_upwards_trend: +2.03 KB| |packages/core/src/routes/experience/verification-routes/password-verification.ts|:chart_with_upwards_trend: +441 Bytes| |packages/core/src/routes/experience/verification-routes/verification-code.ts|:chart_with_upwards_trend: +452 Bytes|