0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00
logto/packages/core
simeng-li baa8577c45
refactor(experience): experience api migration (#6407)
* refactor(experience): migrate the password register and sign-in

migrate the password register and sign-in flow

* fix(experience): update some namings

update some namings

* refactor(experience): refactor the verification code flow (migration-2) (#6408)

* refactor(experience): refactor the verificaiton code flow

refactor the verification code flow

* refactor(experience): migrate the social and sso flow (migration-3) (#6406)

* refactor(experience): migrate the social and sso flow

migrate the social and sso flow

* refactor(experience): migrate profile fulfillment flow  (migration-4) (#6414)

* refactor(experience): migrate profile fulfillment flow

migrate the profile fulfillment flow

* refactor(experience): remove unused hook

remove unused hook

* fix(experience): fix password policy checker

fix password policy checker error display

* fix(experience): fix the api name

fix the api name

* refactor(experience): migrate mfa flow (migration-5) (#6417)

* refactor(experience): migrate mfa binding flow

migrate mfa binding flow

* test(experience): update unit tests (migration-6) (#6420)

* test(experience): update unit tests

update unit tests

* chore(experience): remove legacy APIs

remove legacy APIs

* refactor(experience): revert api prefix

revert api prefix

* fix(experience): update the sso connectors endpoint

update the sso connectors endpoint

* chore: add changeset

add changeset

* fix(experience): comments fix

comments fix

* refactor(experience): refactor the code verificatin api

refactor the code verification api

* refactor(experience): code refactor

refactor some implementation logic

* feat(experience, core): add experience legacy package (#6527)

add experience legacy package
2024-09-09 10:08:52 +08:00
..
src refactor(experience): experience api migration (#6407) 2024-09-09 10:08:52 +08:00
static/html refactor(core): add response schemas to swagger.json API (#3801) 2023-05-04 12:35:55 +08:00
CHANGELOG.md release: version packages (#6197) 2024-08-08 13:00:14 +08:00
jest.config.js feat(connector): support client_secret_basic and client_secret_jwt methods for oauth2 connectors (#5762) 2024-04-24 13:51:41 +08:00
jest.setup.js feat: default user role (#5872) 2024-05-17 16:02:05 +08:00
package.json refactor(experience): experience api migration (#6407) 2024-09-09 10:08:52 +08:00
README.md chore: use sentence case 2023-10-25 14:01:49 +08:00
tsconfig.json refactor(core): use tsup for building 2024-07-28 11:34:43 +08:00
tsconfig.test.json refactor(core): use tsup for building 2024-07-28 11:34:43 +08:00
tsup.config.ts refactor(core): use tsup for building 2024-07-28 11:34:43 +08:00
tsup.dev.config.ts refactor(core): use tsup for building 2024-07-28 11:34:43 +08:00

@logto/core

The core backend service.

Get started

Copy proper .env to project root. (TBD: design the config process)

pnpm i && pnpm dev

OpenAPI documentation

OpenAPI (Swagger) json is available on http(s)://your-domain/api/swagger.json. If you are running locally, the default URL will be http://localhost:3001/api/swagger.json. Consume it in the way you like.

Using ReDoc

The doc website can be served by redoc-cli in an extremely easy way:

npx redoc-cli serve http://localhost:3001/api/swagger.json

Using Swagger editor

Copy the API output and paste it in the Swagger Editor.