Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): implement new experience API routes #5992

Merged
merged 16 commits into from
Jul 5, 2024

Conversation

simeng-li
Copy link
Contributor

@simeng-li simeng-li commented Jun 5, 2024

Summary

This PR initiates the new experience API routes

experience routes

  • Implement a new /experience API router for the new experience API implementation.
  • Add the password verification API /experience/verifications/password
  • Add the identification API /experience/identification
  • Add the interaction submit API /experience/submit to the new experience API router.

InteractionSession

The InteractionSession class is designed to manage the interaction for the experience API. It is a global singleton instance initiated by the koa-interaction-session middleware and appended to the experience API context.

  • interactionEvent: Represents the current interaction event the user is interacting with.
  • verificationRecords: Stores all the user-initiated verification records.
  • accountId: The account ID of the user interacting with the API, only available after the user has been identified by one of the verification records.
  • profile: The user newly provided profile data in the current interaction session.

Verification

The abstract class Verification is designed to be the base class for all the verification classes. It provides the basic structure for the verification classes to implement the verification logic.

  • id: The identifier of the verification record.
  • type: The type of the verification record.
  • isVerified: A getter to check if the verification record is verified.
  • verifiedUserId: A getter to get the verified user ID. Only available for the verification methods that can be used to identify the user.
  • toJson: A method to convert the verification record to a JSON object, so it can be stored as the interaction result.

PasswordVerification

A password verification instance. Verify the given identifier and password against the database.

Testing

integration test added

Checklist

  • .changeset
  • unit tests
  • integration tests
  • necessary TSDoc comments

@simeng-li simeng-li requested review from a team, wangsijie and charIeszhao and removed request for a team June 5, 2024 10:18
Copy link

github-actions bot commented Jun 5, 2024

COMPARE TO master

Total Size Diff ⚠️ 📈 +24.23 KB

Diff by File
Name Diff
packages/core/src/routes/experience/classes/experience-interaction.ts 📈 +6.03 KB
packages/core/src/routes/experience/classes/verifications/index.ts 📈 +1.06 KB
packages/core/src/routes/experience/classes/verifications/password-verification.ts 📈 +3.24 KB
packages/core/src/routes/experience/classes/verifications/verification-record.ts 📈 +525 Bytes
packages/core/src/routes/experience/const.ts 📈 +181 Bytes
packages/core/src/routes/experience/index.ts 📈 +2.35 KB
packages/core/src/routes/experience/middleware/koa-experience-interaction.ts 📈 +1.14 KB
packages/core/src/routes/experience/types.ts 📈 +123 Bytes
packages/core/src/routes/experience/utils.ts 📈 +587 Bytes
packages/core/src/routes/experience/verification-routes/password-verification.ts 📈 +1.43 KB
packages/core/src/routes/init.ts 📈 +254 Bytes
packages/core/src/routes/interaction/utils/interaction.ts 📈 +268 Bytes
packages/integration-tests/src/client/experience/const.ts 📈 +165 Bytes
packages/integration-tests/src/client/experience/index.ts 📈 +1.25 KB
packages/integration-tests/src/helpers/client.ts 📈 +414 Bytes
packages/integration-tests/src/helpers/experience/index.ts 📈 +812 Bytes
packages/integration-tests/src/tests/api/experience-api/sign-in-with-password-verification/happy-path.test.ts 📈 +1.18 KB
packages/integration-tests/src/tests/api/experience-api/verifications/password-verification.test.ts 📈 +1.13 KB
packages/phrases/src/locales/en/errors/session.ts 📈 +124 Bytes
packages/schemas/src/types/interactions.ts 📈 +2.06 KB

@github-actions github-actions bot added feature Cool stuff size/l labels Jun 5, 2024
@simeng-li simeng-li force-pushed the simeng-log-9035-core-interaction-class branch from 6ce1946 to 59403aa Compare June 6, 2024 02:19
@github-actions github-actions bot added size/xl and removed size/l labels Jun 6, 2024
@simeng-li simeng-li marked this pull request as ready for review June 6, 2024 08:34
@simeng-li simeng-li requested a review from gao-sun as a code owner June 6, 2024 08:34
@simeng-li simeng-li marked this pull request as draft June 21, 2024 05:38
@simeng-li simeng-li force-pushed the simeng-log-9035-core-interaction-class branch from 2e2b586 to 6971e1a Compare June 21, 2024 06:25
@simeng-li simeng-li marked this pull request as ready for review June 21, 2024 08:58
@simeng-li simeng-li changed the title feat(core): implement new interaction-session management flow feat(core): implement new experience API routes Jun 21, 2024
@simeng-li simeng-li force-pushed the simeng-log-9035-core-interaction-class branch from 6971e1a to 6e4faeb Compare June 21, 2024 09:11
Copy link
Member

@gao-sun gao-sun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hold until we aligned with the rfc

@simeng-li simeng-li force-pushed the simeng-log-9035-core-interaction-class branch 3 times, most recently from 98686da to 1d2b03a Compare July 1, 2024 02:44
@simeng-li simeng-li force-pushed the simeng-log-9035-core-interaction-class branch from 1d2b03a to faca9c0 Compare July 1, 2024 10:11
packages/schemas/src/types/interactions.ts Outdated Show resolved Hide resolved
packages/schemas/src/types/interactions.ts Outdated Show resolved Hide resolved
packages/schemas/src/types/interactions.ts Outdated Show resolved Hide resolved
packages/schemas/src/types/interactions.ts Outdated Show resolved Hide resolved
packages/schemas/src/types/interactions.ts Outdated Show resolved Hide resolved
simeng-li and others added 15 commits July 4, 2024 20:31
implement a new interaction-session management flow for experience api use
implement password sign-in flow
rename the password input value key
refactor the exerpience API structure
replace using devFeature test statement
refactor experience API implementations
replace object map with switch
 refactor the interaction class
@simeng-li simeng-li force-pushed the simeng-log-9035-core-interaction-class branch from e5c6c7b to 2b84af1 Compare July 4, 2024 12:33
Copy link
Member

@gao-sun gao-sun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome

