0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-02-03 21:48:55 -05:00
logto/packages/core
simeng-li 85fb4ce4dc
refactor(core): update idp-initiated auth config management api (#6680)
* feat(core): consume IdP initiated session on SSO verification flow

Auto consume the IdP initiated SAML SSO session on the SSO sign-in verification flow

* test(core): add unit test cases

add unit test cases

* feat(core): consume IdP initiated session on SSO verification flow

Auto consume the IdP initiated SAML SSO session on the SSO sign-in verification flow

* test(core): add unit test cases

add unit test cases

* refactor(core): remove update idp-initiated auth config api

remove update idp-initiated auth config api

* refactor(core): update idp-initiated auth config management api

update the idp-initiated auth config management api to support two different flows.
autoSendAuthorizationRequest: true
autoSendAuthorizationRequest: false

* fix(test): fix integration test

fix the integration test
2024-10-16 17:20:13 +08:00
..
src refactor(core): update idp-initiated auth config management api (#6680) 2024-10-16 17:20:13 +08:00
static/html refactor(console,core,demo-app,elements,experience): improve rtl support (#6549) 2024-09-09 19:19:15 +08:00
CHANGELOG.md release: version packages (#6424) 2024-09-13 18:06:50 +08:00
jest.config.js
jest.setup.js feat: default user role (#5872) 2024-05-17 16:02:05 +08:00
package.json feat(core,schemas): init auth flow for IdP initiated SAML SSO (#6668) 2024-10-14 15:39:05 +08:00
README.md
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.