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

1703 commits

Author SHA1 Message Date
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
renovate[bot]
1787503c78
chore(deps): update dependency @types/sinon to v17 (#4820)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-12-26 04:10:21 +00:00
renovate[bot]
6f843b79d6
fix(deps): update dependency find-up to v7 (#4900)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-12-26 03:16:35 +00: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
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
dependabot[bot]
72fa53f1f3
chore(deps): bump @koa/cors from 4.0.0 to 5.0.0 (#5094)
Bumps [@koa/cors](https://github.com/koajs/cors) from 4.0.0 to 5.0.0.
- [Changelog](https://github.com/koajs/cors/blob/master/History.md)
- [Commits](https://github.com/koajs/cors/compare/4.0.0...5.0.0)

---
updated-dependencies:
- dependency-name: "@koa/cors"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-18 13:08:24 +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
Gao Sun
31e60811d7
chore: use Node 20 LTS for engine requirement (#5084) 2023-12-11 09:10:53 +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
silverhand-bot
4865610b51
release: version packages (#4894) 2023-12-06 16:13:56 +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
Xiao Yijun
aa5bfdd0b3
chore(core): mark event and retries as deprecated for hooks api doc (#5048) 2023-12-04 14:33:42 +08:00
Xiao Yijun
3e92a20320
refactor(core): add user ip to webhook event payload (#5049) 2023-12-04 06:06:28 +00:00
Darcy Ye
3bab5351a6
feat(console): add signing certificate reader (#5009)
* feat(console): add signing certificate reader

* fix(core): throw invalid certificate SsoConnectorError only when failed to construct a certificate
2023-12-04 14:04:24 +08:00
Gao Sun
0bec4cd1d3
Merge pull request #5046 from logto-io/gao-add-api-tag-descriptions
chore(core): add api tags descriptions
2023-12-04 13:38:12 +08:00
Gao Sun
d8d420c812
Merge pull request #5045 from logto-io/gao-validate-supplement-document 2023-12-04 10:31:08 +08:00
Gao Sun
f589fed383
chore(core): remove redundant types in openapi json (#5044) 2023-12-04 09:42:00 +09:00
Gao Sun
2b28fd7d75
chore(core): do not throw error for api doc integrity on prod 2023-12-03 19:52:37 +08:00
Gao Sun
b05fb2960d
chore(core): enforce summary and description for Management APIs 2023-12-03 19:10:21 +08:00
Gao Sun
495f4d5e80
chore(core): add api tags descriptions 2023-12-03 19:10:21 +08:00
Gao Sun
07e025ddb9
chore: add openapi-types to deps 2023-12-03 19:05:12 +08:00
Gao Sun
5fa377dd24
chore(core): skip supplement validation in unit test 2023-12-03 18:28:22 +08:00
Gao Sun
f1150eca30
refactor(core): validate supplement openapi document 2023-12-03 14:30:33 +08:00
Darcy Ye
f539b0851d
chore(core): add connector api doc descriptions (#5042)
* chore(core): add connector api doc descriptions

* chore(core): polish docs

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-12-02 16:47:01 +00:00
Xiao Yijun
88e8aa944a
chore(core): add logs api doc descriptions (#5034)
* chore(core): add logs api doc descriptions

* chore: polish docs

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-12-02 16:09:30 +00:00
Xiao Yijun
ad60de8f24
chore(core): add logto-config api doc descriptions (#5033)
* chore(core): add logto-config api doc descriptions

* chore(core): polish docs

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-12-02 16:05:57 +00:00
simeng-li
b1461b42ea
feat(core): add sso-connectors openapi file (#5040)
* feat(core): add sso api doc

add sso api doc

* chore(core): polish docs

* chore(core): polish docs

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-12-02 14:34:47 +00:00
simeng-li
00dc158c70
feat(core): add authn docs (#5041)
* feat(core): add authn docs

add authn api docs

* chore: polish docs

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-12-02 08:53:17 +00:00