0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00
Commit graph

5014 commits

Author SHA1 Message Date
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
541ea2919c
feat(schemas): add application sign-in-experience table (#5122)
* feat(schemas): add application sign-in-experience table

add application level sign-in-experience table

* fix(schemas): fix table name

fix table name

* fix(schemas): fix table file name

fix table file name
2023-12-21 10:20:45 +08:00
Xiao Yijun
2e9ccb08bd
refactor(console): add machine-to-machine roles limit guard (#5131) 2023-12-21 07:42:59 +08:00
Charles Zhao
e4c73e7bb7
feat(cli): add option to skip core check in translate cli commands (#5085)
* feat(cli): add option to skip core check in translate cli commands

* chore(cli): add changeset

* feat(cli): support any string value package name in translate command

* chore: update changeset
2023-12-20 16:45:01 +08:00
Xiao Yijun
6b2e1c8908
refactor(console): add new quota items for subscription plan (#5128) 2023-12-20 14:08:30 +08:00
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
simeng-li
d6de625754
feat(experience): enable SSO auto watch to the sign-in and register form (#5014)
* feat(experience): enable SSO auto watch to the sign-in and register form

enable SSO auto watch to the sign-in and register form

* fix(experience): remove unused style

remove unused style
2023-11-30 18:06:07 +08:00
Darcy Ye
a763d9e5a5
chore(console): hide the entrance of creating SAML social connector (#5013) 2023-11-30 16:57:12 +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
7b57871393
chore(console): client secret input of OIDC SSO form should be confidential (#5012) 2023-11-30 06:39:25 +00:00
Darcy Ye
d18dfe5e20
fix(console): fix accidental removal of empty object/undefined values (#4993) 2023-11-30 14:21:17 +08:00
Gao Sun
b4f702a860
refactor(core): return organization data in userinfo endpoint (#5010)
* refactor(core): return organization data in userinfo endpoint

* chore(core): add comments

* chore: fix tests
2023-11-30 13:51:53 +08:00
Darcy Ye
949708b0f9
feat(console): update certificate display (#5007) 2023-11-30 03:11:26 +00:00
simeng-li
6e4dd0432d
feat(console): add OKTA integration guide (#5001)
* feat(console): add OKTA integration guide

add OKTA integration guide

* chore(console): update AzureAD guide

update AzuerAD guide

* chore(console): update contents

update contents
2023-11-30 02:48:59 +00:00
Xiao Yijun
b3163e97f5
style(console): update save button styles on language editor (#4999) 2023-11-30 10:45:28 +08:00
Darcy Ye
6c5213cb65
chore(console): attribute mapping 'id' field should not be editable (#5002) 2023-11-30 10:37:25 +08:00
simeng-li
3b9e078d04
feat(console): add google workspace integration guide (#4997)
* feat(console): add google workspace integration guide

add google workspace integration guide

* fix(console): fix lint error

fix lint error
2023-11-30 10:34:32 +08:00
Darcy Ye
a044c51163
chore(console): put description under email domain field (#5005) 2023-11-29 22:54:32 +08:00
backpast
9421375d78
chore(deps): update libphonenumber-js to v1.10.51 to fix china 19 started phone numbers (#4998)
* chore(deps): update libphonenumber-js action to v1.10.51 to fix china 19 start phone number

* chore: add changeset

---------

Co-authored-by: renjianhua <renjianhua@zuoshouyisheng.com>
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2023-11-29 20:56:39 +08:00
Xiao Yijun
152d2815c7
refactor(console): provide default rel value for external links (#5000) 2023-11-29 17:31:18 +08:00
Gao Sun
e49e92fb6f
chore(console): update php and python guide (#4964) 2023-11-29 15:43:49 +08:00
Darcy Ye
15278302f3
fix(console): fix xml file reader size calculation and add dark mode file icon (#4991) 2023-11-29 07:37:50 +00:00
simeng-li
5105830e2f
refactor(core): use name attribute as the default connector name (#4984)
use name attribute as the default connector name
2023-11-29 12:59:00 +08:00
Darcy Ye
4be339d4bf
fix(console): fix SSO connector logo fallback logic (#4990) 2023-11-29 11:07:20 +08:00
Darcy Ye
8ebaac1e2c
chore(console): add required for email domain field input (#4992) 2023-11-29 10:46:34 +08:00
Darcy Ye
f97fe62348
chore(console,phrases): update console contents (#4994) 2023-11-29 10:44:25 +08:00
simeng-li
df0f40876a
feat(console): add AzureAD integration guide (#4989)
* feat(console): add AzureAD integration guide

add AzureAD integration guide

* chore(console): replace image

replace image
2023-11-29 09:49:40 +08:00
Xiao Yijun
9517bd4bc9
style(console): change dropdown item border radius to 6px (#4988) 2023-11-28 10:19:53 +00:00
Xiao Yijun
7c85f6d8be
refactor(phrases): update TOTP phrases (#4985) 2023-11-28 18:10:49 +08:00
Darcy Ye
689a5dbccd
chore(console): replace empty resource of SSO connector (#4987) 2023-11-28 17:54:54 +08:00
Darcy Ye
15ce9643e2
feat(console,phrases): add inline notification if email domain not configured (#4986) 2023-11-28 17:52:25 +08:00
Darcy Ye
fad8872b31
fix(console,phrases,core): fix SAML attribute mapping (#4978) 2023-11-28 17:08:46 +08:00
simeng-li
2c038b25ed
feat(console): add standard OIDC and SAML guides (#4982)
* feat(console): add standard OIDC and SAML guides

add standard OIDC and SAML guides

* fix(console): remove console log

remove console log

* chore(console): update settings tab name to experience

update settings tab name to experience
2023-11-28 08:41:52 +00: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
c47e0192ff
feat(schemas): add unique constrain to the SSO connectorName field (#4974)
add unique constrain to the SSO connectorName field
2023-11-28 13:55:47 +08:00
Darcy Ye
532b7bb5e3
fix(console,phrases): remove SSO connectors status tags (#4979) 2023-11-28 04:40:57 +00:00
Darcy Ye
0aa70cd5a7
fix(console): add page level loading for SSO details page (#4981) 2023-11-28 12:14:27 +08:00
Darcy Ye
bd2e5bf4b8
refactor(console,phrases): remove SSO guide on creation and switch tab order (#4972) 2023-11-28 03:51:27 +00:00
Darcy Ye
63b795ff50
fix(console): update SSO connector logo uploader file types (#4980) 2023-11-28 11:41:41 +08:00
Darcy Ye
2ede63c446
fix(console): fix wrong illustration status (#4976) 2023-11-28 11:39:31 +08:00
Darcy Ye
5e695c2dd6
chore(console,phrases): update SSO connector name display (#4965) 2023-11-28 03:39:09 +00: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
66d6491d2e
fix(experience): use absolute path for password sign-in form nav (#4973)
should use absolute path for the password sign-in form navigation
2023-11-28 11:20:33 +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
simeng-li
cce262a8b3
feat(experience): directly invoke sso flow if there are only one SSO connector (#4970)
* feat(experience): directly invoke sso flow if there are only on SSO connector

directly invoke sso flow if there are only on SSO connector

* test(experience): add ut

add ut

* fix(experience): fix lint

fix lint
2023-11-28 11:16:28 +08:00
simeng-li
ccfad51e62
chore(core): add dev feature guard to SSO endpoints (#4971)
* chore(core): guard sso api

guard sso api

* chore(core): guard sso interaction api

guard sso interaction api
2023-11-27 16:56:55 +08:00
Darcy Ye
528c6c462c
fix(core): fix OIDC SSO connector config guard (#4968) 2023-11-27 11:03:27 +08:00
Darcy Ye
24399ae8e4
chore(console,phrases): update email domain input field interaction (#4966) 2023-11-27 11:03:06 +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
0d636d5607
fix(core): update google SSO connector prompt always select-account (#4961)
* fix(core): update google SSO connector prompt always select-account

google SSO connector prompt always select-account

* chore(core): update comment

update comment
2023-11-27 10:56:00 +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
Charles Zhao
199b7997e3
fix(console): update documentation links (#4957) 2023-11-23 17:04:32 +08:00
Darcy Ye
f4383a3e58
feat(console): reuse existing oidc/saml form for OOTB SSO connector config (#4955) 2023-11-23 08:05:55 +00:00
simeng-li
a36ae032e3
feat(core): add OKTA sso connector (#4951)
add OKTA sso connector
2023-11-23 13:35:28 +08:00
simeng-li
6785cfcd3e
refactor(core): simplify the saml getIssuer method (#4942)
simplify the saml getIssuer method
2023-11-23 13:32:00 +08:00
Charles Zhao
9a91c0ad10
feat(console,core,phrases): add more organization paywalls (#4952) 2023-11-23 04:44:42 +00:00
Darcy Ye
979bf08966
feat(console): add xml text file reader (#4936) 2023-11-23 11:34:15 +08:00
Xiao Yijun
a376b71ae7
fix(test): fix experience ui test randomly fail issue (#4945) 2023-11-23 11:10:36 +08:00
Darcy Ye
df6d0894ba
chore(core): update generation of SAML service provider entity id (#4943) 2023-11-23 10:56:41 +08:00
Darcy Ye
5fd390a8ce
fix(console): update SSO console display (#4944) 2023-11-23 02:51:25 +00:00
Darcy Ye
4e4c8b18a9
fix(console): fix SAML SSO connector status (#4947) 2023-11-22 18:49:49 +08:00
Darcy Ye
ffcd62e553
fix(console): partially check config on guide page (#4946) 2023-11-22 18:49:39 +08:00
Darcy Ye
035ef65ac9
chore(console): remove m2m app guide content feature switch (#4950) 2023-11-22 08:36:32 +00:00
Gao Sun
9a1a88cac0
chore: remove dev feature flag for orgs (#4949) 2023-11-22 16:32:09 +08:00
Gao Sun
133c4456ab
chore: update management api docs url (#4948) 2023-11-22 16:24:49 +08:00
Darcy Ye
78172f9277
feat(console): add SSO connector "connection" tab (#4926) 2023-11-22 06:47:11 +00:00
Charles Zhao
fbf6d89d9b
feat(console,phrases): add organizations paywall (#4939) 2023-11-22 06:40:01 +00:00
Charles Zhao
0e334ecdb1
fix(console): remove row hover effects from organization inline tables (#4941) 2023-11-22 14:38:00 +08:00
Darcy Ye
367673b25c
feat(console): add SSO connector details page (settings tab) (#4912) 2023-11-22 04:28:39 +00:00
simeng-li
6d57a58d68
refactor(core,experience): extract sso register api (#4934)
* refactor(core,experience): extract sso register api

extract sso register api

* feat(core): add signInMode guard to sso register api (#4935)

add signInMode guard to sso register api

* chore(core): adjust the comments

adjust the comments
2023-11-22 03:19:39 +00:00
simeng-li
24972ce46e
fix(core): fix saml sso connector bug (#4940)
* fix(core): fix saml sso connector bug

fix saml sso connector bug

* chore(core): add some comments

add some comments
2023-11-22 11:08:43 +08:00
simeng-li
3b3bfd750a
refactor(core,schemas): remove get provider properties method (#4927)
* refactor(core,schemas): remove get provider properties method

remove get provider properties method

* chore(core): adjust the comment

adjust the comment

* fix(console): fix console type error

fix console type error, remove providerProperties
2023-11-22 10:58:12 +08:00
simeng-li
e82ea0a815
feat(experience): add native listener to SSO callback page (#4930)
* feat(experience): add native listener to SSO callback page

add native listenter to SSO callback page

* fix(experience): add useEffect hook dependency

add useEffect hook dependency
2023-11-22 10:40:54 +08:00
simeng-li
622ec4493b
feat(experience): add lock icon to the single sign-on button (#4928)
add lock icon to the single sign-on button
2023-11-22 10:40:36 +08:00
Charles Zhao
3a6985a84e
refactor(console): improve table loading experience (#4920) 2023-11-21 17:27:35 +00:00
Xiao Yijun
3da6694fef
refactor(console): only display exceeded quota items on not eligible switch plan modal (#4929) 2023-11-21 16:39:44 +08:00
simeng-li
fbf545ecd4
feat(experience): add struct guard to session storage hook (#4933)
* feat(experience): add struct guard to session storage hook

add struct guard to the session storage hook

* test(experience): add unit test for the hook

add unit test for the session storages hook
2023-11-21 08:09:07 +00:00
Xiao Yijun
21af052321
refactor(console): remove org feature from coming soon list (#4931) 2023-11-21 07:59:14 +00:00
Xiao Yijun
b6d11c3379
chore(console,experience): remove feature flag for dev tenant (#4921) 2023-11-21 15:48:54 +08:00
Charles Zhao
cb18c2ade8
fix(console): default button icon should use secondary color (#4924) 2023-11-21 15:21:29 +08:00
wangsijie
651902c97d
refactor(schemas): add js-doc to tenant tag enum (#4909)
* refactor(schemas): add jsdoc to tenant tag enum

* chore: code review fix

Co-authored-by: Charles Zhao <charleszhao@silverhand.io>

* chore: code review fix

Co-authored-by: Charles Zhao <charleszhao@silverhand.io>

---------

Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2023-11-21 11:35:07 +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
Gao Sun
4b90782ae0
feat(cli): support sync array keys (#4903)
* feat(cli): support sync array keys

* refactor(cli): update translate sync concurrency to 5

* chore: add changeset
2023-11-20 23:23:53 +08:00
simeng-li
7379cfe4bd
fix(experience): fix the ut randomly fail issue (#4913)
fix the ut randomly fail issue
2023-11-20 18:49:49 +08:00
Xiao Yijun
d0828834eb
fix(console): hide coming soon features from the downgrade plan modal (#4923) 2023-11-20 09:49:29 +00:00
Xiao Yijun
27fc7b9a3b
fix(console): display mfa feature item in downgrade plan modal (#4922) 2023-11-20 16:57:35 +08:00
Xiao Yijun
15fd06fb4b
refactor(console,schemas): add reserved plan id enum (#4919) 2023-11-20 15:45:28 +08:00
Xiao Yijun
c71b53367c
chore(console): update dev tenant phrases (#4917) 2023-11-20 15:31:23 +08:00
Xiao Yijun
f453065b7b
chore: update tenant type doc link (#4914) 2023-11-20 14:30:25 +08:00
Xiao Yijun
211a2bca4c
fix(console): remove feature tag for custom domain feature (#4916) 2023-11-20 14:27:44 +08:00
Xiao Yijun
ae4f855c9e
refactor(console): display paywall tag on mfa page for dev tenant (#4915) 2023-11-20 14:27:25 +08:00
Charles Zhao
081094de34
refactor(phrases,console): update wording in organization pages (#4906) 2023-11-20 03:12:51 +00:00
simeng-li
29040b9c7c
feat(experience): add single sign on switch to the password sign-in form (#4898)
* feat(experience): add single sign on switch to the password sign-in form

add single sign on switch to the password sign-in form

* feat(experience): add single sign-on message

add single sign-on message
2023-11-20 10:14:33 +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
Xiao Yijun
5b0ea2192b
feat(console): add pricing link for dev tenant notification (#4908) 2023-11-17 21:19:53 +08:00
Xiao Yijun
9ce0bc3838
refactor(console): update dev tenant migration phrases (#4907) 2023-11-17 17:18:11 +08:00
Xiao Yijun
5011ffe379
refactor(console): update phrases on the tenant settings page (#4905) 2023-11-17 16:53:47 +08:00
simeng-li
6c8bd20fe0
feat(core): add social returned email sso guard (#4889)
add social returned email sso guard
2023-11-17 07:58:31 +00:00
simeng-li
e68637f12d
feat(experience): block email sign-in and register (#4886)
* feat(experience): block email sign-in and register

block email sign-in and register if SSO is enabled for that domain address

* test(experience): add ut

add ut
2023-11-17 07:41:35 +00:00
simeng-li
2c1cf66c6b
refactor(experience): reorg hooks location (#4877)
reorg hooks location
2023-11-17 07:25:30 +00:00
simeng-li
34494e96f7
feat(experience): add sso connector list page (#4865)
* feat(experience): add single sign on connectors list page

add single sign on connectors list page

* feat(experience): add single sign on handler

add sigle sign on handler

* fix(experience): add the missing page

add the missing page

* fix(experience): fix style bug

fix style bug
2023-11-17 07:08:36 +00:00
Xiao Yijun
c10fb6ac37
refactor(console): update phrases on the tenant creation modal (#4904) 2023-11-17 14:40:18 +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
Xiao Yijun
733261af55
feat(console): display 'no subscription' on dev tenant selector items (#4899) 2023-11-17 12:03:00 +08:00
Charles Zhao
d2bfe18688
refactor(console): organization permissions and roles are split into two isolated steps (#4901) 2023-11-17 11:27:28 +08:00
Xiao Yijun
c0ac2c5354
refactor(phrases): update the subtitle of the tenant creation modal (#4896) 2023-11-16 08:46:36 +00:00
Charles Zhao
8547cce5ff
fix(console): filter out empty org permissions and roles on guide submit (#4897) 2023-11-16 16:10:29 +08:00
Charles Zhao
8a50d27757
fix(console): add a brief header to the organization guide in drawer view (#4895) 2023-11-16 07:03:38 +00:00
Charles Zhao
e0f935e5c8
refactor(console): make the introduction diagram interactive (#4887)
* refactor(console,phrases): organization guide introduction

* refactor(console): make the organization guide instructions interactive
2023-11-16 06:34:38 +00:00
Xiao Yijun
16c7c59013
feat(console): add docs link for env tag feature (#4891) 2023-11-16 13:34:13 +08:00
Xiao Yijun
728f1547ec
chore(console): update comments about hidden locale phrases (#4892) 2023-11-16 13:33:38 +08: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
6b282b6bac
refactor(console): update organization ui (#4893) 2023-11-16 11:20:15 +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
Charles Zhao
fe18e43322
fix(console): organization guide router link (#4881) 2023-11-15 17:28:48 +08:00
Gao Sun
bfea0b0fdd
refactor(core): fix org apis (#4890) 2023-11-15 09:20:31 +00:00
wangsijie
d200ca56c8
fix(core): fix devleopment plan id (#4888) 2023-11-15 08:19:19 +00:00
Xiao Yijun
564ee0b978
feat(console): add sso quota item and related phrases (#4883)
* revert: revert omni sign-in phrase changes

* feat(console): add sso quota item and related phrases
2023-11-15 14:24:48 +08:00
Gao Sun
aa8a7a25c2
chore(core): fix dev script (#4882) 2023-11-15 14:04:41 +08:00
Xiao Yijun
25bbdfc802
feat(experience): add dev tenant notification (#4857) 2023-11-15 03:15:52 +00:00
simeng-li
83ba800d0a
refactor(core): refactor single sign-on session handle logic (#4871)
* refactor(core): refactor single sign-on session handle logic

refactor single sign-on session handle logic

* refactor(core): remove the OIDC/SAML instance assertion

remove the OIDC/SAML instance assertion

* chore(core): rename guard

rename guard
2023-11-15 10:30:34 +08:00
silverhand-bot
76c8bb2fbf
release: version packages (#4873) 2023-11-14 19:57:42 +08:00
Gao Sun
ed840a5978
chore(phrases): translate phrases (#4876) 2023-11-14 11:03:43 +00:00
wangsijie
6727f629de
chore: mfa feature release (#4861)
* chore: mfa feature release

* chore(console,experience): enable mfa feature

* chore: update changeset

---------

Co-authored-by: Xiao Yijun <xiaoyijun@silverhand.io>
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-11-14 12:02:49 +08:00
Gao Sun
b222ae8a27
refactor(console): show paywall tag and beta notice for mfa (#4870)
* refactor(console): show paywall tag for mfa

* refactor(console): add mfa beta notice

* refactor(console): use enum for plans
2023-11-14 03:48:37 +00:00
Gao Sun
3e5272db41
chore(core): add cloud note for swagger response (#4867) 2023-11-14 03:17:06 +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
8730570f3d
refactor(console): replace mfa upsell notification with InlineUpsell component (#4868) 2023-11-14 10:52:59 +08:00
simeng-li
b277cb3b99
feat(core,phrases): add sso domains validation (#4855)
* feat(core,phrases): add sso domains validation
add sso domains validation

* chore(core): align the naming

align the naming
2023-11-14 02:07:13 +00:00
Xiao Yijun
e676f0c6eb
feat(console): add tenant env migration modal (#4859) 2023-11-13 19:23:22 +08:00
Gao Sun
29efb5bf66
Merge pull request #4862 from logto-io/gao-upgrade-swagger-builder
refactor(core): generate shared id parameters definition for swagger
2023-11-13 18:51:01 +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
Gao Sun
f985f2ae43
refactor(core): update comments 2023-11-13 18:14:25 +08:00
Xiao Yijun
13fdc51ec8
fix(console): allow dev tenant deletion (#4869) 2023-11-13 15:03:18 +08:00
Gao Sun
0c923acbe3
refactor(console): update pro and beta tags (#4852)
* refactor(console): update pro and beta tags

* refactor(console): update feature tag for dev tenants

* refactor: apply code review suggestions
2023-11-13 04:21:24 +00:00
Gao Sun
1fb8369776
refactor(core): update docs and use rsync to copy files 2023-11-13 11:41:35 +08:00
Darcy Ye
548ff27e48
feat(console,phrases): add sso connector creation modal 2023-11-13 11:30:54 +08:00
Darcy Ye
9b8d4c6b20
feat(console,phrases): add sso connector list page 2023-11-13 11:29:50 +08:00
simeng-li
eeb1928e57
feat(core,schemas): remove the ssoOnly setting of the sso connectors (#4856)
feat(core,schemas): remove ssoOnly property

remove the ssoOnly property from sso connectors
2023-11-13 11:14:46 +08:00
Charles Zhao
a8b164ca54
refactor(console,phrases): move permissions and roles to step 2 in org guide (#4858) 2023-11-13 10:46:19 +08:00
Gao Sun
eee8912e7f
chore: update api path parameter format in swagger json 2023-11-12 22:18:54 +08:00
Gao Sun
be1a164f98
refactor(core): add swagger data for org apis 2023-11-12 22:18:54 +08:00
Gao Sun
e9d349737b
refactor(core): sort swagger tags 2023-11-12 22:17:54 +08:00
Gao Sun
0e0966d65d
refactor(core): revert path parameters optimization 2023-11-12 21:55:44 +08:00
Gao Sun
49aabe0290
refactor(core): fix tests 2023-11-12 00:27:01 +08:00
Gao Sun
35e44a54d3
refactor(core): generate shared id parameters definition for swagger 2023-11-11 16:34:04 +08:00
Gao Sun
e5b7c1a6f0
refactor(test): update org integration tests 2023-11-10 15:20:57 +08:00
Gao Sun
fcda26ac2f
refactor(core): fix resource parameter 2023-11-10 14:59:48 +08:00