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

4859 commits

Author SHA1 Message Date
Xiao Yijun
b5bc374f2b
feat(console): add charge notification for add-on features (#5125) 2023-12-20 06:06:09 +00:00
Xiao Yijun
ed1692959f
refactor(console): treat hobby plan as the new pro plan (#5126) 2023-12-20 13:57:58 +08:00
Xiao Yijun
0691669d6f
refactor(console): update upsell instruction for m2m app & resource creation (#5121) 2023-12-20 13:51:38 +08:00
Darcy Ye
745e26609a
fix(connector): update connector readme images URL (#5069) 2023-12-20 13:45:33 +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
Gao Sun
3f8e42af81
Merge pull request #5110 from logto-io/gao-use-organization-token
refactor(console): use organization token for management api
2023-12-19 23:54:58 +08:00
Gao Sun
ca68a2a547
Merge pull request #5105 from logto-io/gao-tenant-org-alteration
refactor(schemas,core,cli): init tenant organizations
2023-12-19 23:06:41 +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
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
Xiao Yijun
1834d64759
fix(console): hide feature tag when standard connectors is unlimited (#5119) 2023-12-19 14:34:39 +08:00
Xiao Yijun
bb4632e0e3
refactor(console): update usage-based feature beta tip for org feature (#5117) 2023-12-19 11:44:51 +08:00
Xiao Yijun
5256da26ea
feat(console): add org feature items for comparison table (#5116) 2023-12-19 11:40:17 +08:00
Xiao Yijun
a5ef0d014e
refactor(console): update plan comparison table (#5115) 2023-12-19 10:10:32 +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
Gao Sun
bfd027d4e8
refactor(console): use organization token for management api 2023-12-18 13:07:30 +08:00
Gao Sun
36139d7002
refactor(schemas): skip adding membership when no user found 2023-12-16 14:48:01 +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
Gao Sun
74e5975be5
feat(cli): support seeding legacy test data 2023-12-15 17:19:29 +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
Gao Sun
b8fd594fea
refactor: fix workflow 2023-12-15 16:50:14 +08:00
Gao Sun
fc71c8ae33
Merge pull request #5104 from logto-io/gao-add-test-data-init
feat(cli): add option to seed test data
2023-12-15 12:44:14 +08:00
simeng-li
875e948186
feat(schemas): add application permissions relation tables (#5097)
* feat(schemas): add application permissions relation tables

add appliaction permissions relation tables

* refactor(schemas): redesign the application user scope relations table

redesign the application user scope relations table

* refactor(schemas): rename application user consent scopes table name

rename application user consent scopes table name

* fix(schemas): fix dirty char

fix dirty char

* refactor(schemas): rename resource scope column name

rename resource scope column name

* fix(schemas): fix the wrong column name

fix the wrong column name

* refactor(schemas): update the userscope column length

update the userscope column length
2023-12-15 10:18:44 +08:00
Gao Sun
30e4e103c2
refactor(cli): seed organization data 2023-12-15 00:31:19 +08:00
Gao Sun
3e3fa20241
refactor(schemas): add alteration script for tenant organizations 2023-12-14 17:25:17 +08:00
Gao Sun
f5812b689d
feat(cli): add option to seed test data 2023-12-14 17:22:55 +08:00
Xiao Yijun
21dd11c92e
feat(phrases): add phrases for pricing v2 (#5102)
* feat(phrases): add phrases for plan quota table

* feat(phrases): add phrases for new upsell

* chore(phrases): remove untranslated comment from en phrases

* feat(phrases): add new org sell items
2023-12-14 17:03:26 +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
Xiao Yijun
a6c1bdb5e4
fix(console): discard application settings changes when switching tabs (#5087) 2023-12-11 14:53:12 +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
Charles Zhao
08489334dd
fix(console): user identities table should not always be loading when no data (#5086) 2023-12-11 09:48:34 +08:00
Gao Sun
31e60811d7
chore: use Node 20 LTS for engine requirement (#5084) 2023-12-11 09:10:53 +08:00
Gao Sun
a066e360f8
Merge pull request #5079 from logto-io/gao-add-enums 2023-12-11 09:10:25 +08:00
Gao Sun
42fd8a08fd
chore(shared): add JSDoc comments (#5080) 2023-12-10 22:31:21 +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
Darcy Ye
d5fd2834fb
chore(core): rename SSO connectors management API routes (#5071) 2023-12-08 18:15:05 +08:00
Gao Sun
a2ce0be466
feat(schemas): add tenant role enum and scope enum 2023-12-08 16:57:48 +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
Xiao Hanyu
531c59068d
chore(connector): typo fix, SendGrid -> Mailgun for mailgun connector (#4975)
* chore(connector): typo fix, SendGrid -> Mailgun for mailgun connector

* refactor: apply suggestions from code review

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-12-07 03:27:55 +00:00
Darcy Ye
8c4bfbce16
fix(console): should hide upsell tag for standard connectors in OSS version (#5066) 2023-12-06 08:47:25 +00: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
simeng-li
b10522a3fa
refactor(console): rename the sso connector guide path (#5060)
* refactor(console): rename the sso connector guide path

rename the sso connector path

* refactor(console): rename the sso guide

rename the sso guide
2023-12-05 14:20:55 +08:00
Gao Sun
e4def14e71
refactor(core): add base url to swagger json (#5057) 2023-12-05 11:46:39 +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
a1725669d4
fix(console): fix grammar (#5055)
* fix(console): fix grammar

fix grammar

* fix(console): fix typo

fix typo
2023-12-04 09:24:35 +00:00
Charles Zhao
dd45a51b09
chore(deps): bump @logto/react to v2.2.1 (#5054) 2023-12-04 09:18:59 +00: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
70b051bded
chore(phrases): update content (#5051)
update content
2023-12-04 07:18:14 +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
simeng-li
ff730acf1a
fix(experience): should not show error message on sign-in page (#5052)
should not show error message on sign-in page
2023-12-04 06:43:59 +00: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
Darcy Ye
6fe8cbc006
fix(console): should block form submit when error in domain input field (#5050) 2023-12-04 05:07:17 +00: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
wangsijie
3803a1ac23
chore(core): add dashboard api doc descriptions (#5037)
* chore(core): add dashboard api doc descriptions

* chore(core): polish docs

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-12-02 07:49:11 +00:00
wangsijie
484b52cb38
chore(core): add domains api doc descriptions (#5036)
* chore(core): add domains api doc descriptions

* chore(core): polish docs

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-12-02 07:39:43 +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
Gao Sun
e1a162eb56
Merge pull request #5039 from logto-io/gao-add-api-docs 2023-12-01 23:57:46 +08:00
simeng-li
ba691c5636
fix(experience): improve the loading experience (#5038)
improve the loading experience
2023-12-01 19:40:59 +08:00
simeng-li
527cd22608
feat(console): update content (#5035)
* feat(console): update content

update content

* fix(console): fix the layout

fix the layout
2023-12-01 19:33:02 +08:00
Gao Sun
86f4860a03
chore(core): update description 2023-12-01 18:44:56 +08:00
Gao Sun
22e6c9d99e
chore(core): add api docs 2023-12-01 18:28:49 +08:00
Darcy Ye
cf20c940cc
chore(console,phrases): update SSO branding logo phrases and display (#5029) 2023-12-01 09:57:57 +00:00
Darcy Ye
343a88e6ab
feat(console,phrases): add SSO paywall for console (#5025) 2023-12-01 09:20:47 +00:00
Xiao Yijun
fd105ac99f
chore(core): add well-known api doc descriptions (#5018) 2023-12-01 16:40:36 +08:00
Darcy Ye
88285ba7b6
feat(connector,console,core): add SSO paywall for core management APIs (#5024) 2023-12-01 17:27:01 +09: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
61d1894fa9
fix(experience): fix silent error bug (#5031)
gix silent error bug
2023-12-01 14:43:40 +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
Xiao Yijun
7edad3ced3
chore(core): add hooks api doc descriptions (#5020) 2023-12-01 12:20:06 +08:00
Xiao Yijun
ca50a78924
chore(core): add verficiation code api doc descriptions (#5021) 2023-12-01 11:03:50 +08:00
Xiao Yijun
65306682ec
chore(core): add sign-in experience api doc descriptions (#5019) 2023-12-01 11:03:00 +08:00
Xiao Yijun
a49c3c33f7
chore(core): add custom-phrases api doc descriptions (#5022) 2023-12-01 11:02:41 +08:00
Xiao Yijun
797bee5f01
chore(core): add applications api doc descriptions (#5023) 2023-12-01 11:02:23 +08:00
Darcy Ye
1cd9e21570
chore(console,phrases): update SSO related content (#5028) 2023-12-01 11:31:35 +09:00
simeng-li
f74693d861
fix(experience): move the navigate method to useEffect (#5027)
* fix(experience): move the navigate method to useEffect

move the navigate method to useEffect

* fix(experience): replace current nav history

replace current nav history
2023-12-01 10:27:30 +08:00
simeng-li
d234c1483c
chore(console): rename OKTA to Okta (#5016)
* chore(console): rename OKTA to Okta

rename OKTA to Okta

* fix(console): fix build error

fix build error
2023-12-01 11:14:46 +09:00
Darcy Ye
0acc49892a
chore(console): update SSO connector creation modal interaction (#5015) 2023-11-30 19:00:55 +08:00