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 669279aece
test(core): add the mfa binding integration tests (#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
2024-07-26 07:56:22 +00:00
..
src test(core): add the mfa binding integration tests (#6330) 2024-07-26 07:56:22 +00: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 (#5987) 2024-07-06 09:07:56 +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
nodemon.json feat(connector): support client_secret_basic and client_secret_jwt methods for oauth2 connectors (#5762) 2024-04-24 13:51:41 +08:00
package.json feat(core): multiple app secrets 2024-07-21 23:50:36 +08:00
README.md chore: use sentence case 2023-10-25 14:01:49 +08:00
tsconfig.base.json refactor: update tsconfig 2023-02-17 13:41:05 +08:00
tsconfig.build.json Revert "chore: merge master into sie-v2 (#2182)" (#2216) 2022-10-20 17:03:18 +08:00
tsconfig.json refactor(core,ui): refactor social sign-in flow (#2958) 2023-01-18 14:11:22 +08:00
tsconfig.test.json test: allow JS in tests (#903) 2022-05-20 13:02:36 +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.