0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-27 21:39:16 -05:00
Commit graph

1661 commits

Author SHA1 Message Date
simeng-li
08f8688cf2
feat(core): add get consent info api (#5259)
add get consent info api
2024-01-19 10:52:55 +08:00
simeng-li
94908ee8ce
feat(core): add third-party application scopes and organizations restriction (#5249)
* feat(core): add client scope restriction metadata for third-party apps

add client scope restriction metadata for third-party apps

* feat(core): disable auto consent for the thrid-party apps

disable auto consent for the third-party apps

* feat(core): filter out not enabled resource scopes for third-party app

filter out not enabled resource scopes for third-party app

* feat(core): add organization grant validation for third-party application refresh_token grant

add organization grant validation for third-party application refresh_token grant

* fix(core): remove the resource scopes from client metadata

remove the resource scopes from client metadata
2024-01-19 10:31:26 +08:00
simeng-li
29dcd61b77
fix(core): add management api scopes guard (#5251)
management api scopes is not allowed to assign to the third-party app
2024-01-18 10:01:52 +08:00
Charles Zhao
191298fff4
fix(core): fix quota guard for schema routers (#5242)
* fix(core): fix quota guard for schema routers

* chore: add comments
2024-01-16 22:46:12 +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
wangsijie
cbfd00e673
feat(core,schemas): add block domain list (#5234) 2024-01-15 15:45:00 +08:00
Gao Sun
ca24e20f6a
Merge pull request #5232 from logto-io/gao-get-delete-invitation
feat(core): get and delete org invitation by id
2024-01-15 11:40:41 +08:00
Gao Sun
44d8717bd7
refactor: fix swagger 2024-01-15 11:13:24 +08:00
Gao Sun
e7fe20d32f
feat(core): get and delete org invitation by id 2024-01-15 08:26:25 +08:00
Gao Sun
d845c89c86
Merge pull request #5226 from logto-io/gao-reorg-org-queries
refactor(core): reorg organization queries
2024-01-12 20:56:08 +08:00
Gao Sun
44e2f96452
Merge pull request #5224 from logto-io/gao-init-invitation-apis
feat(schemas, core): init organization invitation apis
2024-01-12 20:55:31 +08:00
Gao Sun
f9750ace90
refactor(core): reorg organization queries 2024-01-11 21:56:10 +08:00
Gao Sun
0f08608b96
refactor(core): add swagger json 2024-01-11 21:47:30 +08:00
Gao Sun
75b643ad2f
feat(schemas, core): init organization invitation apis 2024-01-11 18:08:26 +08:00
wangsijie
67be81e6df
feat(core): delete protected app (#5191) 2024-01-11 15:30:42 +08:00
wangsijie
5bc649e10d
feat(core,phrases): update protected app (#5189) 2024-01-11 11:03:01 +08:00
wangsijie
d469e9499c
refactor(core): use const pagination key name for swagger (#5175) 2024-01-10 11:03:23 +08:00
wangsijie
0b08da2b46
feat(core): generate oidc metadata for protected app (#5188) 2024-01-09 11:45:38 +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
renovate[bot]
094ff37e7a
chore(deps): update dependency @types/supertest to v6 (#5159)
Co-authored-by: Gao Sun <gao@silverhand.io>
2024-01-08 03:08:45 +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
wangsijie
acb7fd3fea
feat(core): case insensitive usernames (#5170)
* feat(core): case insensitive usernames

* test(core): add case insensitive username test cases

---------

Co-authored-by: Tc001 <tc001@t0.lv>
2023-12-28 10:57:47 +08:00
Darcy Ye
b4390aeae6
chore(core): resolve legacy unit tests comments and refactor (#5174) 2023-12-28 10:55:52 +08:00
Gao Sun
5f855790a4
refactor: remove tenant owner role (#5145) 2023-12-26 10:37:43 +08:00
wangsijie
3e39e2e428
feat(core): route for add protected application (#5114) 2023-12-25 07:32:03 +00:00
Darcy Ye
8d5ff29e27
feat(core,schemas): add daily token usage table to ease the usage calculation (#5148) 2023-12-25 04:56:53 +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
9faa9841c5
fix(core): remove the COOP policy (#5133)
remove the COOP policy
2023-12-22 10:28:48 +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
Gao Sun
bbc223b81c
refactor(core): create tenant organization for first admin (#5127) 2023-12-20 13:07:06 +08:00
Darcy Ye
22e9580d68
feat(core,connector): update koaQuotaGuard to fit new pricing model (#5123) 2023-12-19 18:51:53 +08:00
wangsijie
e28822997f
feat(schemas): add column protected_app_metadata (#5113)
* feat(schemas): add new application type for protected app

* feat(schemas): add column protected_app_configs
2023-12-19 17:04:14 +08:00
wangsijie
7e435c4749
feat(schemas): add new application type for protected app (#5112) 2023-12-19 15:59:27 +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
wangsijie
7c09ac850f
refactor(core,console,shared): use getUserDisplayName function (#4977) 2023-12-13 03:01:07 +00: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
simeng-li
a93a39aa1b
feat(core,schemas): add isThirdParty column to the applications table (#5090)
* feat(core,schemas): add isThirdParty column to the applications table

add isThirdParty column to the applications table

* refactor(core): group the application routes under applications directory (#5091)

* refactor(core): group the application routes under applications directory

group the application routes under applications directory

* refactor(core,schemas): refactor the application api guard

refactor the application api guard

* fix(schemas): fix application patch guard

fix application patch guard

* fix(test): fix ut

fix ut
2023-12-12 14:54:49 +08:00
Darcy Ye
d5fd2834fb
chore(core): rename SSO connectors management API routes (#5071) 2023-12-08 18:15:05 +08:00
simeng-li
b204ba8f74
refactor(core,experience): simplify the consent path (#5072)
simplify the consent path
2023-12-08 15:14:51 +08:00
simeng-li
7310e4289f
chore(core): increase sso oidc token iat tolerance (#5074)
chore(core): increase sso oidc token iat tolerence

increase sso oidc token iat tolerence
2023-12-08 10:27:13 +08:00
Darcy Ye
fce8d142da
fix(core): fix SSO quota guard (#5065) 2023-12-06 13:53:10 +08:00
Gao Sun
e4def14e71
refactor(core): add base url to swagger json (#5057) 2023-12-05 11:46:39 +08:00
Darcy Ye
c2c1a9e359
chore(console,core): show invalid SSO config/metadata error message inline (#5053) 2023-12-04 08:47:11 +00:00
simeng-li
b8f4c07dd0
feat(core,console,experience): remove sso dev guard (#5026)
* fix(console): fix lint

allow isDev tag always exist

* feat(core,console,experience): remove dev guard for SSO

remove dev guard for SSO

* fix(experience): polish comment

polish comment
2023-12-04 07:11:28 +00: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