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

588 commits

Author SHA1 Message Date
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
renovate[bot]
3911f92a22
chore(deps): update dependency got to v14 (#5008)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-12-26 02:59:22 +00:00
wangsijie
3e39e2e428
feat(core): route for add protected application (#5114) 2023-12-25 07:32:03 +00:00
Gao Sun
9089dbf845
chore(deps): upgrade TypeScript (#5141)
* chore(deps): upgrade TypeScript

* chore: upgrade configs

* chore: fix tsconfig and add changeset

* chore: upgrade jest-related deps and fix code
2023-12-22 15:16:49 +08: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
Gao Sun
31e60811d7
chore: use Node 20 LTS for engine requirement (#5084) 2023-12-11 09:10:53 +08: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
silverhand-bot
4865610b51
release: version packages (#4894) 2023-12-06 16:13:56 +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
Darcy Ye
ac099b1e64
chore(console,core): add/replace SSO connector logo resources (#4963) 2023-11-27 11:02:34 +08:00
simeng-li
3f84e724b9
refactor(core): remove SSO connector config partial update logic (#4958)
* refactor(core): remove SSO connector config partial update logic

remove SSO connector config partial update logic

* fix(test): fix integration tests

fix integration tests

* refactor(core): refactor SAML SSO idpConfig type (#4960)

refactor SAML SSO idepConfig type
2023-11-24 06:21:59 +00:00
Xiao Yijun
a376b71ae7
fix(test): fix experience ui test randomly fail issue (#4945) 2023-11-23 11:10:36 +08:00
simeng-li
f880329d16
feat(core,experience): implement google workspace connector (#4925)
* feat(core,experience): implement google workspace connector

implement google workspace connector

* fix(core): clean code

clean code

* fix(core): fix ut

fix ut

* fix(core): fix ut

fix ut

* fix(test): fix integration tests

fix integration tests

* fix(core): make the sso data as public property and remove getter

make the sso data as public perperty and remove getter
2023-11-21 11:13:59 +08:00
Darcy Ye
57655dfeb7
feat(console,phrases,core): add SSO connector creation guide (#4866) 2023-11-19 06:30:22 +00:00
Darcy Ye
5832b30276
fix(core,test): fix saml sp config and refactor saml class internal util methods (#4878) 2023-11-17 23:51:52 +08:00
simeng-li
edb2bdccec
feat(core): add the saml assertion handle flow (#4872)
* feat(core): add saml assertion handle flow

add saml assertion handle flow

* fix(core): address some comments

address some comments

* chore(core): comments update

comments update

* chore(core): add deprecated tag

add dreprecated tag

* refactor(core): use url object instead of plain string

use url object instead of plain string
2023-11-17 06:14:45 +00:00
Darcy Ye
787359c1c4
feat(console): show SSO identities on user details page and reorg the page (#4687) 2023-11-16 11:26:26 +08:00
Gao Sun
9a4da065dc
fix(core): generate correct swagger components (#4884)
* fix(core): generate correct swagger components

* refactor(core): fix tests
2023-11-16 11:19:54 +08:00
Gao Sun
bfda1d2c95
refactor(schemas): use user membership as foreign key for user org roles (#4885) 2023-11-16 11:19:44 +08:00
Gao Sun
bfea0b0fdd
refactor(core): fix org apis (#4890) 2023-11-15 09:20:31 +00:00
Gao Sun
5de7772186
Merge pull request #4863 from logto-io/gao-swagger-org-apis
refactor(core): add swagger data for org apis
2023-11-14 11:16:09 +08:00
Xiao Yijun
e676f0c6eb
feat(console): add tenant env migration modal (#4859) 2023-11-13 19:23:22 +08:00
Gao Sun
a53fcfc654
Merge pull request #4854 from logto-io/gao-use-refresh-token-grant
refactor(core): reuse `refresh_token` grant for org tokens
2023-11-13 18:45:55 +08:00