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.94k stars 446 forks source link

feat(core): redirect to redirect url from sie on session not found #6798

Closed simeng-li closed 1 week ago

simeng-li commented 1 week ago

Summary

Read and redirect users to the unknownSessioniRedirectUrl from sie settings on session not found.

Testing

test locally

Checklist

github-actions[bot] commented 1 week ago

COMPARE TO master

Total Size Diff :chart_with_upwards_trend: +3.03 KB

Diff by File |Name|Diff| |---|---| |packages/console/src/pages/SignInExperience/PageContent/SignUpAndSignIn/AdvancedOptions/index.tsx|:chart_with_upwards_trend: +1.03 KB| |packages/console/src/pages/SignInExperience/PageContent/utils/parser.ts|:chart_with_upwards_trend: +22 Bytes| |packages/core/src/middleware/koa-spa-session-guard.test.ts|:chart_with_upwards_trend: +875 Bytes| |packages/core/src/middleware/koa-spa-session-guard.ts|:chart_with_upwards_trend: +624 Bytes| |packages/phrases/src/locales/en/translation/admin-console/sign-in-exp/sign-up-and-sign-in.ts|:chart_with_upwards_trend: +577 Bytes|