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.96k stars 447 forks source link

feat(console): add unknown session fallback URI field #6786

Closed simeng-li closed 2 weeks ago

simeng-li commented 2 weeks ago

Summary

Add unknown session fallback URI field to the application details page, Only visible to: Traditional web app and SPA applications.

image

Testing

test locally

Checklist

github-actions[bot] commented 2 weeks ago

COMPARE TO master

Total Size Diff :chart_with_downwards_trend: -6.51 KB

Diff by File |Name|Diff| |---|---| |packages/cli/src/commands/database/seed/tables.ts|:chart_with_downwards_trend: -307 Bytes| |packages/console/src/containers/TenantAccess/index.tsx|:chart_with_downwards_trend: -488 Bytes| |packages/console/src/contexts/SubscriptionDataProvider/index.tsx|:chart_with_downwards_trend: -135 Bytes| |packages/console/src/contexts/TenantsProvider.tsx|:chart_with_downwards_trend: -300 Bytes| |packages/console/src/pages/ApplicationDetails/ApplicationDetailsContent/Settings.tsx|:chart_with_downwards_trend: -996 Bytes| |packages/console/src/pages/ApplicationDetails/ApplicationDetailsContent/utils.ts|:chart_with_downwards_trend: -220 Bytes| |packages/core/src/__mocks__/index.ts|:chart_with_downwards_trend: -70 Bytes| |packages/core/src/middleware/koa-spa-session-guard.test.ts|:chart_with_downwards_trend: -813 Bytes| |packages/core/src/middleware/koa-spa-session-guard.ts|:chart_with_downwards_trend: -990 Bytes| |packages/core/src/oidc/utils.ts|:chart_with_downwards_trend: -74 Bytes| |packages/core/src/queries/account-center.ts|:chart_with_downwards_trend: -745 Bytes| |packages/core/src/routes/account-center/index.openapi.json|:chart_with_downwards_trend: -1.2 KB| |packages/core/src/routes/account-center/index.ts|:chart_with_downwards_trend: -1.28 KB| |packages/core/src/routes/applications/application.ts|:chart_with_downwards_trend: -1.26 KB| |packages/core/src/routes/applications/types.ts|:chart_with_downwards_trend: -528 Bytes| |packages/core/src/routes/experience/classes/verifications/social-verification.ts|:chart_with_downwards_trend: -1 Bytes| |packages/core/src/routes/init.ts|:chart_with_downwards_trend: -162 Bytes| |packages/core/src/routes/profile/index.ts|:chart_with_downwards_trend: -1.91 KB| |packages/core/src/routes/profile/middlewares/koa-account-center.ts|:chart_with_downwards_trend: -1.02 KB| |packages/core/src/routes/profile/utils/get-scoped-profile.ts|:chart_with_downwards_trend: -1.22 KB| |packages/core/src/routes/swagger/utils/documents.ts|:chart_with_downwards_trend: -76 Bytes| |packages/core/src/routes/types.ts|:chart_with_downwards_trend: -127 Bytes| |packages/core/src/routes/well-known/well-known.openapi.ts|:chart_with_downwards_trend: -12 Bytes| |packages/core/src/tenants/Queries.ts|:chart_with_downwards_trend: -125 Bytes| |packages/integration-tests/src/api/account-center.ts|:chart_with_downwards_trend: -1.3 KB| |packages/integration-tests/src/tests/api/account-center.test.ts|:chart_with_downwards_trend: -872 Bytes| |packages/integration-tests/src/tests/api/application/application.unknown-session-fallback-uri.test.ts|:chart_with_downwards_trend: -4.38 KB| |packages/integration-tests/src/tests/api/profile/account-center-reject.test.ts|:chart_with_downwards_trend: -3.44 KB| |packages/integration-tests/src/tests/api/profile/email-and-phone.test.ts|:chart_with_downwards_trend: -131 Bytes| |packages/integration-tests/src/tests/api/profile/index.test.ts|:chart_with_downwards_trend: -117 Bytes| |packages/integration-tests/src/tests/api/profile/social.test.ts|:chart_with_downwards_trend: -117 Bytes| |packages/integration-tests/src/utils.ts|:chart_with_downwards_trend: -55 Bytes| |packages/phrases/src/locales/en/errors/account-center.ts|:chart_with_downwards_trend: -172 Bytes| |packages/phrases/src/locales/en/errors/application.ts|:chart_with_downwards_trend: -244 Bytes| |packages/phrases/src/locales/en/errors/index.ts|:chart_with_downwards_trend: -68 Bytes| |packages/phrases/src/locales/en/translation/admin-console/application-details.ts|:chart_with_downwards_trend: -284 Bytes| |packages/schemas/alterations/next-1731037123-add-unknown-session-fallback-uri-column-to-application-table.ts|:chart_with_downwards_trend: -476 Bytes| |packages/schemas/alterations/next-1731054001-init-account-center.ts|:chart_with_downwards_trend: -705 Bytes| |packages/schemas/src/foundations/jsonb-types/account-center.ts|:chart_with_downwards_trend: -969 Bytes| |packages/schemas/src/seeds/account-center.ts|:chart_with_downwards_trend: -272 Bytes| |packages/schemas/src/seeds/application.ts|:chart_with_downwards_trend: -35 Bytes| |packages/schemas/tables/applications.sql|:chart_with_downwards_trend: -37 Bytes|