update the user identification logic
@simeng-li simeng-li merged commit aec2cf4 into master Jul 5, 2024
33 checks passed
@simeng-li simeng-li deleted the simeng-log-9035-core-interaction-class branch July 5, 2024 03:02
peschina added a commit to ogcio/logto that referenced this pull request Jul 16, 2024
* feat(connector): add DingTalk web connector changeset (logto-io#5940)

* fix(console): avoid rendering outdated role options (logto-io#5953)

* refactor(console): remove redundant notification from m2m guide (logto-io#5954)

* feat(core,toolkit): add new sso_identities claim (logto-io#5955)

* feat(core,toolkit): add new sso_identities claim

add new sso_identities claim to the userinfo endpoint

* chore: update changeset

update changeset

* chore: update comments

update comments

* refactor(core): use findUserSsoIdentites query method in user library

use findUserSsoIdentites query method in user library

* refactor: improve user experience (logto-io#5958)

* feat(console): show version number for oss (logto-io#5950)

* refactor: remove service log fkey (logto-io#5959)

* refactor(console): improve onboarding data and subscription fetching (logto-io#5960)

* release: version packages (logto-io#5868)

* chore: launch us region (logto-io#5962)

* chore: update links (logto-io#5963)

* fix: use correct `disabled` logic for free plan (logto-io#5964)

fix: use correct disable logic for free plan

* fix(console): only show m2m role notification for m2m roles (logto-io#5957)

* refactor(console): make long text breakable in roles page (logto-io#5956)

* refactor(console): fix plausible hostname (logto-io#5968)

* chore(deps): update dependency @logto/cloud to v0.2.5-a7eedce (logto-io#5847)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat(console): implement account deletion (logto-io#5969)

* feat(console): implement account deletion

* refactor: remove unused phrases

* chore: add i18n phrases

* refactor: add comments and error handling

* fix(console): avoid skipping m2m role assignment after switching browser tabs (logto-io#5973)

* fix(core): profile avatar upload should not return 400 error (logto-io#5974)

* refactor(console,phrases): update rbac-related phrases (logto-io#5975)

* chore(schemas): add reserved plan ID for admin tenant (logto-io#5976)

* feat(core): report oidc exceptions to the appInsights (logto-io#5978)

report oidc exceptions to the appInsights

* refactor(console): click console logo should navigate to root page (logto-io#5981)

* fix(console): language switch should work on profile page (logto-io#5980)

* refactor(core): try to fix uncaught exception (logto-io#5982)

* refactor(console): use permanently delete (logto-io#5979)

* refactor(core): optimize redis error handling (logto-io#5965)

* chore(deps): update dependency @testing-library/react to v16 (logto-io#5984)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(connector): improve DingTalk web connector readme (logto-io#5977)

* feat: add dingtalk connector

* refactor(connector): optimize codes

* refactor(connector): optimize the logic of getting user phone

* docs(connector): add English configuration guide for DingTalk

* docs(connector): add table of contents

* docs(connector): optimize format

* chore(connector): update DingTalk web connector readme

* chore(connector): apply suggestions from code review

Co-authored-by: Darcy Ye <[email protected]>
Co-authored-by: Charles Zhao <[email protected]>

---------

Co-authored-by: aidenlu <[email protected]>
Co-authored-by: Darcy Ye <[email protected]>
Co-authored-by: Charles Zhao <[email protected]>

* chore(deps): update dependency i18next-browser-languagedetector to v8 (logto-io#5850)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: remove dev flags and add changeset for m2m guide feature (logto-io#5983)

* feat(console): add new feature content for m2m integration guide (logto-io#5947)

* refactor(console): always display role creation hint in role assignment modal (logto-io#5988)

* refactor(core,schemas): add user detail payload to User.Deleted webhook event (logto-io#5986)

* refactor(core,schemas): add user detail payload to User.Deleted DataHook event

add user detail data payload to the User.Deleted DataHook event

* fix(core): fix unit test

fix unit test

* refactor(console,phrases): update role assignment modal phrases (logto-io#5989)

* refactor(core): reorg organization routes

* refactor(core): reorg organization queries

* feat(schemas): init organization email domains table

* feat(core): organization email domains apis

* chore: add api docs

* refactor: fix tests

* feat(core): implement organization jit provisioning

* refactor(core): trigger organization membership updated hook from jit

* refactor: fix tests

* feat(console): implement organization jit ui

* feat(core,console): enable backchannel logout

* chore: add tests and changeset

* chore(console,core): launch organization jit

* feat(core,console): organization mfa requirement

* chore: add tests

* feat: automatic social account linking (logto-io#5881)

* feat: automatic social account linking

* chore: add integration tests

* chore: add changeset

* fix(core): prevent uncaught promise rejection (logto-io#6009)

* fix(core): prevent uncaught promise rejection

prevent uncaught promise rejection crashing the app

* refactor(core): remove inline await

remove inline await statement

* chore(core): update comment

update comment

* refactor(console): allow view and update `user.profile` in settings

* refactor: apply suggestions from code review

Co-authored-by: Charles Zhao <[email protected]>

* refactor(console): update jit styles

* feat(core,console): organization jit roles

* refactor: add organization jit role api tests

* chore: update changeset

* style(console): update tab item style in readme docs (logto-io#6013)

* refactor(console): imporve custom phrase fetch request error handling (logto-io#6015)

* refactor(console): improve webhook test request error handling (logto-io#6017)

* refactor: rename method

* feat(connector): google one tap

* feat(core): google one tap

* feat(experience): google one tap

* chore: add tests

* chore: add tests

* refactor(console): update spring boot api protection guide (logto-io#6018)

update spring boot api protection guide

* refactor(console,experience,test): decouple isDevFeatureEnabled with isIntegrationTest (logto-io#6012)

* refactor(console,experience,test): decouple isDevFeatureEnabled with isIntegrationTest

decouple isDevFeatureEnabled with isIntegrationTest ENV variables

* chore: update environment variable get method

update environment variable get method

* refactor(console): improve swr error handling that previously omitted (logto-io#6021)

* chore: add comments

* chore: add changeset (logto-io#6004)

* feat: add dev feature disabled test (logto-io#6014)

feat: implement dev feature disabled integration test

implement dev feature desiabled integration test

* chore: update README.md (logto-io#6038)

* refactor(console): show sso status in jit domains (logto-io#6040)

* feat(console): google one tap (logto-io#6034)

* test(core): implement sso related integration tests (logto-io#6041)

* test(core): implement sso related integration tests

implement sso related integration tests

* chore(core): remove unnecessary comments

remove unnecessary comments

* feat(console): add Ruby app guide

* chore(deps): update docker/build-push-action action to v6 (logto-io#6042)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(connector): update outdated links in connector readme (logto-io#6039)

* refactor(console): support non-svg logos

* feat(schemas): add `agree_to_terms_policy` for sie table (logto-io#6036)

* feat(console,phrases): support agree to terms policy configuration (logto-io#6037)

* feat(experience): support agree to terms policies (logto-io#6044)

* chore(console): update guide orders (logto-io#6047)

* feat(core): jit organization roles (logto-io#6049)

* refactor(core): update relation queries

* refactor: fix google one tap issues (logto-io#6054)

* chore(schemas): add legacy-pro tag to reserved plan ID (logto-io#6061)

* feat(core): init organization app apis

* refactor(core): reorg organization users api docs

* chore: skip tests if needed

* style(experience): add margin-bottom for terms checkbox on sign-in page (logto-io#6058)

* chore(test): reorg the sso connector api cleanup logic (logto-io#6053)

reorg the sso connector api cleanup logic

* docs(console): add the troubleshooting section in expo guide (logto-io#6052)

* docs(console): add the troubleshoot section in expo guide

add the troubleshoot section in expo integration guide

* chore: update the words

update the words

* feat(core): organization jit sso apis

* feat(core): init organization app role apis

* chore: rename legacy pro to grandfathered pro (logto-io#6076)

* refactor(console): update subscription plan ID (logto-io#6074)

* feat(core): organization jit sso

* feat(console): update jit config

* refactor: improve code, content, and styles

* chore(deps): update dependency buffer to v6 (logto-io#6060)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(core): add dev feature tag for openapi.json (logto-io#6025)

chore(core): add dev feature tag for openapi.json to indicate operation should not show up in swagger.json

* chore(deps): update ikalnytskyi/action-setup-postgres action to v6 (logto-io#5815)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(experience): apply agree to terms policy for sso (logto-io#6080)

* chore: update changeset (logto-io#6077)

* refactor(core): update naming and fix typos

* refactor(core): reorg organization routes

* fix: fix dev feature disabled integration tests

fix dev feature disabled integration tests

* feat(core): issue subject tokens (logto-io#6045)

* chore: update code owners (logto-io#6081)

* refactor(core): return roles in organization app get api

* feat: organization role types

* chore: fix tests

* feat(core): get application organizations api

* feat(core): update application organization role apis

* fix: change special character to fix root paramter naming issue

feat: add customParameters function for fixing tenantId error on `/api/.well-known/endpoints/{tenantId}`

* fix: update mocks and docstrings

* feat(console): show organization list for m2m apps

* refactor: filter whole supplement document if needed (logto-io#6085)

* refactor: update status code

* feat(console): m2m pages in organizations

* refactor: add changeset and improve code

* refactor(core): fork client credentials grant

* feat: support prompt config for some built-in connectors (logto-io#6023)

* feat: support prompt config for some built-in connectors

* chore: adopt code review suggestions

Co-authored-by: Gao Sun <[email protected]>

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor: refactor integration test ci job (logto-io#6095)

* fix: remove dev feature diff check

remove dev feature diff check

* refactor: refactor alteration integration test ci job

refactor alteration integration test ci job

* fix: fix the dev feature disbaled integration tests

fix the dev feature disabled integration tests

* fix: fix alteration-compatibility-test

fix alteration-compatibility-test

* feat(console,phrases): add issuer endpoint to application form (logto-io#6094)

* feat(console,phrases): add issuer endpoint to application form

add issuer endpoint to the application form

* chore: add changeset

add changeset

* fix(schemas): explicitly set search path (logto-io#6101)

* refactor(console): update role-related content and components (logto-io#6091)

* refactor(console): hide backchannel for m2m apps (logto-io#6075)

* refactor: add brief intro in swagger.json (logto-io#6102)

* fix: include `tenantId` and its root param in responses (logto-io#6092)

* fix: include tenantId and its root param in responses

* refactor: use shared object

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(experience,phrases): update resend passcode phrases (logto-io#6103)

* feat(core): add hasPassword field to custom JWT user context (logto-io#6096)

* refactor: handle potential errors during ky requests in koa-auth middleware (logto-io#6112)

* feat(core): issue organization token via client credentials (logto-io#6098)

* feat(core): issue organization token via client credentials

* refactor: fix tests

* refactor(console): upgrade mdx packages

* refactor(console): remove unused config

* chore: fix typo (logto-io#6110)

* refactor: update nuxt guide (logto-io#6114)

* refactor: update nuxt guide

* refactor: polish content

* refactor(console): update ruby guide (logto-io#6116)

* refactor(console): update ruby guide

* refactor(console): support further readings

* refactor(console): reorg docs

* refactor(console): update next guide (logto-io#6119)

* refactor(core): update grant comments (logto-io#6120)

* chore: update README.mdx (logto-io#6121)

Added a missing backtick that breaks layout

* refactor(console): update swift guide (logto-io#6123)

* refactor(console): polish ui (logto-io#6122)

* refactor(console): polish ui

* refactor: fix code editor title color

* refactor(console): use correct array for checking enterprise sso (logto-io#6135)

* refactor(console): use correct array for checking enterprise sso

* refactor(console): hide add connector button when no connector available

* refactor(console): fix sso connector check conditions in the organization jit section

* refactor(console): update styles

* refactor(console): update express guide (logto-io#6124)

* refactor(console): polish android guide (logto-io#6131)

* ci: refactor integration tests workflow

* ci: add spaces

* refactor(test): use secure random method in integration test util (logto-io#6139)

* refactor(console): update python and php guide (logto-io#6136)

* refactor(console): update python/php console guide

* refactor(console): improve php guide

* refactor(console): improve python guide

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): polish guides

* chore(console): remove unmaintained remix guide (logto-io#6137)

* refactor(console): update golang guide (logto-io#6134)

* refactor(console): update golang guide

* refactor: use imported uris for go docs

* refactor(console): fix switch styles (logto-io#6132)

* refactor(console): fix php guide (logto-io#6143)

* feat: demo app dev panel (logto-io#6105)

* docs(console): update the sveltekit guide (logto-io#6130)

* docs(console): update the sveltekit guide

update the sveltekit guide

* chore(console): reorg the display user section in svltekit

reorg the display user section in svltekit

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* chore: launch jit (logto-io#6127)

* chore: launch m2m app for organizations (logto-io#6129)

* chore: launch m2m app for organizations

* chore: add changeset

* chore: normalize Logto DB region role names for DB alteration CI (logto-io#6144)

* docs(console): update the expo SDK integration guide (logto-io#6126)

* docs(console): update the expo SDK integration guide

update the expo SDK integrtion guide

* chore(console): update rn guide section title

update rn guide section title

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* feat(core,schemas): token exchange grant (logto-io#6057)

* docs(console): update flutter intergration guide (logto-io#6125)

improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* fix(experience): add missing `agreeToTermsPolicy` deps (logto-io#6148)

* docs(console): update the capacitor integration guide (logto-io#6128)

* docs(console): update the capacitor integration guide

update the capacitor integration guide

* fix(console): reorg capacitor guide

reorg capacitor guide

* chore(console): update the section title

update the section title

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor: fix mermaid in production (logto-io#6149)

Use dynamic CDN import to use Mermaid as Parcel has issues on handling the
static import in production.

* ci: rerun integration tests on failure (logto-io#6141)

* docs(console): update the java spring guide (logto-io#6133)

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): add retry button on error (logto-io#6158)

* refactor(console): update vanilla js integration guide (logto-io#6156)

* refactor(console): update vanilla js integration guide

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): update react integration guide (logto-io#6151)

* refactor(console): update react integration guide

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): update vue integration guide (logto-io#6153)

* refactor(console): update vue integration guide

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): update angular integration guide (logto-io#6157)

* refactor(console): update angular integration guide

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): load mermaid in dev (logto-io#6155)

* feat(core): third-party applications are not allowed for token exchange (logto-io#6100)

* feat(core,schemas): token exchange grant

* feat(core): third-party applications are not allowed for token exchange

* refactor: update compare DB alteration scripts (logto-io#6152)

* refactor: update compare DB alteration scripts

* chore: add comments

* refactor: upgrade logto sdks (logto-io#6160)

* fix(console): fix broken api resource guides (logto-io#6161)

* feat(core): organization token for token exchange flow (logto-io#6106)

* feat(core,schemas): token exchange grant

* feat(core): third-party applications are not allowed for token exchange

* feat(core,schemas): token exchange grant

* feat(core): organization token for token exchange flow

* refactor(console): optimize api resource guides (logto-io#6162)

* fix(console): fix custom element swap in mdx (logto-io#6166)

* refactor(console): add aggregated npm installation component (logto-io#6159)

* refactor: update ci and package (logto-io#6167)

* refactor: update ci and package

* chore: fix tests

* fix(console): hide error toast for non-existed application in audit logs (logto-io#6168)

* fix(console): hide error toast for non-existed application in audit logs

* chore: add changeset

* feat: add `operationId` to HTTP methods on paths (logto-io#6108)

* feat: add operationId to HTTP methods on paths

* refactor(core): strictly handle routes for building operation id

* chore: add changeset

* refactor: reorg code

* refactor: use get as verb for singular items

---------

Co-authored-by: Gao Sun <[email protected]>

* feat(schemas): custom ui assets db update (logto-io#6010)

* fix(core): issue `organization_id` claim for client credentials (logto-io#6170)

* feat(core): handle oidc scopes for token exchange (logto-io#6147)

* feat(core,schemas): token exchange grant

* feat(core): third-party applications are not allowed for token exchange

* feat(core,schemas): token exchange grant

* feat(core): organization token for token exchange flow

* feat(core): handle oidc scopes for token exchange

* chore(deps): update dependency @rollup/plugin-commonjs to v26 (logto-io#5994)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* refactor(experience): rename `SingleSignOnContext` to `UserInteractionContext` (logto-io#6163)

* chore(deps): update logto-io/actions-run-logto-integration-tests action to v4 (logto-io#6176)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update logto-io/actions-package-logto-artifact action to v3 (logto-io#6175)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update silverhand-io/actions-node-pnpm-run-steps action to v5 (logto-io#6174)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* refactor(console): improve dotnet guides

* fix(console): fix page issues (logto-io#6181)

* refactor(console): check mermaid by integration test env (logto-io#6183)

* feat(core): implement new experience API routes (logto-io#5992)

* feat(core): implement new interaction-session management flow

implement a new interaction-session management flow for experience api use

* feat(core): implement password sign-in flow

implement password sign-in flow

* test(core,schemas): add sign-in password tests

add sign-in password tests

* chore(core): update comments

update comments

* refactor(core): rename the password input value key

rename the password input value key

* refactor(core,schemas): refactor the experience API

refactor the exerpience API structure

* chore(test): add devFeature test

add devFeature test

* refactor(core): rename the path

rename the path

* refactor(core,schemas): refactor using the latest API design

refactor using the latest API design

* chore(test): replace using devFeature test statement

replace using devFeature test statement

* fix(core): fix lint error

fix lint error

* refactor(core): refactor experience API implementations

refactor experience API implementations

* refactor(core): replace with switch

replace object map with switch

* refactor: apply suggestions from code review

* refactor(core): refactor the interaction class
 refactor the interaction class

* refactor(core): update the user identification logic

update the user identification logic

---------

Co-authored-by: Gao Sun <[email protected]>

* feat(core): implement verification code verification API (logto-io#6001)

* feat(core,schemas): implement the verification code flow

implement the verification code flow

* chore(core): fix rebase issue

fix rebase issue

* refactor(console): add chrome extension guide (logto-io#6178)

* feat(core,schemas): implement social verification experience API endpoints (logto-io#6150)

feat(core,schemas): implement the social verification flow

implement the social verificaiton flow

* release: version packages (logto-io#5987)

* chore: update dependencies

* chore: fix wrong conflict resolution

* fix: organization and role assignment to public servant

* chore: remove duplicate tab

---------

Co-authored-by: Darcy Ye <[email protected]>
Co-authored-by: Xiao Yijun <[email protected]>
Co-authored-by: simeng-li <[email protected]>
Co-authored-by: Gao Sun <[email protected]>
Co-authored-by: silverhand-bot <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charles Zhao <[email protected]>
Co-authored-by: aiden <[email protected]>
Co-authored-by: aidenlu <[email protected]>
Co-authored-by: wangsijie <[email protected]>
Co-authored-by: Mostafa Moradian <[email protected]>
Co-authored-by: ScreenCom User <[email protected]>
peschina added a commit to ogcio/logto that referenced this pull request Jul 17, 2024
* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

* fix(cli): fix logto pipeline (#40)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* feat: logto uat changes (#43)

* feat: logto uat changes

* Update pipeline-variables/uat.yml

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Sara Zanellato <[email protected]>

* Test migration command in Terraform (#48)

fix: remove seed commands from dockerfile

* 18630 seed real roles (#45)

* feat(cli): seed roles and permissions into db

* fix(cli): cleanup code

* chore(cli): small update

* chore(cli): refactoring roles

* chore(cli): refactoring organization roles

* chore(cli): update

* chore(cli): rename seeder file (#52)

* chore(cli): rename seeder file

* chore(cli): fix eof new line

* chore: use port 7001 instead of 5001 to avoid conflicts with forms (#56)

* fix(cli): remove secrets from local seeder (#59)

* feat(cli): seed is_third_party flag (#57)

* feat(cli): seed is_third_party flag

* fix(demo-app): trying to ignore the entire seeder local file from gitleaks

* Reverted .gitleaksignore change

---------

Co-authored-by: alfonsograziano <[email protected]>
Co-authored-by: Alfonso Graziano <[email protected]>

* feat(cli): seed multiple redurect uris (#58)

* Feature(ogcio): messaging integration (#60)

* feat(ogcio): added messaging permissions locally

* feat(core): updated seeder for deployments

* chore(core): added EOL

---------

Co-authored-by: Alfonso Graziano <[email protected]>

* Add MyGovId Mock service to Logto (#55)

* feat(demo-app): copied mock service from life events repo

* feat(demo-app): add mock users + fix build

* feat(demo-app): changed port to not clash with 3005 in life-events auth-service

* fix(demo-app): trying to ignore the entire seeder local file from gitleaks

* feat(cli): seeder updates already existing entries (#61)

* feat(cli): seeder updates already existing entries

* feat(cli): seeder file updated

* feat(cli): update

* feat(cli): documenting the seeders limitations

* feat(cli): updated documentation

* Deploy STA in DEV (#63)

* Align staging to dev (#37)

Add staging pipeline file (#36)

* add file

* fix

* Update staging (#39)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

---------

Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>

* fix(cli): fix seeder to handle empty data (#42)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* chore(cli): cleanup

* fix(cli): azure pipeline

* [17584] Deploy to staging (#47)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

* fix(cli): fix logto pipeline (#40)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* feat: logto uat changes (#43)

* feat: logto uat changes

* Update pipeline-variables/uat.yml

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>

* [18810] Deploy to staging (#50)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

* fix(cli): fix logto pipeline (#40)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* feat: logto uat changes (#43)

* feat: logto uat changes

* Update pipeline-variables/uat.yml

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Sara Zanellato <[email protected]>

* Test migration command in Terraform (#48)

fix: remove seed commands from dockerfile

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>

* [18630] Deploy renamed seeder to staging (#53)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

* fix(cli): fix logto pipeline (#40)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* feat: logto uat changes (#43)

* feat: logto uat changes

* Update pipeline-variables/uat.yml

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Sara Zanellato <[email protected]>

* Test migration command in Terraform (#48)

fix: remove seed commands from dockerfile

* 18630 seed real roles (#45)

* feat(cli): seed roles and permissions into db

* fix(cli): cleanup code

* chore(cli): small update

* chore(cli): refactoring roles

* chore(cli): refactoring organization roles

* chore(cli): update

* chore(cli): rename seeder file (#52)

* chore(cli): rename seeder file

* chore(cli): fix eof new line

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>

* 18941 Deploy dev into stage (#62)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

* fix(cli): fix logto pipeline (#40)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* feat: logto uat changes (#43)

* feat: logto uat changes

* Update pipeline-variables/uat.yml

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Sara Zanellato <[email protected]>

* Test migration command in Terraform (#48)

fix: remove seed commands from dockerfile

* 18630 seed real roles (#45)

* feat(cli): seed roles and permissions into db

* fix(cli): cleanup code

* chore(cli): small update

* chore(cli): refactoring roles

* chore(cli): refactoring organization roles

* chore(cli): update

* chore(cli): rename seeder file (#52)

* chore(cli): rename seeder file

* chore(cli): fix eof new line

* chore: use port 7001 instead of 5001 to avoid conflicts with forms (#56)

* fix(cli): remove secrets from local seeder (#59)

* feat(cli): seed is_third_party flag (#57)

* feat(cli): seed is_third_party flag

* fix(demo-app): trying to ignore the entire seeder local file from gitleaks

* Reverted .gitleaksignore change

---------

Co-authored-by: alfonsograziano <[email protected]>
Co-authored-by: Alfonso Graziano <[email protected]>

* feat(cli): seed multiple redurect uris (#58)

* Feature(ogcio): messaging integration (#60)

* feat(ogcio): added messaging permissions locally

* feat(core): updated seeder for deployments

* chore(core): added EOL

---------

Co-authored-by: Alfonso Graziano <[email protected]>

* Add MyGovId Mock service to Logto (#55)

* feat(demo-app): copied mock service from life events repo

* feat(demo-app): add mock users + fix build

* feat(demo-app): changed port to not clash with 3005 in life-events auth-service

* fix(demo-app): trying to ignore the entire seeder local file from gitleaks

* feat(cli): seeder updates already existing entries (#61)

* feat(cli): seeder updates already existing entries

* feat(cli): seeder file updated

* feat(cli): update

* feat(cli): documenting the seeders limitations

* feat(cli): updated documentation

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: William Monteiro <[email protected]>
Co-authored-by: Sara Zanellato <[email protected]>
Co-authored-by: Marius Sebastian Besel <[email protected]>
Co-authored-by: alfonsograziano <[email protected]>
Co-authored-by: SamSalvatico <[email protected]>

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: William Monteiro <[email protected]>
Co-authored-by: Sara Zanellato <[email protected]>
Co-authored-by: Marius Sebastian Besel <[email protected]>
Co-authored-by: alfonsograziano <[email protected]>
Co-authored-by: SamSalvatico <[email protected]>

* 18941 deploy uat in dev (#68)

* [18810] Deploy to UAT (#51)

* Align staging to dev (#37)

Add staging pipeline file (#36)

* add file

* fix

* Update staging (#39)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

---------

Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>

* fix(cli): fix seeder to handle empty data (#42)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* chore(cli): cleanup

* fix(cli): azure pipeline

* [17584] Deploy to staging (#47)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

* fix(cli): fix logto pipeline (#40)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* feat: logto uat changes (#43)

* feat: logto uat changes

* Update pipeline-variables/uat.yml

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>

* Test migration command in Terraform (#48)

fix: remove seed commands from dockerfile

* chore: remove whitespace

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>

* [18630] Deploy renamed seeder to UAT (#54)

* Align staging to dev (#37)

Add staging pipeline file (#36)

* add file

* fix

* Update staging (#39)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

---------

Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>

* fix(cli): fix seeder to handle empty data (#42)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* chore(cli): cleanup

* fix(cli): azure pipeline

* [17584] Deploy to staging (#47)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

* fix(cli): fix logto pipeline (#40)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* feat: logto uat changes (#43)

* feat: logto uat changes

* Update pipeline-variables/uat.yml

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>

* Test migration command in Terraform (#48)

fix: remove seed commands from dockerfile

* [18810] Deploy to staging (#50)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

* fix(cli): fix logto pipeline (#40)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* feat: logto uat changes (#43)

* feat: logto uat changes

* Update pipeline-variables/uat.yml

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Sara Zanellato <[email protected]>

* Test migration command in Terraform (#48)

fix: remove seed commands from dockerfile

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>

* 18630 seed real roles (#45)

* feat(cli): seed roles and permissions into db

* fix(cli): cleanup code

* chore(cli): small update

* chore(cli): refactoring roles

* chore(cli): refactoring organization roles

* chore(cli): update

* chore(cli): rename seeder file (#52)

* chore(cli): rename seeder file

* chore(cli): fix eof new line

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>

* 18941 deploy sta in uat (#64)

* Align staging to dev (#37)

Add staging pipeline file (#36)

* add file

* fix

* Update staging (#39)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

---------

Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>

* fix(cli): fix seeder to handle empty data (#42)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* chore(cli): cleanup

* fix(cli): azure pipeline

* [17584] Deploy to staging (#47)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

* fix(cli): fix logto pipeline (#40)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* feat: logto uat changes (#43)

* feat: logto uat changes

* Update pipeline-variables/uat.yml

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>

* [18810] Deploy to staging (#50)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

* fix(cli): fix logto pipeline (#40)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* feat: logto uat changes (#43)

* feat: logto uat changes

* Update pipeline-variables/uat.yml

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Sara Zanellato <[email protected]>

* Test migration command in Terraform (#48)

fix: remove seed commands from dockerfile

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>

* [18630] Deploy renamed seeder to staging (#53)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

* fix(cli): fix logto pipeline (#40)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* feat: logto uat changes (#43)

* feat: logto uat changes

* Update pipeline-variables/uat.yml

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Sara Zanellato <[email protected]>

* Test migration command in Terraform (#48)

fix: remove seed commands from dockerfile

* 18630 seed real roles (#45)

* feat(cli): seed roles and permissions into db

* fix(cli): cleanup code

* chore(cli): small update

* chore(cli): refactoring roles

* chore(cli): refactoring organization roles

* chore(cli): update

* chore(cli): rename seeder file (#52)

* chore(cli): rename seeder file

* chore(cli): fix eof new line

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>

* 18941 Deploy dev into stage (#62)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

* fix(cli): fix logto pipeline (#40)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* feat: logto uat changes (#43)

* feat: logto uat changes

* Update pipeline-variables/uat.yml

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Sara Zanellato <[email protected]>

* Test migration command in Terraform (#48)

fix: remove seed commands from dockerfile

* 18630 seed real roles (#45)

* feat(cli): seed roles and permissions into db

* fix(cli): cleanup code

* chore(cli): small update

* chore(cli): refactoring roles

* chore(cli): refactoring organization roles

* chore(cli): update

* chore(cli): rename seeder file (#52)

* chore(cli): rename seeder file

* chore(cli): fix eof new line

* chore: use port 7001 instead of 5001 to avoid conflicts with forms (#56)

* fix(cli): remove secrets from local seeder (#59)

* feat(cli): seed is_third_party flag (#57)

* feat(cli): seed is_third_party flag

* fix(demo-app): trying to ignore the entire seeder local file from gitleaks

* Reverted .gitleaksignore change

---------

Co-authored-by: alfonsograziano <[email protected]>
Co-authored-by: Alfonso Graziano <[email protected]>

* feat(cli): seed multiple redurect uris (#58)

* Feature(ogcio): messaging integration (#60)

* feat(ogcio): added messaging permissions locally

* feat(core): updated seeder for deployments

* chore(core): added EOL

---------

Co-authored-by: Alfonso Graziano <[email protected]>

* Add MyGovId Mock service to Logto (#55)

* feat(demo-app): copied mock service from life events repo

* feat(demo-app): add mock users + fix build

* feat(demo-app): changed port to not clash with 3005 in life-events auth-service

* fix(demo-app): trying to ignore the entire seeder local file from gitleaks

* feat(cli): seeder updates already existing entries (#61)

* feat(cli): seeder updates already existing entries

* feat(cli): seeder file updated

* feat(cli): update

* feat(cli): documenting the seeders limitations

* feat(cli): updated documentation

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: William Monteiro <[email protected]>
Co-authored-by: Sara Zanellato <[email protected]>
Co-authored-by: Marius Sebastian Besel <[email protected]>
Co-authored-by: alfonsograziano <[email protected]>
Co-authored-by: SamSalvatico <[email protected]>

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: William Monteiro <[email protected]>
Co-authored-by: Sara Zanellato <[email protected]>
Co-authored-by: Marius Sebastian Besel <[email protected]>
Co-authored-by: alfonsograziano <[email protected]>
Co-authored-by: SamSalvatico <[email protected]>

---------

Co-authored-by: Sara Zanellato <[email protected]>
Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: William Monteiro <[email protected]>
Co-authored-by: Marius Sebastian Besel <[email protected]>
Co-authored-by: alfonsograziano <[email protected]>
Co-authored-by: SamSalvatico <[email protected]>

* Add missing dev dependency in MyGovId mock service (#69)

* fix: add missing dev dependency

* fix: missing file

* chore: add new line EOF

* Chore(OGCIO): makefile run native (#70)

* chore(core): added run native command

* chore(core): re-added old docs

* chore(core): added EOF

* chore: add default public servant user to mygovid mock service and rename public servant (#72)

* chore: add default public servant user to mygovid mock service)

* chore(cli): changed public servant name for payments service

* [18938] Improve DX (#71)

* feat: create docker compose

* fix: add missing dev dependency

* fix: missing file

* chore: add new line EOF

* fix: update dockerfile

* chore: add dockerignore

* chore: add logging to mock

* fix: fix network be to be

* chore: build and push mygovid mock on dev branch only

* fix: remove node-gyp installation

* chore: reorder stages

* fix: dockerfile parameter

* chore: build service on every pr

* fix: dockerfile path

* feat: add env vars for mock endpoints

* chore: remove redundant docker compose db

* chore: spin up db from docker compose local

* fix: remove comment

* chore: remove unused env vars

* Chore(mygovid): set fixed oid and sub (#73)

* chore(core): node to 20.10.0

* chore(connector): fixed oid for users

* chore(core): added .env.sample

* chore(core): add ogcio env vars

* chore(core): updated webhooks

* chore(core): added docker compose db file (#75)

* chore(core): added docker compose db file

* fix(core): fixed mock random string

* chore(core): standalone docker-compose-ogcio-logto file

* [18938] Fix MyGovId mock service image push (#74)

fix: use logto repository in ecr

Co-authored-by: William Monteiro <[email protected]>

* [18938] Run with Docker Compose and remote images (#76)

* fix: local docker

* chore: use mock service image from ecr

* chore: add script

* chore: add make command

* chore: update script to support docker compose file from cdn

* docs: add documentation on docker compose

* chore: add newline

* [18938] Fix yml file reference (#79)

fix: fix yml file reference

* [19838] Add mock service to docker compose local file (#80)

chore: add mygovid mock service build

* Chore(OGCIO): messaging perms (#78)

chore(core): messaging perms

* [18938] Update command to point to HEAD (#81)

* chore: fix config and command in documentation

* chore: update image sha

* feat: added life events permissions (#77)

* [19299] Update to v1.18.0 (#82)

* feat(connector): add DingTalk web connector changeset (logto-io#5940)

* fix(console): avoid rendering outdated role options (logto-io#5953)

* refactor(console): remove redundant notification from m2m guide (logto-io#5954)

* feat(core,toolkit): add new sso_identities claim (logto-io#5955)

* feat(core,toolkit): add new sso_identities claim

add new sso_identities claim to the userinfo endpoint

* chore: update changeset

update changeset

* chore: update comments

update comments

* refactor(core): use findUserSsoIdentites query method in user library

use findUserSsoIdentites query method in user library

* refactor: improve user experience (logto-io#5958)

* feat(console): show version number for oss (logto-io#5950)

* refactor: remove service log fkey (logto-io#5959)

* refactor(console): improve onboarding data and subscription fetching (logto-io#5960)

* release: version packages (logto-io#5868)

* chore: launch us region (logto-io#5962)

* chore: update links (logto-io#5963)

* fix: use correct `disabled` logic for free plan (logto-io#5964)

fix: use correct disable logic for free plan

* fix(console): only show m2m role notification for m2m roles (logto-io#5957)

* refactor(console): make long text breakable in roles page (logto-io#5956)

* refactor(console): fix plausible hostname (logto-io#5968)

* chore(deps): update dependency @logto/cloud to v0.2.5-a7eedce (logto-io#5847)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat(console): implement account deletion (logto-io#5969)

* feat(console): implement account deletion

* refactor: remove unused phrases

* chore: add i18n phrases

* refactor: add comments and error handling

* fix(console): avoid skipping m2m role assignment after switching browser tabs (logto-io#5973)

* fix(core): profile avatar upload should not return 400 error (logto-io#5974)

* refactor(console,phrases): update rbac-related phrases (logto-io#5975)

* chore(schemas): add reserved plan ID for admin tenant (logto-io#5976)

* feat(core): report oidc exceptions to the appInsights (logto-io#5978)

report oidc exceptions to the appInsights

* refactor(console): click console logo should navigate to root page (logto-io#5981)

* fix(console): language switch should work on profile page (logto-io#5980)

* refactor(core): try to fix uncaught exception (logto-io#5982)

* refactor(console): use permanently delete (logto-io#5979)

* refactor(core): optimize redis error handling (logto-io#5965)

* chore(deps): update dependency @testing-library/react to v16 (logto-io#5984)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(connector): improve DingTalk web connector readme (logto-io#5977)

* feat: add dingtalk connector

* refactor(connector): optimize codes

* refactor(connector): optimize the logic of getting user phone

* docs(connector): add English configuration guide for DingTalk

* docs(connector): add table of contents

* docs(connector): optimize format

* chore(connector): update DingTalk web connector readme

* chore(connector): apply suggestions from code review

Co-authored-by: Darcy Ye <[email protected]>
Co-authored-by: Charles Zhao <[email protected]>

---------

Co-authored-by: aidenlu <[email protected]>
Co-authored-by: Darcy Ye <[email protected]>
Co-authored-by: Charles Zhao <[email protected]>

* chore(deps): update dependency i18next-browser-languagedetector to v8 (logto-io#5850)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: remove dev flags and add changeset for m2m guide feature (logto-io#5983)

* feat(console): add new feature content for m2m integration guide (logto-io#5947)

* refactor(console): always display role creation hint in role assignment modal (logto-io#5988)

* refactor(core,schemas): add user detail payload to User.Deleted webhook event (logto-io#5986)

* refactor(core,schemas): add user detail payload to User.Deleted DataHook event

add user detail data payload to the User.Deleted DataHook event

* fix(core): fix unit test

fix unit test

* refactor(console,phrases): update role assignment modal phrases (logto-io#5989)

* refactor(core): reorg organization routes

* refactor(core): reorg organization queries

* feat(schemas): init organization email domains table

* feat(core): organization email domains apis

* chore: add api docs

* refactor: fix tests

* feat(core): implement organization jit provisioning

* refactor(core): trigger organization membership updated hook from jit

* refactor: fix tests

* feat(console): implement organization jit ui

* feat(core,console): enable backchannel logout

* chore: add tests and changeset

* chore(console,core): launch organization jit

* feat(core,console): organization mfa requirement

* chore: add tests

* feat: automatic social account linking (logto-io#5881)

* feat: automatic social account linking

* chore: add integration tests

* chore: add changeset

* fix(core): prevent uncaught promise rejection (logto-io#6009)

* fix(core): prevent uncaught promise rejection

prevent uncaught promise rejection crashing the app

* refactor(core): remove inline await

remove inline await statement

* chore(core): update comment

update comment

* refactor(console): allow view and update `user.profile` in settings

* refactor: apply suggestions from code review

Co-authored-by: Charles Zhao <[email protected]>

* refactor(console): update jit styles

* feat(core,console): organization jit roles

* refactor: add organization jit role api tests

* chore: update changeset

* style(console): update tab item style in readme docs (logto-io#6013)

* refactor(console): imporve custom phrase fetch request error handling (logto-io#6015)

* refactor(console): improve webhook test request error handling (logto-io#6017)

* refactor: rename method

* feat(connector): google one tap

* feat(core): google one tap

* feat(experience): google one tap

* chore: add tests

* chore: add tests

* refactor(console): update spring boot api protection guide (logto-io#6018)

update spring boot api protection guide

* refactor(console,experience,test): decouple isDevFeatureEnabled with isIntegrationTest (logto-io#6012)

* refactor(console,experience,test): decouple isDevFeatureEnabled with isIntegrationTest

decouple isDevFeatureEnabled with isIntegrationTest ENV variables

* chore: update environment variable get method

update environment variable get method

* refactor(console): improve swr error handling that previously omitted (logto-io#6021)

* chore: add comments

* chore: add changeset (logto-io#6004)

* feat: add dev feature disabled test (logto-io#6014)

feat: implement dev feature disabled integration test

implement dev feature desiabled integration test

* chore: update README.md (logto-io#6038)

* refactor(console): show sso status in jit domains (logto-io#6040)

* feat(console): google one tap (logto-io#6034)

* test(core): implement sso related integration tests (logto-io#6041)

* test(core): implement sso related integration tests

implement sso related integration tests

* chore(core): remove unnecessary comments

remove unnecessary comments

* feat(console): add Ruby app guide

* chore(deps): update docker/build-push-action action to v6 (logto-io#6042)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(connector): update outdated links in connector readme (logto-io#6039)

* refactor(console): support non-svg logos

* feat(schemas): add `agree_to_terms_policy` for sie table (logto-io#6036)

* feat(console,phrases): support agree to terms policy configuration (logto-io#6037)

* feat(experience): support agree to terms policies (logto-io#6044)

* chore(console): update guide orders (logto-io#6047)

* feat(core): jit organization roles (logto-io#6049)

* refactor(core): update relation queries

* refactor: fix google one tap issues (logto-io#6054)

* chore(schemas): add legacy-pro tag to reserved plan ID (logto-io#6061)

* feat(core): init organization app apis

* refactor(core): reorg organization users api docs

* chore: skip tests if needed

* style(experience): add margin-bottom for terms checkbox on sign-in page (logto-io#6058)

* chore(test): reorg the sso connector api cleanup logic (logto-io#6053)

reorg the sso connector api cleanup logic

* docs(console): add the troubleshooting section in expo guide (logto-io#6052)

* docs(console): add the troubleshoot section in expo guide

add the troubleshoot section in expo integration guide

* chore: update the words

update the words

* feat(core): organization jit sso apis

* feat(core): init organization app role apis

* chore: rename legacy pro to grandfathered pro (logto-io#6076)

* refactor(console): update subscription plan ID (logto-io#6074)

* feat(core): organization jit sso

* feat(console): update jit config

* refactor: improve code, content, and styles

* chore(deps): update dependency buffer to v6 (logto-io#6060)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(core): add dev feature tag for openapi.json (logto-io#6025)

chore(core): add dev feature tag for openapi.json to indicate operation should not show up in swagger.json

* chore(deps): update ikalnytskyi/action-setup-postgres action to v6 (logto-io#5815)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(experience): apply agree to terms policy for sso (logto-io#6080)

* chore: update changeset (logto-io#6077)

* refactor(core): update naming and fix typos

* refactor(core): reorg organization routes

* fix: fix dev feature disabled integration tests

fix dev feature disabled integration tests

* feat(core): issue subject tokens (logto-io#6045)

* chore: update code owners (logto-io#6081)

* refactor(core): return roles in organization app get api

* feat: organization role types

* chore: fix tests

* feat(core): get application organizations api

* feat(core): update application organization role apis

* fix: change special character to fix root paramter naming issue

feat: add customParameters function for fixing tenantId error on `/api/.well-known/endpoints/{tenantId}`

* fix: update mocks and docstrings

* feat(console): show organization list for m2m apps

* refactor: filter whole supplement document if needed (logto-io#6085)

* refactor: update status code

* feat(console): m2m pages in organizations

* refactor: add changeset and improve code

* refactor(core): fork client credentials grant

* feat: support prompt config for some built-in connectors (logto-io#6023)

* feat: support prompt config for some built-in connectors

* chore: adopt code review suggestions

Co-authored-by: Gao Sun <[email protected]>

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor: refactor integration test ci job (logto-io#6095)

* fix: remove dev feature diff check

remove dev feature diff check

* refactor: refactor alteration integration test ci job

refactor alteration integration test ci job

* fix: fix the dev feature disbaled integration tests

fix the dev feature disabled integration tests

* fix: fix alteration-compatibility-test

fix alteration-compatibility-test

* feat(console,phrases): add issuer endpoint to application form (logto-io#6094)

* feat(console,phrases): add issuer endpoint to application form

add issuer endpoint to the application form

* chore: add changeset

add changeset

* fix(schemas): explicitly set search path (logto-io#6101)

* refactor(console): update role-related content and components (logto-io#6091)

* refactor(console): hide backchannel for m2m apps (logto-io#6075)

* refactor: add brief intro in swagger.json (logto-io#6102)

* fix: include `tenantId` and its root param in responses (logto-io#6092)

* fix: include tenantId and its root param in responses

* refactor: use shared object

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(experience,phrases): update resend passcode phrases (logto-io#6103)

* feat(core): add hasPassword field to custom JWT user context (logto-io#6096)

* refactor: handle potential errors during ky requests in koa-auth middleware (logto-io#6112)

* feat(core): issue organization token via client credentials (logto-io#6098)

* feat(core): issue organization token via client credentials

* refactor: fix tests

* refactor(console): upgrade mdx packages

* refactor(console): remove unused config

* chore: fix typo (logto-io#6110)

* refactor: update nuxt guide (logto-io#6114)

* refactor: update nuxt guide

* refactor: polish content

* refactor(console): update ruby guide (logto-io#6116)

* refactor(console): update ruby guide

* refactor(console): support further readings

* refactor(console): reorg docs

* refactor(console): update next guide (logto-io#6119)

* refactor(core): update grant comments (logto-io#6120)

* chore: update README.mdx (logto-io#6121)

Added a missing backtick that breaks layout

* refactor(console): update swift guide (logto-io#6123)

* refactor(console): polish ui (logto-io#6122)

* refactor(console): polish ui

* refactor: fix code editor title color

* refactor(console): use correct array for checking enterprise sso (logto-io#6135)

* refactor(console): use correct array for checking enterprise sso

* refactor(console): hide add connector button when no connector available

* refactor(console): fix sso connector check conditions in the organization jit section

* refactor(console): update styles

* refactor(console): update express guide (logto-io#6124)

* refactor(console): polish android guide (logto-io#6131)

* ci: refactor integration tests workflow

* ci: add spaces

* refactor(test): use secure random method in integration test util (logto-io#6139)

* refactor(console): update python and php guide (logto-io#6136)

* refactor(console): update python/php console guide

* refactor(console): improve php guide

* refactor(console): improve python guide

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): polish guides

* chore(console): remove unmaintained remix guide (logto-io#6137)

* refactor(console): update golang guide (logto-io#6134)

* refactor(console): update golang guide

* refactor: use imported uris for go docs

* refactor(console): fix switch styles (logto-io#6132)

* refactor(console): fix php guide (logto-io#6143)

* feat: demo app dev panel (logto-io#6105)

* docs(console): update the sveltekit guide (logto-io#6130)

* docs(console): update the sveltekit guide

update the sveltekit guide

* chore(console): reorg the display user section in svltekit

reorg the display user section in svltekit

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* chore: launch jit (logto-io#6127)

* chore: launch m2m app for organizations (logto-io#6129)

* chore: launch m2m app for organizations

* chore: add changeset

* chore: normalize Logto DB region role names for DB alteration CI (logto-io#6144)

* docs(console): update the expo SDK integration guide (logto-io#6126)

* docs(console): update the expo SDK integration guide

update the expo SDK integrtion guide

* chore(console): update rn guide section title

update rn guide section title

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* feat(core,schemas): token exchange grant (logto-io#6057)

* docs(console): update flutter intergration guide (logto-io#6125)

improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* fix(experience): add missing `agreeToTermsPolicy` deps (logto-io#6148)

* docs(console): update the capacitor integration guide (logto-io#6128)

* docs(console): update the capacitor integration guide

update the capacitor integration guide

* fix(console): reorg capacitor guide

reorg capacitor guide

* chore(console): update the section title

update the section title

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor: fix mermaid in production (logto-io#6149)

Use dynamic CDN import to use Mermaid as Parcel has issues on handling the
static import in production.

* ci: rerun integration tests on failure (logto-io#6141)

* docs(console): update the java spring guide (logto-io#6133)

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): add retry button on error (logto-io#6158)

* refactor(console): update vanilla js integration guide (logto-io#6156)

* refactor(console): update vanilla js integration guide

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): update react integration guide (logto-io#6151)

* refactor(console): update react integration guide

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): update vue integration guide (logto-io#6153)

* refactor(console): update vue integration guide

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): update angular integration guide (logto-io#6157)

* refactor(console): update angular integration guide

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): load mermaid in dev (logto-io#6155)

* feat(core): third-party applications are not allowed for token exchange (logto-io#6100)

* feat(core,schemas): token exchange grant

* feat(core): third-party applications are not allowed for token exchange

* refactor: update compare DB alteration scripts (logto-io#6152)

* refactor: update compare DB alteration scripts

* chore: add comments

* refactor: upgrade logto sdks (logto-io#6160)

* fix(console): fix broken api resource guides (logto-io#6161)

* feat(core): organization token for token exchange flow (logto-io#6106)

* feat(core,schemas): token exchange grant

* feat(core): third-party applications are not allowed for token exchange

* feat(core,schemas): token exchange grant

* feat(core): organization token for token exchange flow

* refactor(console): optimize api resource guides (logto-io#6162)

* fix(console): fix custom element swap in mdx (logto-io#6166)

* refactor(console): add aggregated npm installation component (logto-io#6159)

* refactor: update ci and package (logto-io#6167)

* refactor: update ci and package

* chore: fix tests

* fix(console): hide error toast for non-existed application in audit logs (logto-io#6168)

* fix(console): hide error toast for non-existed application in audit logs

* chore: add changeset

* feat: add `operationId` to HTTP methods on paths (logto-io#6108)

* feat: add operationId to HTTP methods on paths

* refactor(core): strictly handle routes for building operation id

* chore: add changeset

* refactor: reorg code

* refactor: use get as verb for singular items

---------

Co-authored-by: Gao Sun <[email protected]>

* feat(schemas): custom ui assets db update (logto-io#6010)

* fix(core): issue `organization_id` claim for client credentials (logto-io#6170)

* feat(core): handle oidc scopes for token exchange (logto-io#6147)

* feat(core,schemas): token exchange grant

* feat(core): third-party applications are not allowed for token exchange

* feat(core,schemas): token exchange grant

* feat(core): organization token for token exchange flow

* feat(core): handle oidc scopes for token exchange

* chore(deps): update dependency @rollup/plugin-commonjs to v26 (logto-io#5994)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* refactor(experience): rename `SingleSignOnContext` to `UserInteractionContext` (logto-io#6163)

* chore(deps): update logto-io/actions-run-logto-integration-tests action to v4 (logto-io#6176)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update logto-io/actions-package-logto-artifact action to v3 (logto-io#6175)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update silverhand-io/actions-node-pnpm-run-steps action to v5 (logto-io#6174)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* refactor(console): improve dotnet guides

* fix(console): fix page issues (logto-io#6181)

* refactor(console): check mermaid by integration test env (logto-io#6183)

* feat(core): implement new experience API routes (logto-io#5992)

* feat(core): implement new interaction-session management flow

implement a new interaction-session management flow for experience api use

* feat(core): implement password sign-in flow

implement password sign-in flow

* test(core,schemas): add sign-in password tests

add sign-in password tests

* chore(core): update comments

update comments

* refactor(core): rename the password input value key

rename the password input value key

* refactor(core,schemas): refactor the experience API

refactor the exerpience API structure

* chore(test): add devFeature test

add devFeature test

* refactor(core): rename the path

rename the path

* refactor(core,schemas): refactor using the latest API design

refactor using the latest API design

* chore(test): replace using devFeature test statement

replace using devFeature test statement

* fix(core): fix lint error

fix lint error

* refactor(core): refactor experience API implementations

refactor experience API implementations

* refactor(core): replace with switch

replace object map with switch

* refactor: apply suggestions from code review

* refactor(core): refactor the interaction class
 refactor the interaction class

* refactor(core): update the user identification logic

update the user identification logic

---------

Co-authored-by: Gao Sun <[email protected]>

* feat(core): implement verification code verification API (logto-io#6001)

* feat(core,schemas): implement the verification code flow

implement the verification code flow

* chore(core): fix rebase issue

fix rebase issue

* refactor(console): add chrome extension guide (logto-io#6178)

* feat(core,schemas): implement social verification experience API endpoints (logto-io#6150)

feat(core,schemas): implement the social verification flow

implement the social verificaiton flow

* release: version packages (logto-io#5987)

* chore: update dependencies

* chore: fix wrong conflict resolution

* fix: organization and role assignment to public servant

* chore: remove duplicate tab

---------

Co-authored-by: Darcy Ye <[email protected]>
Co-authored-by: Xiao Yijun <[email protected]>
Co-authored-by: simeng-li <[email protected]>
Co-authored-by: Gao Sun <[email protected]>
Co-authored-by: silverhand-bot <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charles Zhao <[email protected]>
Co-authored-by: aiden <[email protected]>
Co-authored-by: aidenlu <[email protected]>
Co-authored-by: wangsijie <[email protected]>
Co-authored-by: Mostafa Moradian <[email protected]>
Co-authored-by: ScreenCom User <[email protected]>

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>
Co-authored-by: Marius Sebastian Besel <[email protected]>
Co-authored-by: alfonsograziano <[email protected]>
Co-authored-by: SamSalvatico <[email protected]>
Co-authored-by: Francesco Maida <[email protected]>
Co-authored-by: Darcy Ye <[email protected]>
Co-authored-by: Xiao Yijun <[email protected]>
Co-authored-by: simeng-li <[email protected]>
Co-authored-by: Gao Sun <[email protected]>
Co-authored-by: silverhand-bot <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charles Zhao <[email protected]>
Co-authored-by: aiden <[email protected]>
Co-authored-by: aidenlu <[email protected]>
Co-authored-by: wangsijie <[email protected]>
Co-authored-by: Mostafa Moradian <[email protected]>
Co-authored-by: ScreenCom User <[email protected]>
nnorbert added a commit to ogcio/logto that referenced this pull request Jul 17, 2024
* refactor(console): remove redundant notification from m2m guide (logto-io#5954)

* feat(core,toolkit): add new sso_identities claim (logto-io#5955)

* feat(core,toolkit): add new sso_identities claim

add new sso_identities claim to the userinfo endpoint

* chore: update changeset

update changeset

* chore: update comments

update comments

* refactor(core): use findUserSsoIdentites query method in user library

use findUserSsoIdentites query method in user library

* refactor: improve user experience (logto-io#5958)

* feat(console): show version number for oss (logto-io#5950)

* refactor: remove service log fkey (logto-io#5959)

* refactor(console): improve onboarding data and subscription fetching (logto-io#5960)

* release: version packages (logto-io#5868)

* chore: launch us region (logto-io#5962)

* chore: update links (logto-io#5963)

* fix: use correct `disabled` logic for free plan (logto-io#5964)

fix: use correct disable logic for free plan

* fix(console): only show m2m role notification for m2m roles (logto-io#5957)

* refactor(console): make long text breakable in roles page (logto-io#5956)

* refactor(console): fix plausible hostname (logto-io#5968)

* chore(deps): update dependency @logto/cloud to v0.2.5-a7eedce (logto-io#5847)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat(console): implement account deletion (logto-io#5969)

* feat(console): implement account deletion

* refactor: remove unused phrases

* chore: add i18n phrases

* refactor: add comments and error handling

* fix(console): avoid skipping m2m role assignment after switching browser tabs (logto-io#5973)

* fix(core): profile avatar upload should not return 400 error (logto-io#5974)

* refactor(console,phrases): update rbac-related phrases (logto-io#5975)

* chore(schemas): add reserved plan ID for admin tenant (logto-io#5976)

* feat(core): report oidc exceptions to the appInsights (logto-io#5978)

report oidc exceptions to the appInsights

* refactor(console): click console logo should navigate to root page (logto-io#5981)

* fix(console): language switch should work on profile page (logto-io#5980)

* refactor(core): try to fix uncaught exception (logto-io#5982)

* refactor(console): use permanently delete (logto-io#5979)

* refactor(core): optimize redis error handling (logto-io#5965)

* chore(deps): update dependency @testing-library/react to v16 (logto-io#5984)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(connector): improve DingTalk web connector readme (logto-io#5977)

* feat: add dingtalk connector

* refactor(connector): optimize codes

* refactor(connector): optimize the logic of getting user phone

* docs(connector): add English configuration guide for DingTalk

* docs(connector): add table of contents

* docs(connector): optimize format

* chore(connector): update DingTalk web connector readme

* chore(connector): apply suggestions from code review

Co-authored-by: Darcy Ye <[email protected]>
Co-authored-by: Charles Zhao <[email protected]>

---------

Co-authored-by: aidenlu <[email protected]>
Co-authored-by: Darcy Ye <[email protected]>
Co-authored-by: Charles Zhao <[email protected]>

* chore(deps): update dependency i18next-browser-languagedetector to v8 (logto-io#5850)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: remove dev flags and add changeset for m2m guide feature (logto-io#5983)

* feat(console): add new feature content for m2m integration guide (logto-io#5947)

* refactor(console): always display role creation hint in role assignment modal (logto-io#5988)

* refactor(core,schemas): add user detail payload to User.Deleted webhook event (logto-io#5986)

* refactor(core,schemas): add user detail payload to User.Deleted DataHook event

add user detail data payload to the User.Deleted DataHook event

* fix(core): fix unit test

fix unit test

* refactor(console,phrases): update role assignment modal phrases (logto-io#5989)

* refactor(core): reorg organization routes

* refactor(core): reorg organization queries

* feat(schemas): init organization email domains table

* feat(core): organization email domains apis

* chore: add api docs

* refactor: fix tests

* feat(core): implement organization jit provisioning

* refactor(core): trigger organization membership updated hook from jit

* refactor: fix tests

* feat(console): implement organization jit ui

* feat(core,console): enable backchannel logout

* chore: add tests and changeset

* chore(console,core): launch organization jit

* feat(core,console): organization mfa requirement

* chore: add tests

* feat: automatic social account linking (logto-io#5881)

* feat: automatic social account linking

* chore: add integration tests

* chore: add changeset

* fix(core): prevent uncaught promise rejection (logto-io#6009)

* fix(core): prevent uncaught promise rejection

prevent uncaught promise rejection crashing the app

* refactor(core): remove inline await

remove inline await statement

* chore(core): update comment

update comment

* refactor(console): allow view and update `user.profile` in settings

* refactor: apply suggestions from code review

Co-authored-by: Charles Zhao <[email protected]>

* refactor(console): update jit styles

* feat(core,console): organization jit roles

* refactor: add organization jit role api tests

* chore: update changeset

* style(console): update tab item style in readme docs (logto-io#6013)

* refactor(console): imporve custom phrase fetch request error handling (logto-io#6015)

* refactor(console): improve webhook test request error handling (logto-io#6017)

* refactor: rename method

* feat(connector): google one tap

* feat(core): google one tap

* feat(experience): google one tap

* chore: add tests

* chore: add tests

* refactor(console): update spring boot api protection guide (logto-io#6018)

update spring boot api protection guide

* refactor(console,experience,test): decouple isDevFeatureEnabled with isIntegrationTest (logto-io#6012)

* refactor(console,experience,test): decouple isDevFeatureEnabled with isIntegrationTest

decouple isDevFeatureEnabled with isIntegrationTest ENV variables

* chore: update environment variable get method

update environment variable get method

* refactor(console): improve swr error handling that previously omitted (logto-io#6021)

* chore: add comments

* chore: add changeset (logto-io#6004)

* feat: add dev feature disabled test (logto-io#6014)

feat: implement dev feature disabled integration test

implement dev feature desiabled integration test

* chore: update README.md (logto-io#6038)

* refactor(console): show sso status in jit domains (logto-io#6040)

* feat(console): google one tap (logto-io#6034)

* test(core): implement sso related integration tests (logto-io#6041)

* test(core): implement sso related integration tests

implement sso related integration tests

* chore(core): remove unnecessary comments

remove unnecessary comments

* feat(console): add Ruby app guide

* chore(deps): update docker/build-push-action action to v6 (logto-io#6042)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(connector): update outdated links in connector readme (logto-io#6039)

* refactor(console): support non-svg logos

* feat(schemas): add `agree_to_terms_policy` for sie table (logto-io#6036)

* feat(console,phrases): support agree to terms policy configuration (logto-io#6037)

* feat(experience): support agree to terms policies (logto-io#6044)

* chore(console): update guide orders (logto-io#6047)

* feat(core): jit organization roles (logto-io#6049)

* refactor(core): update relation queries

* refactor: fix google one tap issues (logto-io#6054)

* chore(schemas): add legacy-pro tag to reserved plan ID (logto-io#6061)

* feat(core): init organization app apis

* refactor(core): reorg organization users api docs

* chore: skip tests if needed

* style(experience): add margin-bottom for terms checkbox on sign-in page (logto-io#6058)

* chore(test): reorg the sso connector api cleanup logic (logto-io#6053)

reorg the sso connector api cleanup logic

* docs(console): add the troubleshooting section in expo guide (logto-io#6052)

* docs(console): add the troubleshoot section in expo guide

add the troubleshoot section in expo integration guide

* chore: update the words

update the words

* feat(core): organization jit sso apis

* feat(core): init organization app role apis

* chore: rename legacy pro to grandfathered pro (logto-io#6076)

* refactor(console): update subscription plan ID (logto-io#6074)

* feat(core): organization jit sso

* feat(console): update jit config

* refactor: improve code, content, and styles

* chore(deps): update dependency buffer to v6 (logto-io#6060)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(core): add dev feature tag for openapi.json (logto-io#6025)

chore(core): add dev feature tag for openapi.json to indicate operation should not show up in swagger.json

* chore(deps): update ikalnytskyi/action-setup-postgres action to v6 (logto-io#5815)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(experience): apply agree to terms policy for sso (logto-io#6080)

* chore: update changeset (logto-io#6077)

* refactor(core): update naming and fix typos

* refactor(core): reorg organization routes

* fix: fix dev feature disabled integration tests

fix dev feature disabled integration tests

* feat(core): issue subject tokens (logto-io#6045)

* chore: update code owners (logto-io#6081)

* refactor(core): return roles in organization app get api

* feat: organization role types

* chore: fix tests

* feat(core): get application organizations api

* feat(core): update application organization role apis

* fix: change special character to fix root paramter naming issue

feat: add customParameters function for fixing tenantId error on `/api/.well-known/endpoints/{tenantId}`

* fix: update mocks and docstrings

* feat(console): show organization list for m2m apps

* refactor: filter whole supplement document if needed (logto-io#6085)

* refactor: update status code

* feat(console): m2m pages in organizations

* refactor: add changeset and improve code

* refactor(core): fork client credentials grant

* feat: support prompt config for some built-in connectors (logto-io#6023)

* feat: support prompt config for some built-in connectors

* chore: adopt code review suggestions

Co-authored-by: Gao Sun <[email protected]>

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor: refactor integration test ci job (logto-io#6095)

* fix: remove dev feature diff check

remove dev feature diff check

* refactor: refactor alteration integration test ci job

refactor alteration integration test ci job

* fix: fix the dev feature disbaled integration tests

fix the dev feature disabled integration tests

* fix: fix alteration-compatibility-test

fix alteration-compatibility-test

* feat(console,phrases): add issuer endpoint to application form (logto-io#6094)

* feat(console,phrases): add issuer endpoint to application form

add issuer endpoint to the application form

* chore: add changeset

add changeset

* fix(schemas): explicitly set search path (logto-io#6101)

* refactor(console): update role-related content and components (logto-io#6091)

* refactor(console): hide backchannel for m2m apps (logto-io#6075)

* refactor: add brief intro in swagger.json (logto-io#6102)

* fix: include `tenantId` and its root param in responses (logto-io#6092)

* fix: include tenantId and its root param in responses

* refactor: use shared object

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(experience,phrases): update resend passcode phrases (logto-io#6103)

* feat(core): add hasPassword field to custom JWT user context (logto-io#6096)

* refactor: handle potential errors during ky requests in koa-auth middleware (logto-io#6112)

* feat(core): issue organization token via client credentials (logto-io#6098)

* feat(core): issue organization token via client credentials

* refactor: fix tests

* refactor(console): upgrade mdx packages

* refactor(console): remove unused config

* chore: fix typo (logto-io#6110)

* refactor: update nuxt guide (logto-io#6114)

* refactor: update nuxt guide

* refactor: polish content

* refactor(console): update ruby guide (logto-io#6116)

* refactor(console): update ruby guide

* refactor(console): support further readings

* refactor(console): reorg docs

* refactor(console): update next guide (logto-io#6119)

* refactor(core): update grant comments (logto-io#6120)

* chore: update README.mdx (logto-io#6121)

Added a missing backtick that breaks layout

* refactor(console): update swift guide (logto-io#6123)

* refactor(console): polish ui (logto-io#6122)

* refactor(console): polish ui

* refactor: fix code editor title color

* refactor(console): use correct array for checking enterprise sso (logto-io#6135)

* refactor(console): use correct array for checking enterprise sso

* refactor(console): hide add connector button when no connector available

* refactor(console): fix sso connector check conditions in the organization jit section

* refactor(console): update styles

* refactor(console): update express guide (logto-io#6124)

* refactor(console): polish android guide (logto-io#6131)

* ci: refactor integration tests workflow

* ci: add spaces

* refactor(test): use secure random method in integration test util (logto-io#6139)

* refactor(console): update python and php guide (logto-io#6136)

* refactor(console): update python/php console guide

* refactor(console): improve php guide

* refactor(console): improve python guide

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): polish guides

* chore(console): remove unmaintained remix guide (logto-io#6137)

* refactor(console): update golang guide (logto-io#6134)

* refactor(console): update golang guide

* refactor: use imported uris for go docs

* refactor(console): fix switch styles (logto-io#6132)

* refactor(console): fix php guide (logto-io#6143)

* feat: demo app dev panel (logto-io#6105)

* docs(console): update the sveltekit guide (logto-io#6130)

* docs(console): update the sveltekit guide

update the sveltekit guide

* chore(console): reorg the display user section in svltekit

reorg the display user section in svltekit

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* chore: launch jit (logto-io#6127)

* chore: launch m2m app for organizations (logto-io#6129)

* chore: launch m2m app for organizations

* chore: add changeset

* chore: normalize Logto DB region role names for DB alteration CI (logto-io#6144)

* docs(console): update the expo SDK integration guide (logto-io#6126)

* docs(console): update the expo SDK integration guide

update the expo SDK integrtion guide

* chore(console): update rn guide section title

update rn guide section title

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* feat(core,schemas): token exchange grant (logto-io#6057)

* docs(console): update flutter intergration guide (logto-io#6125)

improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* fix(experience): add missing `agreeToTermsPolicy` deps (logto-io#6148)

* docs(console): update the capacitor integration guide (logto-io#6128)

* docs(console): update the capacitor integration guide

update the capacitor integration guide

* fix(console): reorg capacitor guide

reorg capacitor guide

* chore(console): update the section title

update the section title

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor: fix mermaid in production (logto-io#6149)

Use dynamic CDN import to use Mermaid as Parcel has issues on handling the
static import in production.

* ci: rerun integration tests on failure (logto-io#6141)

* docs(console): update the java spring guide (logto-io#6133)

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): add retry button on error (logto-io#6158)

* refactor(console): update vanilla js integration guide (logto-io#6156)

* refactor(console): update vanilla js integration guide

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): update react integration guide (logto-io#6151)

* refactor(console): update react integration guide

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): update vue integration guide (logto-io#6153)

* refactor(console): update vue integration guide

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): update angular integration guide (logto-io#6157)

* refactor(console): update angular integration guide

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): load mermaid in dev (logto-io#6155)

* feat(core): third-party applications are not allowed for token exchange (logto-io#6100)

* feat(core,schemas): token exchange grant

* feat(core): third-party applications are not allowed for token exchange

* refactor: update compare DB alteration scripts (logto-io#6152)

* refactor: update compare DB alteration scripts

* chore: add comments

* refactor: upgrade logto sdks (logto-io#6160)

* fix(console): fix broken api resource guides (logto-io#6161)

* feat(core): organization token for token exchange flow (logto-io#6106)

* feat(core,schemas): token exchange grant

* feat(core): third-party applications are not allowed for token exchange

* feat(core,schemas): token exchange grant

* feat(core): organization token for token exchange flow

* refactor(console): optimize api resource guides (logto-io#6162)

* fix(console): fix custom element swap in mdx (logto-io#6166)

* refactor(console): add aggregated npm installation component (logto-io#6159)

* refactor: update ci and package (logto-io#6167)

* refactor: update ci and package

* chore: fix tests

* fix(console): hide error toast for non-existed application in audit logs (logto-io#6168)

* fix(console): hide error toast for non-existed application in audit logs

* chore: add changeset

* feat: add `operationId` to HTTP methods on paths (logto-io#6108)

* feat: add operationId to HTTP methods on paths

* refactor(core): strictly handle routes for building operation id

* chore: add changeset

* refactor: reorg code

* refactor: use get as verb for singular items

---------

Co-authored-by: Gao Sun <[email protected]>

* feat(schemas): custom ui assets db update (logto-io#6010)

* fix(core): issue `organization_id` claim for client credentials (logto-io#6170)

* feat(core): handle oidc scopes for token exchange (logto-io#6147)

* feat(core,schemas): token exchange grant

* feat(core): third-party applications are not allowed for token exchange

* feat(core,schemas): token exchange grant

* feat(core): organization token for token exchange flow

* feat(core): handle oidc scopes for token exchange

* chore(deps): update dependency @rollup/plugin-commonjs to v26 (logto-io#5994)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* refactor(experience): rename `SingleSignOnContext` to `UserInteractionContext` (logto-io#6163)

* chore(deps): update logto-io/actions-run-logto-integration-tests action to v4 (logto-io#6176)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update logto-io/actions-package-logto-artifact action to v3 (logto-io#6175)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update silverhand-io/actions-node-pnpm-run-steps action to v5 (logto-io#6174)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* refactor(console): improve dotnet guides

* fix(console): fix page issues (logto-io#6181)

* refactor(console): check mermaid by integration test env (logto-io#6183)

* feat(core): implement new experience API routes (logto-io#5992)

* feat(core): implement new interaction-session management flow

implement a new interaction-session management flow for experience api use

* feat(core): implement password sign-in flow

implement password sign-in flow

* test(core,schemas): add sign-in password tests

add sign-in password tests

* chore(core): update comments

update comments

* refactor(core): rename the password input value key

rename the password input value key

* refactor(core,schemas): refactor the experience API

refactor the exerpience API structure

* chore(test): add devFeature test

add devFeature test

* refactor(core): rename the path

rename the path

* refactor(core,schemas): refactor using the latest API design

refactor using the latest API design

* chore(test): replace using devFeature test statement

replace using devFeature test statement

* fix(core): fix lint error

fix lint error

* refactor(core): refactor experience API implementations

refactor experience API implementations

* refactor(core): replace with switch

replace object map with switch

* refactor: apply suggestions from code review

* refactor(core): refactor the interaction class
 refactor the interaction class

* refactor(core): update the user identification logic

update the user identification logic

---------

Co-authored-by: Gao Sun <[email protected]>

* feat(core): implement verification code verification API (logto-io#6001)

* feat(core,schemas): implement the verification code flow

implement the verification code flow

* chore(core): fix rebase issue

fix rebase issue

* refactor(console): add chrome extension guide (logto-io#6178)

* feat(core,schemas): implement social verification experience API endpoints (logto-io#6150)

feat(core,schemas): implement the social verification flow

implement the social verificaiton flow

* release: version packages (logto-io#5987)

* chore: update dependencies

* chore: fix wrong conflict resolution

* fix: organization and role assignment to public servant

* chore: remove duplicate tab

* feat: additiona inactive public servant role

---------

Co-authored-by: Xiao Yijun <[email protected]>
Co-authored-by: simeng-li <[email protected]>
Co-authored-by: Gao Sun <[email protected]>
Co-authored-by: silverhand-bot <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charles Zhao <[email protected]>
Co-authored-by: Darcy Ye <[email protected]>
Co-authored-by: aiden <[email protected]>
Co-authored-by: aidenlu <[email protected]>
Co-authored-by: wangsijie <[email protected]>
Co-authored-by: Mostafa Moradian <[email protected]>
Co-authored-by: ScreenCom User <[email protected]>
Co-authored-by: Sara Zanellato <[email protected]>
Co-authored-by: Sara Zanellato <[email protected]>
nnorbert added a commit to ogcio/logto that referenced this pull request Aug 27, 2024
* refactor(console): check mermaid by integration test env (logto-io#6183)

* feat(core): implement new experience API routes (logto-io#5992)

* feat(core): implement new interaction-session management flow

implement a new interaction-session management flow for experience api use

* feat(core): implement password sign-in flow

implement password sign-in flow

* test(core,schemas): add sign-in password tests

add sign-in password tests

* chore(core): update comments

update comments

* refactor(core): rename the password input value key

rename the password input value key

* refactor(core,schemas): refactor the experience API

refactor the exerpience API structure

* chore(test): add devFeature test

add devFeature test

* refactor(core): rename the path

rename the path

* refactor(core,schemas): refactor using the latest API design

refactor using the latest API design

* chore(test): replace using devFeature test statement

replace using devFeature test statement

* fix(core): fix lint error

fix lint error

* refactor(core): refactor experience API implementations

refactor experience API implementations

* refactor(core): replace with switch

replace object map with switch

* refactor: apply suggestions from code review

* refactor(core): refactor the interaction class
 refactor the interaction class

* refactor(core): update the user identification logic

update the user identification logic

---------

Co-authored-by: Gao Sun <[email protected]>

* feat(core): implement verification code verification API (logto-io#6001)

* feat(core,schemas): implement the verification code flow

implement the verification code flow

* chore(core): fix rebase issue

fix rebase issue

* refactor(console): add chrome extension guide (logto-io#6178)

* feat(core,schemas): implement social verification experience API endpoints (logto-io#6150)

feat(core,schemas): implement the social verification flow

implement the social verificaiton flow

* release: version packages (logto-io#5987)

* fix(deps): update dependency p-limit to v6 (logto-io#6182)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* refactor: correct phrases and translate some untranslate phrases for zh-cn (logto-io#6190)

* refactor: correct zh-cn translations

* refactor: translate some untranslate phrases for zh-cn

* feat: organization logo

* refactor(experience): cache user input identifier for a better sign-in experience (logto-io#6164)

* refactor(core, experience): remove `no_cache` param

* refactor(experience): add hidden identifier input for browser password manager (logto-io#6165)

* refactor(core): refactor identifyUser method (logto-io#6154)

refactor(core): refactor the user identification flow

refactor the user identification flow

* refactor(experience,phrases): update phrases for link identities page (logto-io#6104)

* refactor: remove unused patches (logto-io#6179)

* chore(deps): update dependency superstruct to v2 (logto-io#6173)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat(core): actor token (logto-io#6171)

* feat(console,schemas): add grant context to custom jwt (logto-io#6184)

* feat(core): add subject token context to jwt customizer (logto-io#6185)

* feat: support app-level branding

* fix(deps): update dependency lru-cache to v11 (logto-io#6203)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* refactor(core): refactor the sso interaction handlers (logto-io#6186)

refactor(core): revert the sso utils input refactor

revert the sso utils input refactor

* feat(core): implement enterprise sso verification flow (logto-io#6198)

implement the enterprise sso verification flow

* refactor(console): reorg logo uploads

* refactor(experience): add label for input field (logto-io#6200)

* feat(core): add quota guard for subject tokens (logto-io#6205)

* style(experience): update floating label position (logto-io#6211)

* refactor(core): update cache key

* refactor(console): rename file

* refactor(console): update all logo uploaders (logto-io#6209)

* refactor(experience): show dark favicon (logto-io#6210)

* feat(core): implement TOTP verification routes (logto-io#6201)

* feat(core): implmenent totp verification routes

implement totp verification routes

* fix(core): update comments

update comments

* feat(core,schemas): implement backup codes verification (logto-io#6207)

implement the backup code verification flow

* refactor: fix experience branding fallback

* fix(experience): use forgot password identifier in related flow (logto-io#6221)

* refactor(console): improve branding experience

* feat(core): handle dpop and client certificate for token exchange (logto-io#6199)

* refactor: fix third-party app experience branding (logto-io#6223)

* refactor(core): refactor organizations in grants (logto-io#6208)

* test: add resource test cases for token exchange (logto-io#6216)

* feat(core): handle dpop and client certificate for token exchange

* refactor(core): refactor organizations in grants

* test: add resource test cases for token exchange

* feat(core,schemas): introduce new PUT experience API (logto-io#6212)

* feat(core,schemas): introduce new PUT experience API

introduce new PUT experience API

* fix(core): fix some comments

fix some comments

* refactor: experience ssr (logto-io#6229)

* refactor: experience ssr

* refactor: fix parameter issue

* chore(deps): upgrade packages

* chore(deps): upgrade zod

* feat(experience): support loading state for buttons (logto-io#6232)

* refactor: patch type issues

* chore: add changesets (logto-io#6239)

* chore(deps): update vitest monorepo to v2 (major) (logto-io#6202)

* chore(deps): update vitest monorepo to v2

* refactor: remove unused lint ignorings

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <[email protected]>

* feat(core,schemas): implement the sie settings guard (logto-io#6215)

* feat(core,schemas): implement the sie settings guard

implement the sie settings guard

* fix(test): fix integration test

fix integration test

* test(core): add sie guard ut

add sie guard ut

* chore(core): add some comment

add some comment

* refactor(core): rename the sign-in-experience-settings class

rename the sign-in-experience-settings class

* feat: init elements

* refactor(core): remove subject token api prefix (logto-io#6235)

* feat(core): add get available sso connectors endpoint (logto-io#6224)

feat(core): implement get sso connectors
implement get sso connectors endpoint

* feat(elements): init i18n

* feat(core,schemas): implement the register flow (logto-io#6237)

* feat(core,schemas): implement the register flow

implement the register flow

* refactor(core,schemas): relocate the profile type defs

relocate the profile type defs

* fix(core): fix the validation guard logic

fix the validation guard logic

* fix(core): fix social and sso identity not created bug

fix social and sso identity not created bug

* fix(core): fix social identities profile key

fix social identities profile key

* fix(core): fix sso query method

fix sso query method

* feat(core,schemas): add post custom ui assets api (logto-io#6118)

* feat(core,schemas): add post custom ui assets api

* test(core): add register integration tests (logto-io#6248)

* test(core): add register integration tests

add register integration tests

* test: add enterprise sso integration tests

add enterprise sso integration tests

* feat(elements): add components

* feat(core,schemas): implement the username password registration flow (logto-io#6249)

* feat(core,schemas): implement the username password registration flow

implement the username password registration flow

* chore(core): update some comments

update some comments

* fix(test): fix integration tests

fix integration tests

* fix(test): fix lint

fix lint

* fix(experience): correct active state for input field (logto-io#6255)

* refactor(console): use button loading in experience flow if possible (logto-io#6234)

* refactor(experience): support and apply modal loading state (logto-io#6236)

* refactor(experience): support and apply modal loading state

* feat(experience): support cancel loading for modal

* chore(elements): update readme

* feat(core): add the new user provision (logto-io#6253)

add the new user provision

* feat(connector): enable custom headers for SMTP connector (logto-io#6256)

* fix(console): fix Google connector `scope` field can not be unset bug (logto-io#6254)

* style(experience): improve input filed style (logto-io#6260)

* feat(core): set up proxy to host custom ui assets if available (logto-io#6214)

* feat(core): set up proxy to host custom ui assets if available

* refactor: use object param for koa spa proxy middleware

* refactor: make queries param mandatory

* style(experience): remove autofill style from input component (logto-io#6261)

* fix(console): fix image upload in onboarding process (logto-io#6266)

* fix(console): fix grant data card height (logto-io#6264)

* fix(console): fix passwordless connector tester send failed bug (logto-io#6268)

* feat(console): implement custom ui assets upload component (logto-io#6217)

* ci: always set conclusion for alteration tests (logto-io#6276)

* style(experience): add transition for notched border (logto-io#6265)

* refactor(experience): avoid disabled button for continue button (logto-io#6271)

* feat(core): add api quota guard for bring your ui feature (logto-io#6273)

* fix(console): should not toast invitation sent message when creating tenant w/o invitee (logto-io#6270)

fix(console): should not toast invitation sent message when creating tenant without invitee

* feat(console): add impersonation price item (logto-io#6269)

* fix(experience): shrink input field when autofilled by the browser (logto-io#6280)

* feat(console): add impersonation tag to audit log (logto-io#6267)

* feat(core,schemas): implement social/sso link and sync logic (logto-io#6257)

* feat(core,schemas): implement social/sso link and sync logic

implement social/sso link and sync logic

* test(core): add intergration tests

add integration tests

* feat(core): add mfa verification guard (logto-io#6262)

add mfa verification guard

* chore: remove feature guard for token exchange (logto-io#6246)

* chore: add changeset for impersonation (logto-io#6251)

* chore(elements): move check to build

* chore(deps): upgrade typescript

* chore(elements): add locale changes

* chore(deps): upgrade react

* chore(elements): check git existence

* feat(schemas): init app_secrets table

* feat(core): multiple app secrets

* refactor(core,schemas): refactor `CodeVerification` (logto-io#6277)

* refactor(core,schemas): refactor the CodeVerification class

split the CodeVerification class into EmailCodeVerification and PhoneCodeVerification

* refactor(core,schemas): split CodeVerification type

split CodeVerification type

* fix(core): code review updates

code review updates

* feat: add content schema to HTTP 201 CREATED messages (logto-io#6244)

feat: add content schema to 201 messages

* feat(console,phrases): add bring your ui quota item to pricing table (logto-io#6274)

* refactor(console,phrases,schemas): increase file upload size limit to 10mb (logto-io#6258)

refactor(console,phrases,schemas): increase file upload size limit to 10 mb

* feat(elements): init modal and input

* refactor: fix phrases

* feat(elements): init user provider

* feat(elements): update name

* feat(console,phrases): add bring your UI feature paywall (logto-io#6275)

feat(console,phrases): add bring your ui feature paywall

* chore: update README.md (logto-io#6297)

* chore: update README.md

* chore: add awesome list

* style(experience): improve notched border animation (logto-io#6296)

* fix(console): sidebar width should not be shrunk (logto-io#6299)

* refactor(core): extract password-validator (logto-io#6282)

* refactor(core): extract password-validator

extract password validator

* fix(core): update comments and rename method name

update comment and rename method name

* refactor(console): update file uploader component to 80px fixed height

* fix(core): should not sync registered identifier from social (logto-io#6283)

should not sync registered identifier from social

* style(experience): use brand loading color for buttons (logto-io#6302)

* chore(console): remove dev feature guard (logto-io#6303)

* refactor(core): extract helpers and provision methods (logto-io#6285)

extract helpers and provision methods

* feat(console): support multiple app secrets

* refactor(phrases): improve bring your ui field description

* fix(console): add cloud guard to bring your ui form field

* refactor(schemas): increase max upload file size limit to 20MB

* fix(core): disable bring your ui feature for admin tenant (logto-io#6300)

* fix(console): should be able to remove the zip on upload error (logto-io#6306)

* refactor: generate application secret on creation

* fix(console): fix loading and error handling for org details page (logto-io#6313)

* refactor(console): keep button loading before redirecting to sign-in success page (logto-io#6305)

* refactor: use vite for demo app

* refactor(core): log app secret name

* chore(phrases): sync keys and translate (logto-io#6315)

* refactor(core): implement verification records map (logto-io#6289)

* refactor(core): implement verificaiton records map

implement verification records map

* fix(core): fix invalid verification type error

fix invalid verificaiton type error

* fix(core): update the verification record map

update the verification record map

* fix(core): update some comments

update some comments

* refactor(core): polish promise dependency

polish promise dependency

* fix(core): fix the social/sso syncing profile logic

fix the social/sso syncing profile logic

* refactor(core): optimize the verification records map

optimize the verification records map

* fix(core): fix set method of VerificationRecord map
fix set method of VerificationRecord map

* refactor(experience): use button loading for social sign-in (logto-io#6316)

* chore: add comment

* chore: add comment

* refactor(console): use vite

* refactor(experience): use vite

* refactor(console): use local mermaid import

* fix(console): use correct public url (logto-io#6325)

* refactor(console, experience): optimize bundling (logto-io#6326)

* refactor(console, experience): optimize bundling

* fix: use correct favicon paths

* chore: use dynamic react dependency checking in bundling

* refactor(core): rename some file names and methods (logto-io#6321)

* refactor(core): rename some files name and methods

rename some files name and methods, fix some comments

* chore: update comments

update comments

* chore: update comments

update comments

* chore: polish the words

polish the words

* fix(console): check scope only when data is ready (logto-io#6329)

* feat(core,schemas): implement profile fulfillment flow (logto-io#6293)

* feat(core,schemas): implement profile fulfillment flow

implement profile fulfillment flow

* fix(test): fix integration tests

fix integration tests

* fix(core): fix rebase issue

fix rebase issue

* refactor(core): refactor the interaction set profile flow

refactor the interaction set profile flow

* test(core): add profile fulfillment integration tests (logto-io#6294)

* test(core): add profile fufillment integration tests

add profile fufillment integration tests

* fix: fix integration tests

fix integration tests

* refactor(test): rebase and update the latest profile api

rebase and update the latest profile api

* fix(console): css loaded svg should be rendered properly (logto-io#6333)

* fix(core): fix some webhook api body status 404 bug (logto-io#6311)

* fix(core): fix some webhook api body status 404 bug

fix some webhook api body status 404 bug

* fix(core): improve the webhook trigger logic

improve the webhook trigger logic

* chore: add changeset

add changeset

* chore: update the changeset

update the changeset

* feat(core): implement the WebAuthn verification (logto-io#6308)

feat(core): implement the webauthn verification

implement the webauthn verification

* feat(schemas): add custom data to application (logto-io#6309)

* feat(core,schemas): add application custom data

add application custom data

* test(core): add update application with new custom data test

add update application with new custom data test

* refactor(console): increase custom ui assets upload timeout to 5 mins (logto-io#6319)

refactor(console): increase custom ui assets upload timeout to 5mins

* refactor: update logto/core cloud API usage

* refactor: update code according to CR

* refactor(console): update admin console using new pricing model (logto-io#6295)

* refactor(console): update cloud API calls

* refactor: update code according to CR

* refactor: correct component usage

* refactor(console): safely lazy load pages (logto-io#6332)

* refactor(console): safely lazy load pages

* chore(console): use react-safe-lazy

* feat(core): implement the missing mfa bind and guard flow (logto-io#6320)

* feat(core): implement the mfa binding flow

implment the mfa binding flow

* fix(test): fix integration tests

fix integration tests

* fix(core): fix the wrong status code

fix the wrong status code

* refactor(core): refactor bind backup codes

refactor bind backup codes

* refactor(core): extract isNewMfaVerification property (logto-io#6338)

extract isNewMfaVerifrication property

* refactor(core): refactor backup code generates flow (logto-io#6339)

refactor(core): refactor backup code generate flow

refactor backup code generate flow

* fix(console): dragging anchor in the color picker on application branding page (logto-io#6340)

* test(core): add the mfa binding integration tests (logto-io#6330)

* refactor(core): refactor backup code generate flow

refactor backup code generate flow

* fix(core): fix api payload

fix api payload

* test(core): implement the mfa binding integration tests

implement the mfa binding integration tests

* test(core): rebase backup code refactor

rebase backup code refactor

* style(console): fix custom jwt guide card style (logto-io#6343)

* refactor(console): block page navigation when uploading custom ui assets (logto-io#6342)

* chore(console): update bring your ui documentation link (logto-io#6317)

chore(console): add bring your ui documentation link

* fix(elements): fix user context tag name (logto-io#6346)

* chore: launch multiple app secrets

* chore: launch multiple app secrets

* refactor(core): use tsup for building

* refactor: use tsup for building

* refactor(console): improve ux

* chore: fix failed tests

* refactor(connector): use tsup for building

* ci: add check job

* feat(console): remove beta tag for protected app (logto-io#6341)

* feat(console): add passport.js guide (logto-io#6344)

* chore: update plausible urls (logto-io#6349)

* refactor(console, experience): solve sass deprecations (logto-io#6356)

* fix(console): fix the plan title for subscription plan selector (logto-io#6348)

* refactor(core): refactor openapi docs for protected app (logto-io#6331)

* refactor: update per review

* feat: allow app secret edit (logto-io#6352)

* fix(console): add dev guard on new pricing model subscription hooks (logto-io#6363)

* feat(core): migrate register flow affiliate report logic (logto-io#6334)

Migrate the new user affiliate flow from interaction API. 

- `postAffiliateLogs` is forked from  `routes/interaction/actions/helpers.ts`

* refactor(core): extract verified interaction guard middleware (logto-io#6336)

* refactor(core): refactor backup code generate flow

refactor backup code generate flow

* fix(core): fix api payload

fix api payload

* fix(core): fix rebase issue

fix rebase issue

* refactor(core): extract verified interaction guard middleware

extract verified interaction guard middleware

* refactor(console): fix text overflow issue (logto-io#6366)

* refactor(core): make the interaction event mandatory (logto-io#6337)

* refactor(core): refactor backup code generate flow

refactor backup code generate flow

* fix(core): fix api payload

fix api payload

* fix(core): fix rebase issue

fix rebase issue

* refactor(core): make the interaction event mandatory

make the interaction event mandatory

* test: update integration tests

update integration tests

* fix(core): fix the middleware apply bug

fix the koaExperienceInteraction middleware apply bug

* feat(core): add webhooks middleware to experience api (logto-io#6357)

* refactor(core): refactor backup code generate flow

refactor backup code generate flow

* fix(core): fix api payload

fix api payload

* fix(core): fix rebase issue

fix rebase issue

* feat(core): add hooks middleware to experience APIs

add interaction hooks to experience APIs

* refactor(core): refactor experience API context type

refactor experience API context type

* feat(connector): added postmark connector

* chore: remove unused deps (logto-io#6372)

* chore: remove unused deps

* chore: fix version

* refactor(core): improve swagger auth description (logto-io#6367)

* feat(core,schemas): add auditLogs to experience API (logto-io#6361)

* refactor(core): refactor backup code generate flow

refactor backup code generate flow

* fix(core): fix api payload

fix api payload

* fix(core): fix rebase issue

fix rebase issue

* feat(core,schemas): add auditLogs to experience API

add auditLogs to experience API

* refactor(core): allow cloudflare insights origin in csp (logto-io#6375)

refactor(core): allow cloudflare csp

* feat(core,schemas): add mandatory password guard on register (logto-io#6368)

* refactor(core): refactor backup code generate flow

refactor backup code generate flow

* fix(core): fix api payload

fix api payload

* fix(core): fix rebase issue

fix rebase issue

* feat(core,schemas): add mandatory password guard on register

add mandatory password guard on register

* feat: add advanced search params to all supported endpoints (logto-io#6358)

* feat: add search params to list users endpoint

* feat: implement advanced search for all supported endpoints

* chore(deps): update dependency nock to v14.0.0-beta.9 (logto-io#6243)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat(cli): add cli command to setup custom ui local debugging proxy (logto-io#6365)

* feat(cli): add proxy

* refactor(cli): polish code per comments

* refactor(cli): polish code

* refactor(cli): support serving static files

* chore: add changeset

* refactor: polish code

* refactor(cli): polish code

* refactor(cli): make json parse safer

* feat(core,console,phrases): add custom data editor to application details page (logto-io#6370)

* feat(core,console,phrases): add custom data editor to application details page

add custom data editor to application details page

* chore: add changeset

add changeset

* fix(core): fix input params bug

fix input params bug

* fix(test): fix the integration tests

fix the integration tests

* fix(console): use the form controller element

use the form controller element

* fix(core,console): remove deepPartial statement

remove deepPartial statement from the patch application API payload guard

* fix(test): fix backchannel integration test

fix backchannel integration test

* fix(core): allow non-json body type when parsing (logto-io#6379)

* refactor(core): make password optional in NewPasswordIdentity (logto-io#6377)

refactor(core): make password optional in NewPasswordIdentity verification

make password optioanl in NewPasswordIdentity verification

* refactor(console): get and check `skuId` from checkout session (logto-io#6369)

* refactor(console): get and check skuId from checkout session

* chore: update @logto/cloud dependency

* refactor: add tests for content-type in oidc apis (logto-io#6380)

* refactor(console): delay module loading suspense component display by 500ms (logto-io#6345)

* chore(console): remove redunant login hint usage for invitation (logto-io#6385)

* fix(core): error data bug fixing (logto-io#6382)

fix(core): error code bug fixing

error code bug fixing

* refactor(console): update billing info showed in subscription details page (logto-io#6384)

* fix(console): add in-line error message (logto-io#6386)

* fix(console): add in-line error message

add in-line error message

* refactor(console): remove old validation logic

remove old validation logic

* fix(console): create tenant button should stretch to full width (logto-io#6381)

* fix(console): manual update subscription data when add/delete resources (logto-io#6360)

* fix(console): add post response hook to update subscription info for useApi hook

* refactor: wrap sync subscription data method

* chore(phrases): update content (logto-io#6392)

chore: update content

* fix(console): fix the subscription plan display in tenant dropdown (logto-io#6393)

* refactor(core): should not guard sso authentication flow (logto-io#6394)

should not guard mfa and profile fulfillment for the sso authentication flow

* fix(core): should not throw when not adding any new roles to a user (logto-io#6387)

* fix(console): should not call cloud API when tenant ID is not valid (logto-io#6399)

* refactor(console): improve guide logo and contact us logo display (logto-io#6391)

* feat(core,schemas): add support for argon2d and argon2id (logto-io#6404)

* feat(console): support next auth v5 (logto-io#6397)

* feat: add add-on feature notice/tag

* chore: define add on unit price temporarily

* refactor: produce br outputs (logto-io#6376)

* refactor: produce br outputs

* refactor: fix favicon url

* refactor: add `report:subscription:updates` Cloud scope (logto-io#6403)

* Revert "refactor: add `report:subscription:updates` Cloud scope" (logto-io#6412)

Revert "refactor: add `report:subscription:updates` Cloud scope (logto-io#6403)"

This reverts commit e1922e9.

* fix(console): fix unexpected 401 error toast (logto-io#6416)

* feat(core): add Sentinel guard (logto-io#6374)

feat(core): add sentinel protection

add sentinel protection

* feat(core): support google one tap (logto-io#6395)

* feat(core): support google one tap

support google one tap verification

* fix(core): fix google one tap verification error

fix google one tap verification error

* fix(test): optimize social verification test

optimize social verificaiton tests

* fix(test): update social verification ut

update social verification util unit test

* refactor(core,schemas): refactor the register flow (logto-io#6401)

* refactor(core,schemas): refactor the registration flow

refactor the registraction flow

* fix(core): remove unused method

remove unused method

* fix(test): remove legacy test

remove legacy test

* fix(core): fix webauthn verificaiton api

fix webauthn verification api

* feat(console): add new usage display for pro subscription plan (logto-io#6413)

* release: version packages (logto-io#6197)

* Fixing missing variables.

---------

Co-authored-by: Gao Sun <[email protected]>
Co-authored-by: simeng-li <[email protected]>
Co-authored-by: silverhand-bot <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Misaka_L <[email protected]>
Co-authored-by: Xiao Yijun <[email protected]>
Co-authored-by: wangsijie <[email protected]>
Co-authored-by: Charles Zhao <[email protected]>
Co-authored-by: Darcy Ye <[email protected]>
Co-authored-by: Mostafa Moradian <[email protected]>
Co-authored-by: Sten Roger Sandvik <[email protected]>
SamSalvatico added a commit to ogcio/logto that referenced this pull request Sep 3, 2024
* chore(schemas): add reserved plan ID for admin tenant (logto-io#5976)

* feat(core): report oidc exceptions to the appInsights (logto-io#5978)

report oidc exceptions to the appInsights

* refactor(console): click console logo should navigate to root page (logto-io#5981)

* fix(console): language switch should work on profile page (logto-io#5980)

* refactor(core): try to fix uncaught exception (logto-io#5982)

* refactor(console): use permanently delete (logto-io#5979)

* refactor(core): optimize redis error handling (logto-io#5965)

* chore(deps): update dependency @testing-library/react to v16 (logto-io#5984)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(connector): improve DingTalk web connector readme (logto-io#5977)

* feat: add dingtalk connector

* refactor(connector): optimize codes

* refactor(connector): optimize the logic of getting user phone

* docs(connector): add English configuration guide for DingTalk

* docs(connector): add table of contents

* docs(connector): optimize format

* chore(connector): update DingTalk web connector readme

* chore(connector): apply suggestions from code review

Co-authored-by: Darcy Ye <[email protected]>
Co-authored-by: Charles Zhao <[email protected]>

---------

Co-authored-by: aidenlu <[email protected]>
Co-authored-by: Darcy Ye <[email protected]>
Co-authored-by: Charles Zhao <[email protected]>

* chore(deps): update dependency i18next-browser-languagedetector to v8 (logto-io#5850)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: remove dev flags and add changeset for m2m guide feature (logto-io#5983)

* feat(console): add new feature content for m2m integration guide (logto-io#5947)

* refactor(console): always display role creation hint in role assignment modal (logto-io#5988)

* refactor(core,schemas): add user detail payload to User.Deleted webhook event (logto-io#5986)

* refactor(core,schemas): add user detail payload to User.Deleted DataHook event

add user detail data payload to the User.Deleted DataHook event

* fix(core): fix unit test

fix unit test

* refactor(console,phrases): update role assignment modal phrases (logto-io#5989)

* refactor(core): reorg organization routes

* refactor(core): reorg organization queries

* feat(schemas): init organization email domains table

* feat(core): organization email domains apis

* chore: add api docs

* refactor: fix tests

* feat(core): implement organization jit provisioning

* refactor(core): trigger organization membership updated hook from jit

* refactor: fix tests

* feat(console): implement organization jit ui

* feat(core,console): enable backchannel logout

* chore: add tests and changeset

* chore(console,core): launch organization jit

* feat(core,console): organization mfa requirement

* chore: add tests

* feat: automatic social account linking (logto-io#5881)

* feat: automatic social account linking

* chore: add integration tests

* chore: add changeset

* fix(core): prevent uncaught promise rejection (logto-io#6009)

* fix(core): prevent uncaught promise rejection

prevent uncaught promise rejection crashing the app

* refactor(core): remove inline await

remove inline await statement

* chore(core): update comment

update comment

* refactor(console): allow view and update `user.profile` in settings

* refactor: apply suggestions from code review

Co-authored-by: Charles Zhao <[email protected]>

* refactor(console): update jit styles

* feat(core,console): organization jit roles

* refactor: add organization jit role api tests

* chore: update changeset

* style(console): update tab item style in readme docs (logto-io#6013)

* refactor(console): imporve custom phrase fetch request error handling (logto-io#6015)

* refactor(console): improve webhook test request error handling (logto-io#6017)

* refactor: rename method

* feat(connector): google one tap

* feat(core): google one tap

* feat(experience): google one tap

* chore: add tests

* chore: add tests

* refactor(console): update spring boot api protection guide (logto-io#6018)

update spring boot api protection guide

* refactor(console,experience,test): decouple isDevFeatureEnabled with isIntegrationTest (logto-io#6012)

* refactor(console,experience,test): decouple isDevFeatureEnabled with isIntegrationTest

decouple isDevFeatureEnabled with isIntegrationTest ENV variables

* chore: update environment variable get method

update environment variable get method

* refactor(console): improve swr error handling that previously omitted (logto-io#6021)

* chore: add comments

* chore: add changeset (logto-io#6004)

* feat: add dev feature disabled test (logto-io#6014)

feat: implement dev feature disabled integration test

implement dev feature desiabled integration test

* chore: update README.md (logto-io#6038)

* refactor(console): show sso status in jit domains (logto-io#6040)

* feat(console): google one tap (logto-io#6034)

* test(core): implement sso related integration tests (logto-io#6041)

* test(core): implement sso related integration tests

implement sso related integration tests

* chore(core): remove unnecessary comments

remove unnecessary comments

* feat(console): add Ruby app guide

* chore(deps): update docker/build-push-action action to v6 (logto-io#6042)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(connector): update outdated links in connector readme (logto-io#6039)

* refactor(console): support non-svg logos

* feat(schemas): add `agree_to_terms_policy` for sie table (logto-io#6036)

* feat(console,phrases): support agree to terms policy configuration (logto-io#6037)

* feat(experience): support agree to terms policies (logto-io#6044)

* chore(console): update guide orders (logto-io#6047)

* feat(core): jit organization roles (logto-io#6049)

* refactor(core): update relation queries

* refactor: fix google one tap issues (logto-io#6054)

* chore(schemas): add legacy-pro tag to reserved plan ID (logto-io#6061)

* feat(core): init organization app apis

* refactor(core): reorg organization users api docs

* chore: skip tests if needed

* style(experience): add margin-bottom for terms checkbox on sign-in page (logto-io#6058)

* chore(test): reorg the sso connector api cleanup logic (logto-io#6053)

reorg the sso connector api cleanup logic

* docs(console): add the troubleshooting section in expo guide (logto-io#6052)

* docs(console): add the troubleshoot section in expo guide

add the troubleshoot section in expo integration guide

* chore: update the words

update the words

* feat(core): organization jit sso apis

* feat(core): init organization app role apis

* chore: rename legacy pro to grandfathered pro (logto-io#6076)

* refactor(console): update subscription plan ID (logto-io#6074)

* feat(core): organization jit sso

* feat(console): update jit config

* refactor: improve code, content, and styles

* chore(deps): update dependency buffer to v6 (logto-io#6060)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(core): add dev feature tag for openapi.json (logto-io#6025)

chore(core): add dev feature tag for openapi.json to indicate operation should not show up in swagger.json

* chore(deps): update ikalnytskyi/action-setup-postgres action to v6 (logto-io#5815)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(experience): apply agree to terms policy for sso (logto-io#6080)

* chore: update changeset (logto-io#6077)

* refactor(core): update naming and fix typos

* refactor(core): reorg organization routes

* fix: fix dev feature disabled integration tests

fix dev feature disabled integration tests

* feat(core): issue subject tokens (logto-io#6045)

* chore: update code owners (logto-io#6081)

* refactor(core): return roles in organization app get api

* feat: organization role types

* chore: fix tests

* feat(core): get application organizations api

* feat(core): update application organization role apis

* fix: change special character to fix root paramter naming issue

feat: add customParameters function for fixing tenantId error on `/api/.well-known/endpoints/{tenantId}`

* fix: update mocks and docstrings

* feat(console): show organization list for m2m apps

* refactor: filter whole supplement document if needed (logto-io#6085)

* refactor: update status code

* feat(console): m2m pages in organizations

* refactor: add changeset and improve code

* refactor(core): fork client credentials grant

* feat: support prompt config for some built-in connectors (logto-io#6023)

* feat: support prompt config for some built-in connectors

* chore: adopt code review suggestions

Co-authored-by: Gao Sun <[email protected]>

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor: refactor integration test ci job (logto-io#6095)

* fix: remove dev feature diff check

remove dev feature diff check

* refactor: refactor alteration integration test ci job

refactor alteration integration test ci job

* fix: fix the dev feature disbaled integration tests

fix the dev feature disabled integration tests

* fix: fix alteration-compatibility-test

fix alteration-compatibility-test

* feat(console,phrases): add issuer endpoint to application form (logto-io#6094)

* feat(console,phrases): add issuer endpoint to application form

add issuer endpoint to the application form

* chore: add changeset

add changeset

* fix(schemas): explicitly set search path (logto-io#6101)

* refactor(console): update role-related content and components (logto-io#6091)

* refactor(console): hide backchannel for m2m apps (logto-io#6075)

* refactor: add brief intro in swagger.json (logto-io#6102)

* fix: include `tenantId` and its root param in responses (logto-io#6092)

* fix: include tenantId and its root param in responses

* refactor: use shared object

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(experience,phrases): update resend passcode phrases (logto-io#6103)

* feat(core): add hasPassword field to custom JWT user context (logto-io#6096)

* refactor: handle potential errors during ky requests in koa-auth middleware (logto-io#6112)

* feat(core): issue organization token via client credentials (logto-io#6098)

* feat(core): issue organization token via client credentials

* refactor: fix tests

* refactor(console): upgrade mdx packages

* refactor(console): remove unused config

* chore: fix typo (logto-io#6110)

* refactor: update nuxt guide (logto-io#6114)

* refactor: update nuxt guide

* refactor: polish content

* refactor(console): update ruby guide (logto-io#6116)

* refactor(console): update ruby guide

* refactor(console): support further readings

* refactor(console): reorg docs

* refactor(console): update next guide (logto-io#6119)

* refactor(core): update grant comments (logto-io#6120)

* chore: update README.mdx (logto-io#6121)

Added a missing backtick that breaks layout

* refactor(console): update swift guide (logto-io#6123)

* refactor(console): polish ui (logto-io#6122)

* refactor(console): polish ui

* refactor: fix code editor title color

* refactor(console): use correct array for checking enterprise sso (logto-io#6135)

* refactor(console): use correct array for checking enterprise sso

* refactor(console): hide add connector button when no connector available

* refactor(console): fix sso connector check conditions in the organization jit section

* refactor(console): update styles

* refactor(console): update express guide (logto-io#6124)

* refactor(console): polish android guide (logto-io#6131)

* ci: refactor integration tests workflow

* ci: add spaces

* refactor(test): use secure random method in integration test util (logto-io#6139)

* refactor(console): update python and php guide (logto-io#6136)

* refactor(console): update python/php console guide

* refactor(console): improve php guide

* refactor(console): improve python guide

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): polish guides

* chore(console): remove unmaintained remix guide (logto-io#6137)

* refactor(console): update golang guide (logto-io#6134)

* refactor(console): update golang guide

* refactor: use imported uris for go docs

* refactor(console): fix switch styles (logto-io#6132)

* refactor(console): fix php guide (logto-io#6143)

* feat: demo app dev panel (logto-io#6105)

* docs(console): update the sveltekit guide (logto-io#6130)

* docs(console): update the sveltekit guide

update the sveltekit guide

* chore(console): reorg the display user section in svltekit

reorg the display user section in svltekit

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* chore: launch jit (logto-io#6127)

* chore: launch m2m app for organizations (logto-io#6129)

* chore: launch m2m app for organizations

* chore: add changeset

* chore: normalize Logto DB region role names for DB alteration CI (logto-io#6144)

* docs(console): update the expo SDK integration guide (logto-io#6126)

* docs(console): update the expo SDK integration guide

update the expo SDK integrtion guide

* chore(console): update rn guide section title

update rn guide section title

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* feat(core,schemas): token exchange grant (logto-io#6057)

* docs(console): update flutter intergration guide (logto-io#6125)

improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* fix(experience): add missing `agreeToTermsPolicy` deps (logto-io#6148)

* docs(console): update the capacitor integration guide (logto-io#6128)

* docs(console): update the capacitor integration guide

update the capacitor integration guide

* fix(console): reorg capacitor guide

reorg capacitor guide

* chore(console): update the section title

update the section title

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor: fix mermaid in production (logto-io#6149)

Use dynamic CDN import to use Mermaid as Parcel has issues on handling the
static import in production.

* ci: rerun integration tests on failure (logto-io#6141)

* docs(console): update the java spring guide (logto-io#6133)

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): add retry button on error (logto-io#6158)

* refactor(console): update vanilla js integration guide (logto-io#6156)

* refactor(console): update vanilla js integration guide

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): update react integration guide (logto-io#6151)

* refactor(console): update react integration guide

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): update vue integration guide (logto-io#6153)

* refactor(console): update vue integration guide

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): update angular integration guide (logto-io#6157)

* refactor(console): update angular integration guide

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): load mermaid in dev (logto-io#6155)

* feat(core): third-party applications are not allowed for token exchange (logto-io#6100)

* feat(core,schemas): token exchange grant

* feat(core): third-party applications are not allowed for token exchange

* refactor: update compare DB alteration scripts (logto-io#6152)

* refactor: update compare DB alteration scripts

* chore: add comments

* refactor: upgrade logto sdks (logto-io#6160)

* fix(console): fix broken api resource guides (logto-io#6161)

* feat(core): organization token for token exchange flow (logto-io#6106)

* feat(core,schemas): token exchange grant

* feat(core): third-party applications are not allowed for token exchange

* feat(core,schemas): token exchange grant

* feat(core): organization token for token exchange flow

* refactor(console): optimize api resource guides (logto-io#6162)

* fix(console): fix custom element swap in mdx (logto-io#6166)

* refactor(console): add aggregated npm installation component (logto-io#6159)

* refactor: update ci and package (logto-io#6167)

* refactor: update ci and package

* chore: fix tests

* fix(console): hide error toast for non-existed application in audit logs (logto-io#6168)

* fix(console): hide error toast for non-existed application in audit logs

* chore: add changeset

* feat: add `operationId` to HTTP methods on paths (logto-io#6108)

* feat: add operationId to HTTP methods on paths

* refactor(core): strictly handle routes for building operation id

* chore: add changeset

* refactor: reorg code

* refactor: use get as verb for singular items

---------

Co-authored-by: Gao Sun <[email protected]>

* feat(schemas): custom ui assets db update (logto-io#6010)

* fix(core): issue `organization_id` claim for client credentials (logto-io#6170)

* feat(core): handle oidc scopes for token exchange (logto-io#6147)

* feat(core,schemas): token exchange grant

* feat(core): third-party applications are not allowed for token exchange

* feat(core,schemas): token exchange grant

* feat(core): organization token for token exchange flow

* feat(core): handle oidc scopes for token exchange

* chore(deps): update dependency @rollup/plugin-commonjs to v26 (logto-io#5994)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* refactor(experience): rename `SingleSignOnContext` to `UserInteractionContext` (logto-io#6163)

* chore(deps): update logto-io/actions-run-logto-integration-tests action to v4 (logto-io#6176)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update logto-io/actions-package-logto-artifact action to v3 (logto-io#6175)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update silverhand-io/actions-node-pnpm-run-steps action to v5 (logto-io#6174)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* refactor(console): improve dotnet guides

* fix(console): fix page issues (logto-io#6181)

* refactor(console): check mermaid by integration test env (logto-io#6183)

* feat(core): implement new experience API routes (logto-io#5992)

* feat(core): implement new interaction-session management flow

implement a new interaction-session management flow for experience api use

* feat(core): implement password sign-in flow

implement password sign-in flow

* test(core,schemas): add sign-in password tests

add sign-in password tests

* chore(core): update comments

update comments

* refactor(core): rename the password input value key

rename the password input value key

* refactor(core,schemas): refactor the experience API

refactor the exerpience API structure

* chore(test): add devFeature test

add devFeature test

* refactor(core): rename the path

rename the path

* refactor(core,schemas): refactor using the latest API design

refactor using the latest API design

* chore(test): replace using devFeature test statement

replace using devFeature test statement

* fix(core): fix lint error

fix lint error

* refactor(core): refactor experience API implementations

refactor experience API implementations

* refactor(core): replace with switch

replace object map with switch

* refactor: apply suggestions from code review

* refactor(core): refactor the interaction class
 refactor the interaction class

* refactor(core): update the user identification logic

update the user identification logic

---------

Co-authored-by: Gao Sun <[email protected]>

* feat(core): implement verification code verification API (logto-io#6001)

* feat(core,schemas): implement the verification code flow

implement the verification code flow

* chore(core): fix rebase issue

fix rebase issue

* refactor(console): add chrome extension guide (logto-io#6178)

* feat(core,schemas): implement social verification experience API endpoints (logto-io#6150)

feat(core,schemas): implement the social verification flow

implement the social verificaiton flow

* release: version packages (logto-io#5987)

* feat(cli): added ogcio folder

* chore(cli): added ref to ogcio command

* feat(core): added env sample

* chore(cli): added port collision fix

* chore(core): updated docker compose

* chore(cli): fixed dockerfile

* chore(cli): added makefile

* chore(core): updated package json

* chore(core): updated run logto remote

* chore(core): updated pr request template

* chore(cli): ogcio connectors

* chore(phrases): updated errors

* chore(core): added lot of stuffs

* fix(cli): fixed port

* workflow main

* dockerignore

* readme

* basics

* basics

* basics

* basics

* eof

* eof

* eof

* chore(core): synced

---------

Co-authored-by: Darcy Ye <[email protected]>
Co-authored-by: simeng-li <[email protected]>
Co-authored-by: Charles Zhao <[email protected]>
Co-authored-by: Gao Sun <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: aiden <[email protected]>
Co-authored-by: aidenlu <[email protected]>
Co-authored-by: Xiao Yijun <[email protected]>
Co-authored-by: wangsijie <[email protected]>
Co-authored-by: Mostafa Moradian <[email protected]>
Co-authored-by: ScreenCom User <[email protected]>
Co-authored-by: silverhand-bot <[email protected]>
peschina added a commit to ogcio/logto that referenced this pull request Sep 17, 2024
* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

* fix(cli): fix logto pipeline (#40)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* feat: logto uat changes (#43)

* feat: logto uat changes

* Update pipeline-variables/uat.yml

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Sara Zanellato <[email protected]>

* Test migration command in Terraform (#48)

fix: remove seed commands from dockerfile

* 18630 seed real roles (#45)

* feat(cli): seed roles and permissions into db

* fix(cli): cleanup code

* chore(cli): small update

* chore(cli): refactoring roles

* chore(cli): refactoring organization roles

* chore(cli): update

* chore(cli): rename seeder file (#52)

* chore(cli): rename seeder file

* chore(cli): fix eof new line

* chore: use port 7001 instead of 5001 to avoid conflicts with forms (#56)

* fix(cli): remove secrets from local seeder (#59)

* feat(cli): seed is_third_party flag (#57)

* feat(cli): seed is_third_party flag

* fix(demo-app): trying to ignore the entire seeder local file from gitleaks

* Reverted .gitleaksignore change

---------

Co-authored-by: alfonsograziano <[email protected]>
Co-authored-by: Alfonso Graziano <[email protected]>

* feat(cli): seed multiple redurect uris (#58)

* Feature(ogcio): messaging integration (#60)

* feat(ogcio): added messaging permissions locally

* feat(core): updated seeder for deployments

* chore(core): added EOL

---------

Co-authored-by: Alfonso Graziano <[email protected]>

* Add MyGovId Mock service to Logto (#55)

* feat(demo-app): copied mock service from life events repo

* feat(demo-app): add mock users + fix build

* feat(demo-app): changed port to not clash with 3005 in life-events auth-service

* fix(demo-app): trying to ignore the entire seeder local file from gitleaks

* feat(cli): seeder updates already existing entries (#61)

* feat(cli): seeder updates already existing entries

* feat(cli): seeder file updated

* feat(cli): update

* feat(cli): documenting the seeders limitations

* feat(cli): updated documentation

* Deploy STA in DEV (#63)

* Align staging to dev (#37)

Add staging pipeline file (#36)

* add file

* fix

* Update staging (#39)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

---------

Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>

* fix(cli): fix seeder to handle empty data (#42)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* chore(cli): cleanup

* fix(cli): azure pipeline

* [17584] Deploy to staging (#47)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

* fix(cli): fix logto pipeline (#40)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* feat: logto uat changes (#43)

* feat: logto uat changes

* Update pipeline-variables/uat.yml

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>

* [18810] Deploy to staging (#50)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

* fix(cli): fix logto pipeline (#40)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* feat: logto uat changes (#43)

* feat: logto uat changes

* Update pipeline-variables/uat.yml

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Sara Zanellato <[email protected]>

* Test migration command in Terraform (#48)

fix: remove seed commands from dockerfile

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>

* [18630] Deploy renamed seeder to staging (#53)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

* fix(cli): fix logto pipeline (#40)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* feat: logto uat changes (#43)

* feat: logto uat changes

* Update pipeline-variables/uat.yml

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Sara Zanellato <[email protected]>

* Test migration command in Terraform (#48)

fix: remove seed commands from dockerfile

* 18630 seed real roles (#45)

* feat(cli): seed roles and permissions into db

* fix(cli): cleanup code

* chore(cli): small update

* chore(cli): refactoring roles

* chore(cli): refactoring organization roles

* chore(cli): update

* chore(cli): rename seeder file (#52)

* chore(cli): rename seeder file

* chore(cli): fix eof new line

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>

* 18941 Deploy dev into stage (#62)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

* fix(cli): fix logto pipeline (#40)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* feat: logto uat changes (#43)

* feat: logto uat changes

* Update pipeline-variables/uat.yml

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Sara Zanellato <[email protected]>

* Test migration command in Terraform (#48)

fix: remove seed commands from dockerfile

* 18630 seed real roles (#45)

* feat(cli): seed roles and permissions into db

* fix(cli): cleanup code

* chore(cli): small update

* chore(cli): refactoring roles

* chore(cli): refactoring organization roles

* chore(cli): update

* chore(cli): rename seeder file (#52)

* chore(cli): rename seeder file

* chore(cli): fix eof new line

* chore: use port 7001 instead of 5001 to avoid conflicts with forms (#56)

* fix(cli): remove secrets from local seeder (#59)

* feat(cli): seed is_third_party flag (#57)

* feat(cli): seed is_third_party flag

* fix(demo-app): trying to ignore the entire seeder local file from gitleaks

* Reverted .gitleaksignore change

---------

Co-authored-by: alfonsograziano <[email protected]>
Co-authored-by: Alfonso Graziano <[email protected]>

* feat(cli): seed multiple redurect uris (#58)

* Feature(ogcio): messaging integration (#60)

* feat(ogcio): added messaging permissions locally

* feat(core): updated seeder for deployments

* chore(core): added EOL

---------

Co-authored-by: Alfonso Graziano <[email protected]>

* Add MyGovId Mock service to Logto (#55)

* feat(demo-app): copied mock service from life events repo

* feat(demo-app): add mock users + fix build

* feat(demo-app): changed port to not clash with 3005 in life-events auth-service

* fix(demo-app): trying to ignore the entire seeder local file from gitleaks

* feat(cli): seeder updates already existing entries (#61)

* feat(cli): seeder updates already existing entries

* feat(cli): seeder file updated

* feat(cli): update

* feat(cli): documenting the seeders limitations

* feat(cli): updated documentation

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: William Monteiro <[email protected]>
Co-authored-by: Sara Zanellato <[email protected]>
Co-authored-by: Marius Sebastian Besel <[email protected]>
Co-authored-by: alfonsograziano <[email protected]>
Co-authored-by: SamSalvatico <[email protected]>

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: William Monteiro <[email protected]>
Co-authored-by: Sara Zanellato <[email protected]>
Co-authored-by: Marius Sebastian Besel <[email protected]>
Co-authored-by: alfonsograziano <[email protected]>
Co-authored-by: SamSalvatico <[email protected]>

* 18941 deploy uat in dev (#68)

* [18810] Deploy to UAT (#51)

* Align staging to dev (#37)

Add staging pipeline file (#36)

* add file

* fix

* Update staging (#39)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

---------

Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>

* fix(cli): fix seeder to handle empty data (#42)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* chore(cli): cleanup

* fix(cli): azure pipeline

* [17584] Deploy to staging (#47)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

* fix(cli): fix logto pipeline (#40)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* feat: logto uat changes (#43)

* feat: logto uat changes

* Update pipeline-variables/uat.yml

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>

* Test migration command in Terraform (#48)

fix: remove seed commands from dockerfile

* chore: remove whitespace

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>

* [18630] Deploy renamed seeder to UAT (#54)

* Align staging to dev (#37)

Add staging pipeline file (#36)

* add file

* fix

* Update staging (#39)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

---------

Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>

* fix(cli): fix seeder to handle empty data (#42)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* chore(cli): cleanup

* fix(cli): azure pipeline

* [17584] Deploy to staging (#47)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

* fix(cli): fix logto pipeline (#40)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* feat: logto uat changes (#43)

* feat: logto uat changes

* Update pipeline-variables/uat.yml

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>

* Test migration command in Terraform (#48)

fix: remove seed commands from dockerfile

* [18810] Deploy to staging (#50)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

* fix(cli): fix logto pipeline (#40)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* feat: logto uat changes (#43)

* feat: logto uat changes

* Update pipeline-variables/uat.yml

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Sara Zanellato <[email protected]>

* Test migration command in Terraform (#48)

fix: remove seed commands from dockerfile

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>

* 18630 seed real roles (#45)

* feat(cli): seed roles and permissions into db

* fix(cli): cleanup code

* chore(cli): small update

* chore(cli): refactoring roles

* chore(cli): refactoring organization roles

* chore(cli): update

* chore(cli): rename seeder file (#52)

* chore(cli): rename seeder file

* chore(cli): fix eof new line

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>

* 18941 deploy sta in uat (#64)

* Align staging to dev (#37)

Add staging pipeline file (#36)

* add file

* fix

* Update staging (#39)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

---------

Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>

* fix(cli): fix seeder to handle empty data (#42)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* chore(cli): cleanup

* fix(cli): azure pipeline

* [17584] Deploy to staging (#47)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

* fix(cli): fix logto pipeline (#40)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* feat: logto uat changes (#43)

* feat: logto uat changes

* Update pipeline-variables/uat.yml

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>

* [18810] Deploy to staging (#50)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

* fix(cli): fix logto pipeline (#40)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* feat: logto uat changes (#43)

* feat: logto uat changes

* Update pipeline-variables/uat.yml

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Sara Zanellato <[email protected]>

* Test migration command in Terraform (#48)

fix: remove seed commands from dockerfile

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>

* [18630] Deploy renamed seeder to staging (#53)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

* fix(cli): fix logto pipeline (#40)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* feat: logto uat changes (#43)

* feat: logto uat changes

* Update pipeline-variables/uat.yml

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Sara Zanellato <[email protected]>

* Test migration command in Terraform (#48)

fix: remove seed commands from dockerfile

* 18630 seed real roles (#45)

* feat(cli): seed roles and permissions into db

* fix(cli): cleanup code

* chore(cli): small update

* chore(cli): refactoring roles

* chore(cli): refactoring organization roles

* chore(cli): update

* chore(cli): rename seeder file (#52)

* chore(cli): rename seeder file

* chore(cli): fix eof new line

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: Norbert Nagy <[email protected]>
Co-authored-by: William Monteiro <[email protected]>

* 18941 Deploy dev into stage (#62)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

* fix(cli): fix logto pipeline (#40)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* feat: logto uat changes (#43)

* feat: logto uat changes

* Update pipeline-variables/uat.yml

Co-authored-by: Sara Zanellato <[email protected]>

---------

Co-authored-by: Sara Zanellato <[email protected]>

* Test migration command in Terraform (#48)

fix: remove seed commands from dockerfile

* 18630 seed real roles (#45)

* feat(cli): seed roles and permissions into db

* fix(cli): cleanup code

* chore(cli): small update

* chore(cli): refactoring roles

* chore(cli): refactoring organization roles

* chore(cli): update

* chore(cli): rename seeder file (#52)

* chore(cli): rename seeder file

* chore(cli): fix eof new line

* chore: use port 7001 instead of 5001 to avoid conflicts with forms (#56)

* fix(cli): remove secrets from local seeder (#59)

* feat(cli): seed is_third_party flag (#57)

* feat(cli): seed is_third_party flag

* fix(demo-app): trying to ignore the entire seeder local file from gitleaks

* Reverted .gitleaksignore change

---------

Co-authored-by: alfonsograziano <[email protected]>
Co-authored-by: Alfonso Graziano <[email protected]>

* feat(cli): seed multiple redurect uris (#58)

* Feature(ogcio): messaging integration (#60)

* feat(ogcio): added messaging permissions locally

* feat(core): updated seeder for deployments

* chore(core): added EOL

---------

Co-authored-by: Alfonso Graziano <[email protected]>

* Add MyGovId Mock service to Logto (#55)

* feat(demo-app): copied mock service from life events repo

* feat(demo-app): add mock users + fix build

* feat(demo-app): changed port to not clash with 3005 in life-events auth-service

* fix(demo-app): trying to ignore the entire seeder local file from gitleaks

* feat(cli): seeder updates already existing entries (#61)

* feat(cli): seeder updates already existing entries

* feat(cli): seeder file updated

* feat(cli): update

* feat(cli): documenting the seeders limitations

* feat(cli): updated documentation

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: William Monteiro <[email protected]>
Co-authored-by: Sara Zanellato <[email protected]>
Co-authored-by: Marius Sebastian Besel <[email protected]>
Co-authored-by: alfonsograziano <[email protected]>
Co-authored-by: SamSalvatico <[email protected]>

---------

Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: William Monteiro <[email protected]>
Co-authored-by: Sara Zanellato <[email protected]>
Co-authored-by: Marius Sebastian Besel <[email protected]>
Co-authored-by: alfonsograziano <[email protected]>
Co-authored-by: SamSalvatico <[email protected]>

---------

Co-authored-by: Sara Zanellato <[email protected]>
Co-authored-by: Alfonso Graziano <[email protected]>
Co-authored-by: William Monteiro <[email protected]>
Co-authored-by: Marius Sebastian Besel <[email protected]>
Co-authored-by: alfonsograziano <[email protected]>
Co-authored-by: SamSalvatico <[email protected]>

* Add missing dev dependency in MyGovId mock service (#69)

* fix: add missing dev dependency

* fix: missing file

* chore: add new line EOF

* Chore(OGCIO): makefile run native (#70)

* chore(core): added run native command

* chore(core): re-added old docs

* chore(core): added EOF

* chore: add default public servant user to mygovid mock service and rename public servant (#72)

* chore: add default public servant user to mygovid mock service)

* chore(cli): changed public servant name for payments service

* [18938] Improve DX (#71)

* feat: create docker compose

* fix: add missing dev dependency

* fix: missing file

* chore: add new line EOF

* fix: update dockerfile

* chore: add dockerignore

* chore: add logging to mock

* fix: fix network be to be

* chore: build and push mygovid mock on dev branch only

* fix: remove node-gyp installation

* chore: reorder stages

* fix: dockerfile parameter

* chore: build service on every pr

* fix: dockerfile path

* feat: add env vars for mock endpoints

* chore: remove redundant docker compose db

* chore: spin up db from docker compose local

* fix: remove comment

* chore: remove unused env vars

* Chore(mygovid): set fixed oid and sub (#73)

* chore(core): node to 20.10.0

* chore(connector): fixed oid for users

* chore(core): added .env.sample

* chore(core): add ogcio env vars

* chore(core): updated webhooks

* chore(core): added docker compose db file (#75)

* chore(core): added docker compose db file

* fix(core): fixed mock random string

* chore(core): standalone docker-compose-ogcio-logto file

* [18938] Fix MyGovId mock service image push (#74)

fix: use logto repository in ecr

Co-authored-by: William Monteiro <[email protected]>

* [18938] Run with Docker Compose and remote images (#76)

* fix: local docker

* chore: use mock service image from ecr

* chore: add script

* chore: add make command

* chore: update script to support docker compose file from cdn

* docs: add documentation on docker compose

* chore: add newline

* [18938] Fix yml file reference (#79)

fix: fix yml file reference

* [19838] Add mock service to docker compose local file (#80)

chore: add mygovid mock service build

* Chore(OGCIO): messaging perms (#78)

chore(core): messaging perms

* [18938] Update command to point to HEAD (#81)

* chore: fix config and command in documentation

* chore: update image sha

* feat: added life events permissions (#77)

* [19299] Update to v1.18.0 (#82)

* feat(connector): add DingTalk web connector changeset (#5940)

* fix(console): avoid rendering outdated role options (#5953)

* refactor(console): remove redundant notification from m2m guide (#5954)

* feat(core,toolkit): add new sso_identities claim (#5955)

* feat(core,toolkit): add new sso_identities claim

add new sso_identities claim to the userinfo endpoint

* chore: update changeset

update changeset

* chore: update comments

update comments

* refactor(core): use findUserSsoIdentites query method in user library

use findUserSsoIdentites query method in user library

* refactor: improve user experience (#5958)

* feat(console): show version number for oss (#5950)

* refactor: remove service log fkey (#5959)

* refactor(console): improve onboarding data and subscription fetching (#5960)

* release: version packages (#5868)

* chore: launch us region (#5962)

* chore: update links (#5963)

* fix: use correct `disabled` logic for free plan (#5964)

fix: use correct disable logic for free plan

* fix(console): only show m2m role notification for m2m roles (#5957)

* refactor(console): make long text breakable in roles page (#5956)

* refactor(console): fix plausible hostname (#5968)

* chore(deps): update dependency @logto/cloud to v0.2.5-a7eedce (#5847)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat(console): implement account deletion (#5969)

* feat(console): implement account deletion

* refactor: remove unused phrases

* chore: add i18n phrases

* refactor: add comments and error handling

* fix(console): avoid skipping m2m role assignment after switching browser tabs (#5973)

* fix(core): profile avatar upload should not return 400 error (#5974)

* refactor(console,phrases): update rbac-related phrases (#5975)

* chore(schemas): add reserved plan ID for admin tenant (#5976)

* feat(core): report oidc exceptions to the appInsights (#5978)

report oidc exceptions to the appInsights

* refactor(console): click console logo should navigate to root page (#5981)

* fix(console): language switch should work on profile page (#5980)

* refactor(core): try to fix uncaught exception (#5982)

* refactor(console): use permanently delete (#5979)

* refactor(core): optimize redis error handling (#5965)

* chore(deps): update dependency @testing-library/react to v16 (#5984)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(connector): improve DingTalk web connector readme (#5977)

* feat: add dingtalk connector

* refactor(connector): optimize codes

* refactor(connector): optimize the logic of getting user phone

* docs(connector): add English configuration guide for DingTalk

* docs(connector): add table of contents

* docs(connector): optimize format

* chore(connector): update DingTalk web connector readme

* chore(connector): apply suggestions from code review

Co-authored-by: Darcy Ye <[email protected]>
Co-authored-by: Charles Zhao <[email protected]>

---------

Co-authored-by: aidenlu <[email protected]>
Co-authored-by: Darcy Ye <[email protected]>
Co-authored-by: Charles Zhao <[email protected]>

* chore(deps): update dependency i18next-browser-languagedetector to v8 (#5850)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: remove dev flags and add changeset for m2m guide feature (#5983)

* feat(console): add new feature content for m2m integration guide (#5947)

* refactor(console): always display role creation hint in role assignment modal (#5988)

* refactor(core,schemas): add user detail payload to User.Deleted webhook event (#5986)

* refactor(core,schemas): add user detail payload to User.Deleted DataHook event

add user detail data payload to the User.Deleted DataHook event

* fix(core): fix unit test

fix unit test

* refactor(console,phrases): update role assignment modal phrases (#5989)

* refactor(core): reorg organization routes

* refactor(core): reorg organization queries

* feat(schemas): init organization email domains table

* feat(core): organization email domains apis

* chore: add api docs

* refactor: fix tests

* feat(core): implement organization jit provisioning

* refactor(core): trigger organization membership updated hook from jit

* refactor: fix tests

* feat(console): implement organization jit ui

* feat(core,console): enable backchannel logout

* chore: add tests and changeset

* chore(console,core): launch organization jit

* feat(core,console): organization mfa requirement

* chore: add tests

* feat: automatic social account linking (#5881)

* feat: automatic social account linking

* chore: add integration tests

* chore: add changeset

* fix(core): prevent uncaught promise rejection (#6009)

* fix(core): prevent uncaught promise rejection

prevent uncaught promise rejection crashing the app

* refactor(core): remove inline await

remove inline await statement

* chore(core): update comment

update comment

* refactor(console): allow view and update `user.profile` in settings

* refactor: apply suggestions from code review

Co-authored-by: Charles Zhao <[email protected]>

* refactor(console): update jit styles

* feat(core,console): organization jit roles

* refactor: add organization jit role api tests

* chore: update changeset

* style(console): update tab item style in readme docs (#6013)

* refactor(console): imporve custom phrase fetch request error handling (#6015)

* refactor(console): improve webhook test request error handling (#6017)

* refactor: rename method

* feat(connector): google one tap

* feat(core): google one tap

* feat(experience): google one tap

* chore: add tests

* chore: add tests

* refactor(console): update spring boot api protection guide (#6018)

update spring boot api protection guide

* refactor(console,experience,test): decouple isDevFeatureEnabled with isIntegrationTest (#6012)

* refactor(console,experience,test): decouple isDevFeatureEnabled with isIntegrationTest

decouple isDevFeatureEnabled with isIntegrationTest ENV variables

* chore: update environment variable get method

update environment variable get method

* refactor(console): improve swr error handling that previously omitted (#6021)

* chore: add comments

* chore: add changeset (#6004)

* feat: add dev feature disabled test (#6014)

feat: implement dev feature disabled integration test

implement dev feature desiabled integration test

* chore: update README.md (#6038)

* refactor(console): show sso status in jit domains (#6040)

* feat(console): google one tap (#6034)

* test(core): implement sso related integration tests (#6041)

* test(core): implement sso related integration tests

implement sso related integration tests

* chore(core): remove unnecessary comments

remove unnecessary comments

* feat(console): add Ruby app guide

* chore(deps): update docker/build-push-action action to v6 (#6042)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(connector): update outdated links in connector readme (#6039)

* refactor(console): support non-svg logos

* feat(schemas): add `agree_to_terms_policy` for sie table (#6036)

* feat(console,phrases): support agree to terms policy configuration (#6037)

* feat(experience): support agree to terms policies (#6044)

* chore(console): update guide orders (#6047)

* feat(core): jit organization roles (#6049)

* refactor(core): update relation queries

* refactor: fix google one tap issues (#6054)

* chore(schemas): add legacy-pro tag to reserved plan ID (#6061)

* feat(core): init organization app apis

* refactor(core): reorg organization users api docs

* chore: skip tests if needed

* style(experience): add margin-bottom for terms checkbox on sign-in page (#6058)

* chore(test): reorg the sso connector api cleanup logic (#6053)

reorg the sso connector api cleanup logic

* docs(console): add the troubleshooting section in expo guide (#6052)

* docs(console): add the troubleshoot section in expo guide

add the troubleshoot section in expo integration guide

* chore: update the words

update the words

* feat(core): organization jit sso apis

* feat(core): init organization app role apis

* chore: rename legacy pro to grandfathered pro (#6076)

* refactor(console): update subscription plan ID (#6074)

* feat(core): organization jit sso

* feat(console): update jit config

* refactor: improve code, content, and styles

* chore(deps): update dependency buffer to v6 (#6060)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(core): add dev feature tag for openapi.json (#6025)

chore(core): add dev feature tag for openapi.json to indicate operation should not show up in swagger.json

* chore(deps): update ikalnytskyi/action-setup-postgres action to v6 (#5815)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(experience): apply agree to terms policy for sso (#6080)

* chore: update changeset (#6077)

* refactor(core): update naming and fix typos

* refactor(core): reorg organization routes

* fix: fix dev feature disabled integration tests

fix dev feature disabled integration tests

* feat(core): issue subject tokens (#6045)

* chore: update code owners (#6081)

* refactor(core): return roles in organization app get api

* feat: organization role types

* chore: fix tests

* feat(core): get application organizations api

* feat(core): update application organization role apis

* fix: change special character to fix root paramter naming issue

feat: add customParameters function for fixing tenantId error on `/api/.well-known/endpoints/{tenantId}`

* fix: update mocks and docstrings

* feat(console): show organization list for m2m apps

* refactor: filter whole supplement document if needed (#6085)

* refactor: update status code

* feat(console): m2m pages in organizations

* refactor: add changeset and improve code

* refactor(core): fork client credentials grant

* feat: support prompt config for some built-in connectors (#6023)

* feat: support prompt config for some built-in connectors

* chore: adopt code review suggestions

Co-authored-by: Gao Sun <[email protected]>

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor: refactor integration test ci job (#6095)

* fix: remove dev feature diff check

remove dev feature diff check

* refactor: refactor alteration integration test ci job

refactor alteration integration test ci job

* fix: fix the dev feature disbaled integration tests

fix the dev feature disabled integration tests

* fix: fix alteration-compatibility-test

fix alteration-compatibility-test

* feat(console,phrases): add issuer endpoint to application form (#6094)

* feat(console,phrases): add issuer endpoint to application form

add issuer endpoint to the application form

* chore: add changeset

add changeset

* fix(schemas): explicitly set search path (#6101)

* refactor(console): update role-related content and components (#6091)

* refactor(console): hide backchannel for m2m apps (#6075)

* refactor: add brief intro in swagger.json (#6102)

* fix: include `tenantId` and its root param in responses (#6092)

* fix: include tenantId and its root param in responses

* refactor: use shared object

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(experience,phrases): update resend passcode phrases (#6103)

* feat(core): add hasPassword field to custom JWT user context (#6096)

* refactor: handle potential errors during ky requests in koa-auth middleware (#6112)

* feat(core): issue organization token via client credentials (#6098)

* feat(core): issue organization token via client credentials

* refactor: fix tests

* refactor(console): upgrade mdx packages

* refactor(console): remove unused config

* chore: fix typo (#6110)

* refactor: update nuxt guide (#6114)

* refactor: update nuxt guide

* refactor: polish content

* refactor(console): update ruby guide (#6116)

* refactor(console): update ruby guide

* refactor(console): support further readings

* refactor(console): reorg docs

* refactor(console): update next guide (#6119)

* refactor(core): update grant comments (#6120)

* chore: update README.mdx (#6121)

Added a missing backtick that breaks layout

* refactor(console): update swift guide (#6123)

* refactor(console): polish ui (#6122)

* refactor(console): polish ui

* refactor: fix code editor title color

* refactor(console): use correct array for checking enterprise sso (#6135)

* refactor(console): use correct array for checking enterprise sso

* refactor(console): hide add connector button when no connector available

* refactor(console): fix sso connector check conditions in the organization jit section

* refactor(console): update styles

* refactor(console): update express guide (#6124)

* refactor(console): polish android guide (#6131)

* ci: refactor integration tests workflow

* ci: add spaces

* refactor(test): use secure random method in integration test util (#6139)

* refactor(console): update python and php guide (#6136)

* refactor(console): update python/php console guide

* refactor(console): improve php guide

* refactor(console): improve python guide

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): polish guides

* chore(console): remove unmaintained remix guide (#6137)

* refactor(console): update golang guide (#6134)

* refactor(console): update golang guide

* refactor: use imported uris for go docs

* refactor(console): fix switch styles (#6132)

* refactor(console): fix php guide (#6143)

* feat: demo app dev panel (#6105)

* docs(console): update the sveltekit guide (#6130)

* docs(console): update the sveltekit guide

update the sveltekit guide

* chore(console): reorg the display user section in svltekit

reorg the display user section in svltekit

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* chore: launch jit (#6127)

* chore: launch m2m app for organizations (#6129)

* chore: launch m2m app for organizations

* chore: add changeset

* chore: normalize Logto DB region role names for DB alteration CI (#6144)

* docs(console): update the expo SDK integration guide (#6126)

* docs(console): update the expo SDK integration guide

update the expo SDK integrtion guide

* chore(console): update rn guide section title

update rn guide section title

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* feat(core,schemas): token exchange grant (#6057)

* docs(console): update flutter intergration guide (#6125)

improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* fix(experience): add missing `agreeToTermsPolicy` deps (#6148)

* docs(console): update the capacitor integration guide (#6128)

* docs(console): update the capacitor integration guide

update the capacitor integration guide

* fix(console): reorg capacitor guide

reorg capacitor guide

* chore(console): update the section title

update the section title

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor: fix mermaid in production (#6149)

Use dynamic CDN import to use Mermaid as Parcel has issues on handling the
static import in production.

* ci: rerun integration tests on failure (#6141)

* docs(console): update the java spring guide (#6133)

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): add retry button on error (#6158)

* refactor(console): update vanilla js integration guide (#6156)

* refactor(console): update vanilla js integration guide

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): update react integration guide (#6151)

* refactor(console): update react integration guide

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): update vue integration guide (#6153)

* refactor(console): update vue integration guide

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): update angular integration guide (#6157)

* refactor(console): update angular integration guide

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): load mermaid in dev (#6155)

* feat(core): third-party applications are not allowed for token exchange (#6100)

* feat(core,schemas): token exchange grant

* feat(core): third-party applications are not allowed for token exchange

* refactor: update compare DB alteration scripts (#6152)

* refactor: update compare DB alteration scripts

* chore: add comments

* refactor: upgrade logto sdks (#6160)

* fix(console): fix broken api resource guides (#6161)

* feat(core): organization token for token exchange flow (#6106)

* feat(core,schemas): token exchange grant

* feat(core): third-party applications are not allowed for token exchange

* feat(core,schemas): token exchange grant

* feat(core): organization token for token exchange flow

* refactor(console): optimize api resource guides (#6162)

* fix(console): fix custom element swap in mdx (#6166)

* refactor(console): add aggregated npm installation component (#6159)

* refactor: update ci and package (#6167)

* refactor: update ci and package

* chore: fix tests

* fix(console): hide error toast for non-existed application in audit logs (#6168)

* fix(console): hide error toast for non-existed application in audit logs

* chore: add changeset

* feat: add `operationId` to HTTP methods on paths (#6108)

* feat: add operationId to HTTP methods on paths

* refactor(core): strictly handle routes for building operation id

* chore: add changeset

* refactor: reorg code

* refactor: use get as verb for singular items

---------

Co-authored-by: Gao Sun <[email protected]>

* feat(schemas): custom ui assets db update (#6010)

* fix(core): issue `organization_id` claim for client credentials (#6170)

* feat(core): handle oidc scopes for token exchange (#6147)

* feat(core,schemas): token exchange grant

* feat(core): third-party applications are not allowed for token exchange

* feat(core,schemas): token exchange grant

* feat(core): organization token for token exchange flow

* feat(core): handle oidc scopes for token exchange

* chore(deps): update dependency @rollup/plugin-commonjs to v26 (#5994)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* refactor(experience): rename `SingleSignOnContext` to `UserInteractionContext` (#6163)

* chore(deps): update logto-io/actions-run-logto-integration-tests action to v4 (#6176)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update logto-io/actions-package-logto-artifact action to v3 (#6175)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update silverhand-io/actions-node-pnpm-run-steps action to v5 (#6174)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* refactor(console): improve dotnet guides

* fix(console): fix page issues (#6181)

* refactor(console): check mermaid by integration test env (#6183)

* feat(core): implement new experience API routes (#5992)

* feat(core): implement new interaction-session management flow

implement a new interaction-session management flow for experience api use

* feat(core): implement password sign-in flow

implement password sign-in flow

* test(core,schemas): add sign-in password tests

add sign-in password tests

* chore(core): update comments

update comments

* refactor(core): rename the password input value key

rename the password input value key

* refactor(core,schemas): refactor the experience API

refactor the exerpience API structure

* chore(test): add devFeature test

add devFeature test

* refactor(core): rename the path

rename the path

* refactor(core,schemas): refactor using the latest API design

refactor using the latest API design

* chore(test): replace using devFeature test statement

replace using devFeature test statement

* fix(core): fix lint error

fix lint error

* refactor(core): refactor experience API implementations

refactor experience API implementations

* refactor(core): replace with switch

replace object map with switch

* refactor: apply suggestions from code review

* refactor(core): refactor the interaction class
 refactor the interaction class

* refactor(core): update the user identification logic

update the user identification logic

---------

Co-authored-by: Gao Sun <[email protected]>

* feat(core): implement verification code verification API (#6001)

* feat(core,schemas): implement the verification code flow

implement the verification code flow

* chore(core): fix rebase issue

fix rebase issue

* refactor(console): add chrome extension guide (#6178)

* feat(core,schemas): implement social verification experience API endpoints (#6150)

feat(core,schemas): implement the social verification flow

implement the social verificaiton flow

* release: version packages (#5987)

* chore: update dependencies

* chore: fix wrong conflict resolution

* fix: organization and role assignment to public servant

* chore: remove duplicate tab

---------

Co-authored-by: Darcy Ye <[email protected]>
Co-authored-by: Xiao Yijun <[email protected]>
Co-authored-by: simeng-li <[email protected]>
Co-authored-by: Gao Sun <[email protected]>
Co-authored-by: silverhand-bot <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charles Zhao <[email protected]>
Co-authored-by: aiden <[email protected]>
Co-authored-by: aidenlu <[email protected]>
Co-authored-by: wangsijie <[email protected]>
Co-authored-by: Mostafa Moradian <[email protected]>
Co-authored-by: ScreenCom User <[email protected]>

* 19341 inactive public servant role (#83)

* refactor(console): remove redundant notification from m2m guide (#5954)

* feat(core,toolkit): add new sso_identities claim (#5955)

* feat(core,toolkit): add new sso_identities claim

add new sso_identities claim to the userinfo endpoint

* chore: update changeset

update changeset

* chore: update comments

update comments

* refactor(core): use findUserSsoIdentites query method in user library

use findUserSsoIdentites query method in user library

* refactor: improve user experience (#5958)

* feat(console): show version number for oss (#5950)

* refactor: remove service log fkey (#5959)

* refactor(console): improve onboarding data and subscription fetching (#5960)

* release: version packages (#5868)

* chore: launch us region (#5962)

* chore: update links (#5963)

* fix: use correct `disabled` logic for free plan (#5964)

fix: use correct disable logic for free plan

* fix(console): only show m2m role notification for m2m roles (#5957)

* refactor(console): make long text breakable in roles page (#5956)

* refactor(console): fix plausible hostname (#5968)

* chore(deps): update dependency @logto/cloud to v0.2.5-a7eedce (#5847)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat(console): implement account deletion (#5969)

* feat(console): implement account deletion

* refactor: remove unused phrases

* chore: add i18n phrases

* refactor: add comments and error handling

* fix(console): avoid skipping m2m role assignment after switching browser tabs (#5973)

* fix(core): profile avatar upload should not return 400 error (#5974)

* refactor(console,phrases): update rbac-related phrases (#5975)

* chore(schemas): add reserved plan ID for admin tenant (#5976)

* feat(core): report oidc exceptions to the appInsights (#5978)

report oidc exceptions to the appInsights

* refactor(console): click console logo should navigate to root page (#5981)

* fix(console): language switch should work on profile page (#5980)

* refactor(core): try to fix uncaught exception (#5982)

* refactor(console): use permanently delete (#5979)

* refactor(core): optimize redis error handling (#5965)

* chore(deps): update dependency @testing-library/react to v16 (#5984)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(connector): improve DingTalk web connector readme (#5977)

* feat: add dingtalk connector

* refactor(connector): optimize codes

* refactor(connector): optimize the logic of getting user phone

* docs(connector): add English configuration guide for DingTalk

* docs(connector): add table of contents

* docs(connector): optimize format

* chore(connector): update DingTalk web connector readme

* chore(connector): apply suggestions from code review

Co-authored-by: Darcy Ye <[email protected]>
Co-authored-by: Charles Zhao <[email protected]>

---------

Co-authored-by: aidenlu <[email protected]>
Co-authored-by: Darcy Ye <[email protected]>
Co-authored-by: Charles Zhao <[email protected]>

* chore(deps): update dependency i18next-browser-languagedetector to v8 (#5850)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: remove dev flags and add changeset for m2m guide feature (#5983)

* feat(console): add new feature content for m2m integration guide (#5947)

* refactor(console): always display role creation hint in role assignment modal (#5988)

* refactor(core,schemas): add user detail payload to User.Deleted webhook event (#5986)

* refactor(core,schemas): add user detail payload to User.Deleted DataHook event

add user detail data payload to the User.Deleted DataHook event

* fix(core): fix unit test

fix unit test

* refactor(console,phrases): update role assignment modal phrases (#5989)

* refactor(core): reorg organization routes

* refactor(core): reorg organization queries

* feat(schemas): init organization email domains table

* feat(core): organization email domains apis

* chore: add api docs

* refactor: fix tests

* feat(core): implement organization jit provisioning

* refactor(core): trigger organization membership updated hook from jit

* refactor: fix tests

* feat(console): implement organization jit ui

* feat(core,console): enable backchannel logout

* chore: add tests and changeset

* chore(console,core): launch organization jit

* feat(core,console): organization mfa requirement

* chore: add tests

* feat: automatic social account linking (#5881)

* feat: automatic social account linking

* chore: add integration tests

* chore: add changeset

* fix(core): prevent uncaught promise rejection (#6009)

* fix(core): prevent uncaught promise rejection

prevent uncaught promise rejection crashing the app

* refactor(core): remove inline await

remove inline await statement

* chore(core): update comment

update comment

* refactor(console): allow view and update `user.profile` in settings

* refactor: apply suggestions from code review

Co-authored-by: Charles Zhao <[email protected]>

* refactor(console): update jit styles

* feat(core,console): organization jit roles

* refactor: add organization jit role api tests

* chore: update changeset

* style(console): update tab item style in readme docs (#6013)

* refactor(console): imporve custom phrase fetch request error handling (#6015)

* refactor(console): improve webhook test request error handling (#6017)

* refactor: rename method

* feat(connector): google one tap

* feat(core): google one tap

* feat(experience): google one tap

* chore: add tests

* chore: add tests

* refactor(console): update spring boot api protection guide (#6018)

update spring boot api protection guide

* refactor(console,experience,test): decouple isDevFeatureEnabled with isIntegrationTest (#6012)

* refactor(console,experience,test): decouple isDevFeatureEnabled with isIntegrationTest

decouple isDevFeatureEnabled with isIntegrationTest ENV variables

* chore: update environment variable get method

update environment variable get method

* refactor(console): improve swr error handling that previously omitted (#6021)

* chore: add comments

* chore: add changeset (#6004)

* feat: add dev feature disabled test (#6014)

feat: implement dev feature disabled integration test

implement dev feature desiabled integration test

* chore: update README.md (#6038)

* refactor(console): show sso status in jit domains (#6040)

* feat(console): google one tap (#6034)

* test(core): implement sso related integration tests (#6041)

* test(core): implement sso related integration tests

implement sso related integration tests

* chore(core): remove unnecessary comments

remove unnecessary comments

* feat(console): add Ruby app guide

* chore(deps): update docker/build-push-action action to v6 (#6042)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(connector): update outdated links in connector readme (#6039)

* refactor(console): support non-svg logos

* feat(schemas): add `agree_to_terms_policy` for sie table (#6036)

* feat(console,phrases): support agree to terms policy configuration (#6037)

* feat(experience): support agree to terms policies (#6044)

* chore(console): update guide orders (#6047)

* feat(core): jit organization roles (#6049)

* refactor(core): update relation queries

* refactor: fix google one tap issues (#6054)

* chore(schemas): add legacy-pro tag to reserved plan ID (#6061)

* feat(core): init organization app apis

* refactor(core): reorg organization users api docs

* chore: skip tests if needed

* style(experience): add margin-bottom for terms checkbox on sign-in page (#6058)

* chore(test): reorg the sso connector api cleanup logic (#6053)

reorg the sso connector api cleanup logic

* docs(console): add the troubleshooting section in expo guide (#6052)

* docs(console): add the troubleshoot section in expo guide

add the troubleshoot section in expo integration guide

* chore: update the words

update the words

* feat(core): organization jit sso apis

* feat(core): init organization app role apis

* chore: rename legacy pro to grandfathered pro (#6076)

* refactor(console): update subscription plan ID (#6074)

* feat(core): organization jit sso

* feat(console): update jit config

* refactor: improve code, content, and styles

* chore(deps): update dependency buffer to v6 (#6060)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(core): add dev feature tag for openapi.json (#6025)

chore(core): add dev feature tag for openapi.json to indicate operation should not show up in swagger.json

* chore(deps): update ikalnytskyi/action-setup-postgres action to v6 (#5815)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(experience): apply agree to terms policy for sso (#6080)

* chore: update changeset (#6077)

* refactor(core): update naming and fix typos

* refactor(core): reorg organization routes

* fix: fix dev feature disabled integration tests

fix dev feature disabled integration tests

* feat(core): issue subject tokens (#6045)

* chore: update code owners (#6081)

* refactor(core): return roles in organization app get api

* feat: organization role types

* chore: fix tests

* feat(core): get application organizations api

* feat(core): update application organization role apis

* fix: change special character to fix root paramter naming issue

feat: add customParameters function for fixing tenantId error on `/api/.well-known/endpoints/{tenantId}`

* fix: update mocks and docstrings

* feat(console): show organization list for m2m apps

* refactor: filter whole supplement document if needed (#6085)

* refactor: update status code

* feat(console): m2m pages in organizations

* refactor: add changeset and improve code

* refactor(core): fork client credentials grant

* feat: support prompt config for some built-in connectors (#6023)

* feat: support prompt config for some built-in connectors

* chore: adopt code review suggestions

Co-authored-by: Gao Sun <[email protected]>

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor: refactor integration test ci job (#6095)

* fix: remove dev feature diff check

remove dev feature diff check

* refactor: refactor alteration integration test ci job

refactor alteration integration test ci job

* fix: fix the dev feature disbaled integration tests

fix the dev feature disabled integration tests

* fix: fix alteration-compatibility-test

fix alteration-compatibility-test

* feat(console,phrases): add issuer endpoint to application form (#6094)

* feat(console,phrases): add issuer endpoint to application form

add issuer endpoint to the application form

* chore: add changeset

add changeset

* fix(schemas): explicitly set search path (#6101)

* refactor(console): update role-related content and components (#6091)

* refactor(console): hide backchannel for m2m apps (#6075)

* refactor: add brief intro in swagger.json (#6102)

* fix: include `tenantId` and its root param in responses (#6092)

* fix: include tenantId and its root param in responses

* refactor: use shared object

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(experience,phrases): update resend passcode phrases (#6103)

* feat(core): add hasPassword field to custom JWT user context (#6096)

* refactor: handle potential errors during ky requests in koa-auth middleware (#6112)

* feat(core): issue organization token via client credentials (#6098)

* feat(core): issue organization token via client credentials

* refactor: fix tests

* refactor(console): upgrade mdx packages

* refactor(console): remove unused config

* chore: fix typo (#6110)

* refactor: update nuxt guide (#6114)

* refactor: update nuxt guide

* refactor: polish content

* refactor(console): update ruby guide (#6116)

* refactor(console): update ruby guide

* refactor(console): support further readings

* refactor(console): reorg docs

* refactor(console): update next guide (#6119)

* refactor(core): update grant comments (#6120)

* chore: update README.mdx (#6121)

Added a missing backtick that breaks layout

* refactor(console): update swift guide (#6123)

* refactor(console): polish ui (#6122)

* refactor(console): polish ui

* refactor: fix code editor title color

* refactor(console): use correct array for checking enterprise sso (#6135)

* refactor(console): use correct array for checking enterprise sso

* refactor(console): hide add connector button when no connector available

* refactor(console): fix sso connector check conditions in the organization jit section

* refactor(console): update styles

* refactor(console): update express guide (#6124)

* refactor(console): polish android guide (#6131)

* ci: refactor integration tests workflow

* ci: add spaces

* refactor(test): use secure random method in integration test util (#6139)

* refactor(console): update python and php guide (#6136)

* refactor(console): update python/php console guide

* refactor(console): improve php guide

* refactor(console): improve python guide

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): polish guides

* chore(console): remove unmaintained remix guide (#6137)

* refactor(console): update golang guide (#6134)

* refactor(console): update golang guide

* refactor: use imported uris for go docs

* refactor(console): fix switch styles (#6132)

* refactor(console): fix php guide (#6143)

* feat: demo app dev panel (#6105)

* docs(console): update the sveltekit guide (#6130)

* docs(console): update the sveltekit guide

update the sveltekit guide

* chore(console): reorg the display user section in svltekit

reorg the display user section in svltekit

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* chore: launch jit (#6127)

* chore: launch m2m app for organizations (#6129)

* chore: launch m2m app for organizations

* chore: add changeset

* chore: normalize Logto DB region role names for DB alteration CI (#6144)

* docs(console): update the expo SDK integration guide (#6126)

* docs(console): update the expo SDK integration guide

update the expo SDK integrtion guide

* chore(console): update rn guide section title

update rn guide section title

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* feat(core,schemas): token exchange grant (#6057)

* docs(console): update flutter intergration guide (#6125)

improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* fix(experience): add missing `agreeToTermsPolicy` deps (#6148)

* docs(console): update the capacitor integration guide (#6128)

* docs(console): update the capacitor integration guide

update the capacitor integration guide

* fix(console): reorg capacitor guide

reorg capacitor guide

* chore(console): update the section title

update the section title

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor: fix mermaid in production (#6149)

Use dynamic CDN import to use Mermaid as Parcel has issues on handling the
static import in production.

* ci: rerun integration tests on failure (#6141)

* docs(console): update the java spring guide (#6133)

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): add retry button on error (#6158)

* refactor(console): update vanilla js integration guide (#6156)

* refactor(console): update vanilla js integration guide

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): update react integration guide (#6151)

* refactor(console): update react integration guide

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): update vue integration guide (#6153)

* refactor(console): update vue integration guide

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): update angular integration guide (#6157)

* refactor(console): update angular integration guide

* refactor(console): improve content

---------

Co-authored-by: Gao Sun <[email protected]>

* refactor(console): load mermaid in dev (#6155)

* feat(core): third-party applications are not allowed for token exchange (#6100)

* feat(core,schemas): token exchange grant

* feat(core): third-party applications are not allowed for token exchange

* refactor: update compare DB alteration scripts (#6152)

* refactor: update compare DB alteration scripts

* chore: add comments

* refactor: upgrade logto sdks (#6160)

* fix(console): fix broken api resource guides (#6161)

* feat(core): organization token for token exchange flow (#6106)

* feat(core,schemas): token exchange grant

* feat(core): third-party applications are not allowed for token exchange

* feat(core,schemas): token exchange grant

* feat(core): organization token for token exchange flow

* refactor(console): optimize api resource guides (#6162)

* fix(console): fix custom element swap in mdx (#6166)

* refactor(console): add aggregated npm installation component (#6159)

* refactor: update ci and package (#6167)

* refactor: update ci and package

* chore: fix tests

* fix(console): hide error toast for non-existed application in audit logs (#6168)

* fix(console): hide error toast for non-existed application in audit logs

* chore: add changeset

* feat: add `operationId` to HTTP methods on paths (#6108)

* feat: add operationId to HTTP methods on paths

* refactor(core): strictly handle routes for building …
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

4 participants