0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
Commit graph

435 commits

Author SHA1 Message Date
Darcy Ye
873d20fed9
fix(core): mgmt API scopes are not assignable to user roles (#5425)
* fix(core): mgmt API scopes are not assignable to user roles

* feat: add alteration script to remove mgmt api scopes already assigned to user role

* chore: use option object
2024-02-27 03:19:59 +00:00
renovate[bot]
166f29fe17
chore(deps): update logto js sdk monorepo packages (major) (#5422)
* chore(deps): update logto js sdk monorepo packages

* chore: rebase master and update lock file

rebase master and update lock file

* fix(test): update the @logto/node version

update the @logto/node version

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2024-02-26 15:20:35 +08:00
Darcy Ye
07e145b903
fix(core,console): block deletion on management API (#5424)
* fix(core,console): block deletion on management API

* refactor(core): separate resource api file to two files due to file size
2024-02-23 04:37:20 +00:00
Darcy Ye
b6233a1a58
feat(core,test): add PUT /users/:userId/identities/:target API (#5410) 2024-02-19 22:27:32 +08:00
Gao Sun
c7353f68e9
refactor(core): guard status from request errors (#5343)
* refactor(core): guard status from request errors

* refactor(core): update routes

* refactor: update tests and routes

* refactor(core): update protected app response code
2024-01-31 17:45:27 +08:00
Gao Sun
891c207817
test: add organization invitation api tests 2024-01-30 15:31:43 +08:00
Gao Sun
f74fdce9a0
Merge pull request #5338 from logto-io/gao-refactor-mock-connectors
refactor!: update mock connector file paths
2024-01-30 15:30:43 +08:00
Gao Sun
70b8ff707e
Merge pull request #5335 from logto-io/gao-remove-magic-links
refactor: remove magic links
2024-01-30 15:29:21 +08:00
Gao Sun
abe97c1182
Merge pull request #5330 from logto-io/gao-put-invitation-status
feat(core): put invitation status
2024-01-30 15:28:03 +08:00
Gao Sun
87fd9a01e4
refactor: update helper function names 2024-01-30 09:44:21 +08:00
Gao Sun
6befe60149
refactor!: update mock connector file paths 2024-01-29 21:33:12 +08:00
Gao Sun
46c550bf43
refactor: update invitation api payload for email 2024-01-29 21:27:04 +08:00
Gao Sun
6d0f95739c
refactor: remove magic links 2024-01-29 20:21:45 +08:00
Gao Sun
0a20b5a6f8
feat(core): put invitation status 2024-01-29 19:39:27 +08:00
simeng-li
873ef1ebd0
feat(console): hide m2m and third-party app in the empty app list guide (#5331)
* feat(console): hide m2m and third-party app in the empty app list guide

hide m2m and third-party app in the empty app status guide

* fix(test): fix integration tests

fix integration tests
2024-01-29 18:12:56 +08:00
Gao Sun
ee91767ce9
refactor: add invitation api tests (#5324)
* refactor: add invitation api tests

* refactor: update alteration

* refactor: fix config guard
2024-01-29 01:39:52 +00:00
Darcy Ye
c2e6a610bc
fix(console): fix m2m app log not accessible bug (#5307) 2024-01-26 11:15:11 +08:00
Gao Sun
570a4ea9e2
feat: create invitation (#5245)
* feat: create invitation

* refactor: update test imports

* refactor: update unit tests

* refactor: update docs

* refactor: update api tests

* chore: add changesets

* refactor: add comments

* refactor: fix swagger check

* refactor: keep compatibility
2024-01-25 19:44:20 +08:00
simeng-li
42e9513ca1
fix(console,core): fix application count bug (#5270)
fix application count bug
2024-01-23 11:22:26 +08:00
wangsijie
e1bbbd9ebf
feat(core,shared,phrases): check subdomain when creating protected app (#5217) 2024-01-16 16:30:03 +08:00
simeng-li
4e1b8d1d0d
feat(core): implement application user consent organizations api (#5236)
* feat(core): implement application user consent organizations api

implement application user consent organizations api

* test(core): add api integration tests

add api integration tests
2024-01-16 03:04:23 +00:00
Darcy Ye
4a517379b3
chore(test): add test cases for SAML and OIDC SSO configuration (#5093) 2024-01-11 17:26:35 +08:00
wangsijie
5bc649e10d
feat(core,phrases): update protected app (#5189) 2024-01-11 11:03:01 +08:00
Gao Sun
3d5786d982
refactor: remove legacy resources (#5118)
* refactor: remove legacy api resources

* refactor: remove legacy resources

* refactor: add alteration script

* refactor(cli): adjust legacy seed test data

* refactor: update alteration timestamp

* refactor: update organization role name
2024-01-08 14:47:30 +08:00
wangsijie
ade9cf1dc7
feat(core): sync site configs to KV for new protected app (#5135) 2024-01-08 14:36:43 +08:00
simeng-li
a85266284b
feat(console,phrases): add new third-party application to the guide Library (#5144)
* feat(console,phrases): add new third-party applicaiton to the guide library

add new third-party applicaiton to the guide library

* fix(test): adjust the test order

adjust the test order

* fix(phrases): add untranslated tag

add untranslated tag
2024-01-05 02:46:27 +00:00
simeng-li
9669fc92fb
refactor(core): add koaAutoConsent middleware (#5078)
* refactor(core): add koaAutoConsent middleware

Add koaAutoConsent middleware to allow auto consent and redirect direactly from the server side.

* refactor(core): use koaMount to apply the consent middleware

use koaMount to apply the consent middleware

* feat(test): update the integration tests

update the integration tests

* fix(test): update the unit test for consent

update the unit test for consent
2024-01-05 10:00:31 +08:00
Darcy Ye
3861bcac36
chore(test): add test cases for SSO connection info (#5092) 2024-01-02 11:37:57 +08:00
wangsijie
3e39e2e428
feat(core): route for add protected application (#5114) 2023-12-25 07:32:03 +00:00
simeng-li
6e82e99725
feat(core,schemas,phrases): add application sign-in-experience apis (#5129)
add application sign-in-experience apis
2023-12-21 11:28:10 +08:00
simeng-li
072c6629d3
feat(core,schemas): add application user consent scope delete api (#5120)
* feat(core,schemas): add application user consent scope delete api

add application user consent scope delete api

* chore(core): add the invalid user consent scope type fallback error

add the invalid user consent scope type fallback error
2023-12-20 13:34:18 +08:00
Darcy Ye
94a1b07c83
chore(test): add test cases for testing config on SSO details page experience tab (#5088) 2023-12-19 22:12:42 +08:00
simeng-li
5c936e0976
feat(core,schemas): add GET application user consent scopes api (#5103)
* feat(core,schemas): add GET application user consent scopes api

add GET application user consent scopes api

* fix(core): remove useless field declare

remove useless field declare
2023-12-15 18:12:52 +08:00
simeng-li
cb43ebb7d1
feat(core,phrases): add post application user consent scopes api (#5101)
add post application user consent scopes api
2023-12-15 16:59:48 +08:00
simeng-li
9222eb9f80
refactor(core): add on conflic ignore to the Relation insert query method (#5100)
* refactor(core): add on conflic ignore to the Relation insert query method

add on conflic ignore to the Relation insert query method

* chore: improve word

improve word

* test: add integration test

add integration test

* feat(core): update organization post api doc

update organization post api doc
2023-12-14 15:04:20 +08:00
simeng-li
dcc226b5d9
feat(core,phrases): update applications api to support third-party app (#5096)
update applications api to support third-party app
2023-12-13 11:00:03 +08:00
Darcy Ye
9870ddeff0
fix(console,test): should clear error message and add console integration test (#5081)
* fix(console,test): should clear error message and add console integration test

* refactor(test): refactor code using cls and dcls methods if possible
2023-12-11 05:02:33 +00:00
Darcy Ye
67ab1b3d52
chore(test): add console ITs for SSO connectors creation and deletion (#5073) 2023-12-08 10:55:52 +00:00
simeng-li
b204ba8f74
refactor(core,experience): simplify the consent path (#5072)
simplify the consent path
2023-12-08 15:14:51 +08:00
Darcy Ye
774de5cc7b
refactor(console): hide saml social connector entrance and fix SSO creation paywall (#5056) 2023-12-05 10:50:49 +08:00
simeng-li
cdf5a22315
refactor(core,schemas,console): optimize the sso connector endpoints naming (#5047)
* refactor(core,schemas): rename the sso-connector-factory terms to connector-provider

shouls align the terms of api. Replace the factory using provider.

* refactor(core,console): rename the sso-connector-providers response property name

 rename the sso-connector-providers response property name

* chore(core): update api doc content

update api doc content

* feat(core): declare the SAMLResponse field in ACS api body

declare the SAMLResponse field in ACS api body

* refactor(console,core): categorize standard SSO providers at client side only

categorize standard SSO providers at client side only

* fix(core): fix rebase issue

fix rebase issue

* chore(console): remove useless useMemo

remove useless useMemo

* chore(core): update the api content

update the api content
2023-12-04 15:07:33 +08:00
Xiao Yijun
3e92a20320
refactor(core): add user ip to webhook event payload (#5049) 2023-12-04 06:06:28 +00:00
Gao Sun
fc9c9ea721
chore: upgrade logto sdks (#5011)
* chore: upgrade logto sdks

* chore: fix tests

* fix(demo-app): fix hook infinite loop issue

* refactor(demo-app): use enum from sdk
2023-12-02 15:22:27 +08:00
simeng-li
997a0036d8
fix(core): should not guard email if SSO is disabled (#5032)
should not guard email is SSO is disabled
2023-12-01 14:56:59 +08:00
simeng-li
9fd49c6caa
feat(experience): disable chrome autofill on the register form (#5017)
feat(experience): replace input name identifier with id

trying to resolve chrome autofill problem
2023-12-01 13:29:18 +08:00
simeng-li
f80350d2e3
feat(console,phrases,experience): add sso toggle button to console (#5004)
* feat(phrases): add sso enabled phrases

add sso enabled phrases

* feat(console,phrases,experience): add sso toggle button to console

add sso toggle button to console

* test(experience): update ut

update ut

* feat(experience): apply ssoEnabled guard to the connector fetch endpoint

apply ssoEnabled guard to the connector fetch endpoint
2023-11-30 16:56:51 +08:00
simeng-li
5150ead19f
feat(core,schemas): add new singleSignOnEnabled field to sie (#5003)
* feat(core,schemas): add new singleSignOnEnabled field to sie

add new singleSignOnEnabled field to sie

* chore(core): add some comment

add some comment

* fix(experience): update mock data

update mock data
2023-11-30 16:34:08 +08:00
Darcy Ye
14855cde2c
feat(console,core,phrases): add display name field, fix error display (#4983) 2023-11-28 15:49:46 +08:00
simeng-li
b48ab51098
refactor(core,schemas): add SSO displayName (#4969)
feat(core,schemas): add SSO connector displayName property

add SSO connector displayName property
2023-11-28 11:34:48 +08:00
simeng-li
030877b656
feat(core): guard sso config (#4962)
* feat(core): guard sso config

guard sso config

* refactor(core): simplify the sso error structure

simplify the sso error structure

* fix(test): fix integration tests

fix integration tests

* fix(test): fix integration-tests

fix integration-tests
2023-11-28 11:17:46 +08:00