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(schemas,core): add unknown session redirect url to sie #6796

Closed simeng-li closed 1 week ago

simeng-li commented 1 week ago

Summary

Add unknown session redirect URL config to sie settings.

Once set, user will be redirect to this fallback URL when access Logto sign-in page without a valid session.

Testing

Checklist

github-actions[bot] commented 1 week ago

COMPARE TO master

Total Size Diff :chart_with_upwards_trend: +2.6 KB

Diff by File |Name|Diff| |---|---| |packages/core/src/__mocks__/sign-in-experience.ts|:chart_with_upwards_trend: +35 Bytes| |packages/core/src/queries/sign-in-experience.test.ts|:chart_with_upwards_trend: +32 Bytes| |packages/core/src/routes/sign-in-experience/index.openapi.json|:chart_with_upwards_trend: +1.13 KB| |packages/core/src/routes/sign-in-experience/index.test.ts|:chart_with_upwards_trend: +627 Bytes| |packages/core/src/routes/sign-in-experience/index.ts|:chart_with_upwards_trend: +136 Bytes| |packages/experience-legacy/src/__mocks__/logto.tsx|:chart_with_upwards_trend: +70 Bytes| |packages/experience/src/__mocks__/logto.tsx|:chart_with_upwards_trend: +70 Bytes| |packages/schemas/alterations/next-1731377260-add-unknown-session-redirect-url-to-sie.ts|:chart_with_upwards_trend: +490 Bytes| |packages/schemas/tables/sign_in_experiences.sql|:chart_with_upwards_trend: +37 Bytes|