0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -05:00
Commit graph

1723 commits

Author SHA1 Message Date
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
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
e1a162eb56
Merge pull request #5039 from logto-io/gao-add-api-docs 2023-12-01 23:57:46 +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
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
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
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
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
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
fad8872b31
fix(console,phrases,core): fix SAML attribute mapping (#4978) 2023-11-28 17:08:46 +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
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
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
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
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
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
df6d0894ba
chore(core): update generation of SAML service provider entity id (#4943) 2023-11-23 10:56:41 +08: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
Charles Zhao
fbf6d89d9b
feat(console,phrases): add organizations paywall (#4939) 2023-11-22 06:40:01 +00: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
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
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
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
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
Gao Sun
aa8a7a25c2
chore(core): fix dev script (#4882) 2023-11-15 14:04:41 +08: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
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
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
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
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
Gao Sun
1fb8369776
refactor(core): update docs and use rsync to copy files 2023-11-13 11:41:35 +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
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
fcda26ac2f
refactor(core): fix resource parameter 2023-11-10 14:59:48 +08:00
Gao Sun
d3e7cff0bd
refactor(core): reuse refresh_token grant for org tokens 2023-11-10 14:51:42 +08:00
Gao Sun
a03c0dbe5e
Merge pull request #4847 from logto-io/gao-update-org-scopes
refactor: update organization scopes
2023-11-10 14:48:47 +08:00
Gao Sun
bcc397e5fc
Merge pull request #4846 from logto-io/gao-organization-toke-grant-tests
test(core): add organization token grant unit tests
2023-11-10 14:47:57 +08:00
Gao Sun
0fd4a011f6
Merge pull request #4844 from logto-io/gao-organization-token-grant
feat: organization_token grant
2023-11-10 14:45:15 +08:00
simeng-li
d07a673a99
feat(core,experience): add sso link and email form (#4850)
* feat(core,experience): add sso link and email form

add sso link and email form

* chore(phrases): update phrases

phdate phrases

* fix(core): fix ut

fix ut

* test(experience): add single sign on link test

add single sign on link test

 Please enter the commit message for your changes. Lines starting
2023-11-10 14:41:59 +08:00
Xiao Yijun
c5809e4722
refactor(experience): remove demo app notification (#4851) 2023-11-10 11:52:44 +08:00
Gao Sun
e057e2fc42
refactor: update organization scopes 2023-11-09 16:16:43 +08:00
Gao Sun
6e2b7c0975
refactor(core): add comments 2023-11-09 11:30:34 +08:00
Gao Sun
c9db7b2ed9
Merge pull request #4831 from logto-io/gao-support-org-scope-in-for-id-token 2023-11-09 10:49:30 +08:00
Gao Sun
1da764cd5b
test(core): add organization token grant unit tests 2023-11-08 22:50:28 +08:00
simeng-li
8e07825f17
refactor(schemas): add new sso_connector_id column to the users_sso_identities table (#4843)
* refactor(schemas): add new sso_connector_id column to the users_sso_identities table

add new sso_connector_id column to the users_sso_identities table

* refactor(schemas): add new sso_connector_id row to the users_sso_identities table

add new sso_connector_id row to the users_sso_identities table

* fix(schemas): fix alteration script

fix alteration script

* fix(schemas): fix alteration script

fix alteration script

* feat(core): add single sign on authentication api (#4814)

* feat(core): add single sign on authentication api

add single sign on authentication api

* feat(core): finish up the single sign on authentication api

finish up the single sign on authentication api

* chore(core): fix typo

fix typo

* test(core): add ut for getSsoAuthorizationUrl method

add ut for getSsoAuthorizationUrl method

* fix(core): fix the userSsoIdentities sql

fix the userSsoIdentities sql

* test(core): add unit tests

add unit tests

* fix(core): saml sso rebase fix

saml sso rebase fix

* fix(core): fix rebase issue
 fix rebase issue

* feat(core): add sso email guard to interaction endpoint (#4838)

* feat(core): add sso email guard to interaction endpoint

add sso email guard to interaction endpoint

* fix(core): fix unit tests

fix unit tests

* chore(core): split files

split files
2023-11-08 08:55:45 +00:00