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

1579 commits

Author SHA1 Message Date
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
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
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
Gao Sun
c532a3fe38
refactor(core): rename type folder for oidc-provider 2023-11-08 16:16:01 +08:00
Gao Sun
397c0146e7
refactor(core): overwrite response with parsed result (#4759)
* refactor(core): overwrite response with parsed result

* refactor: fix legacy schema issues
2023-11-08 08:01:23 +00:00
Gao Sun
da24e523f7
refactor(core): fix tests 2023-11-08 15:44:27 +08:00
Gao Sun
9e4ee1be19
feat: organization_token grant 2023-11-08 15:30:05 +08:00
Charles Zhao
414604838d
Merge pull request #4834 from logto-io/charles-log-7417-support-searching-organization-by-id
feat(core): support searching organization by id
2023-11-08 12:31:56 +08:00
Darcy Ye
f694256461
Merge pull request #4806 from logto-io/yemq-log-7174-add-saml-sso-connector-class
feat(core): add SAML SSO class

feat(core,test): update SSO connector APIs for SAML class and add integration test cases
2023-11-07 22:11:41 +08:00
Darcy Ye
7fe41a0037
feat(core,test): update sso connector util functions, APIs and integration tests (#4807) 2023-11-07 21:12:29 +08:00
wangsijie
a3b5b55281
feat(core): add isDevelopmentTenant to SIE well-known api (#4825) 2023-11-07 17:30:20 +08:00
Charles Zhao
48c0e028af
feat(core): support searching organization by id 2023-11-07 15:52:44 +08:00
Gao Sun
9ae4d9aad7
feat: support organizations scope for ID token 2023-11-07 12:33:53 +08:00
Darcy Ye
40a5a18d90
feat(core): add saml sso class 2023-11-07 12:01:35 +08:00
Charles Zhao
c65dcb9552
fix(core): allow http1 in core services (#4823) 2023-11-07 11:39:26 +08:00
Charles Zhao
00017418c3
chore: bump dev dependencies (#4829)
chore: update browserlist-db
2023-11-07 11:38:54 +08:00
silverhand-bot
a5a0d44dc8
release: version packages (#4624) 2023-11-03 13:14:52 +08:00
Gao Sun
6673996288
refactor(core): disable org apis for non-dev envs (#4813) 2023-11-03 04:32:12 +00:00
wangsijie
b118fc54a6
refactor(core,schemas): add user logto_data column to store mfa (#4792)
* feat(core,phrases): disable auto skip mfa

* refactor(experience): skip mfa manually (#4788)

* refactor(core,schemas): add user logto_data column to store mfa skipped info

---------

Co-authored-by: Xiao Yijun <xiaoyijun@silverhand.io>
2023-11-02 16:16:21 +08:00
wangsijie
ddf4468189
feat(core,phrases): disable auto skip mfa (#4786)
* feat(core,phrases): disable auto skip mfa

* refactor(experience): skip mfa manually (#4788)

---------

Co-authored-by: Xiao Yijun <xiaoyijun@silverhand.io>
2023-11-02 15:09:00 +08:00
wangsijie
9ed7be3f67
fix(core): check user mfa when binding backup code (#4790) 2023-11-02 13:05:12 +08:00
simeng-li
e515c04d44
refactor(core,schemas,console): refactor log key types and sso-connector authn-url api name (#4798)
* refactor(core,schemas,console): refactor log key types and sso-connector authn-url api name

refactor log key types and sso-connector authn-url api name

* feat(schemas): add user sso identities table (#4801)

* feat(schemas): add user sso identities table

add user sso identities table

* fix(schemas): fix alterations

fix alterations

* refactor(schemas): use unique constrain

use unique constrain
2023-11-02 02:13:06 +00:00
simeng-li
a982e997c3
feat(core): add get sso-connectors by email interaction api (#4795)
* refactor(core,test,schemas): remove the domains property from sso connector in sie wellknown data

remove the domains property from sso connector in sie wellknown data

* refactor(core): extract getAvailableSsoConnectors library method

extract getAvailableSsoConnectors library method

* fix(core,test): should filter out empty domain connectors

should filter out empty domain connectors

* feat(core,test): add get sso-connectors by email interaction api

add get sso-connectors by email interaction api

* chore(core): update comments

update comments
2023-11-01 09:38:28 +08:00
simeng-li
8616496c61
feat(core): add post single-sign-on authentication endpoint (#4787)
* feat(core): add put interaction sso authentication api

add put interaction sso authentication api

* fix(test): fix integration test type

fix integration test type
2023-10-31 17:52:27 +08:00
wangsijie
34f4d47bc6
feat(core): add last use time to user mfa verifications (#4767) 2023-10-31 10:40:01 +08:00
Charles Zhao
cee5717423
feat(console,schemas): add new db config to record organization creation status (#4785) 2023-10-31 09:34:44 +08:00
wangsijie
161f012bc0
fix(core): prompt to bind mfa for register (#4783) 2023-10-31 09:32:20 +08:00
Darcy Ye
1ab39d19b6
fix(console,core,test): support filter by type for GET roles and apps APIs (#4727)
* fix(console,core): do not reuse advanced search for role/app type

* chore(test): add integration test cases for using search component when assigning app/role

* chore: apply suggestions from code review

Co-authored-by: Gao Sun <gao@silverhand.io>

* chore(test): add API test cases for filtering roles/applications and add changeset

* chore: apply suggestions from code review

Co-authored-by: Gao Sun <gao@silverhand.io>

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-10-30 14:25:15 +00:00
Hussain Shaikh
d41b71a54a
feat(core): google cloud storage provider (#4660) 2023-10-30 14:24:45 +08:00
simeng-li
4080a2599b
feat(core): add ssoConnectors to the sie well-known api (#4777)
* feat(core): add ssoConnectors to the sie wellknown api

add ssoConnectors to the sie wellknown api

* fix(test): fix well-known sie ut

fix well-known sie ut
2023-10-30 10:28:03 +08:00
wangsijie
8798432a24
feat(core,phrases): add mfa verifications by api (#4765) 2023-10-28 07:00:24 +00:00
Gao Sun
d9a469dee3
Merge pull request #4772 from logto-io/gao-improve-org-settings-page
refactor(console): improve org settings page
2023-10-28 01:41:44 +08:00
Gao Sun
d012008fd5
refactor(core): allow empty relation array for PUT 2023-10-28 01:27:10 +08:00
renovate[bot]
77cec73429
fix(deps): update dependency jose to v5 (#4761)
* fix(deps): update dependency jose to v5

* chore(deps): rebase lockfile update

rebase lockfile update

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2023-10-27 16:52:32 +08:00
wangsijie
160fe94df7
fix(core): block the use of unavailable MFA (#4756) 2023-10-27 07:14:40 +00:00
wangsijie
97d1dfaa90
fix(core): fix validateBindMfaBackupCode to force linking backup code (#4753) 2023-10-27 14:55:48 +08:00
wangsijie
75e5df0091
fix(core): fix mfa log type (#4750) 2023-10-27 11:51:34 +08:00
wangsijie
752d02b316
fix(core): remove user verification requirement for webauthn (#4751) 2023-10-27 11:50:49 +08:00
simeng-li
85a39c35d7
refactor(core): refactor the sso-connector config guard logic (#4752)
* refactor(core): refactor the sso-connector config guard logic

refactor the sso-connector config guard logic

* chore(core): update with some more comments

update with some more comments

* refactor(core): adjust the input type of parseConnectorConfig

make the config requred in the parseConnectorConfig's input

* refactor(core): add the isSupportedSsoConnector type assertion (#4754)

* refactor(core): add the isSupportedSsoConnector type assertion

add the isSupportedSsoConnector type assertion

* chore(core): remove the useless comments

remove the useless comments

* refactor(core): reorg the sso utils

reorg the sso utils

* refactor(core): extract sso connector library

extract sso connector library
2023-10-27 11:47:58 +08:00
renovate[bot]
7a777bf101
chore(deps): update dependency sinon to v17 (#4711)
* chore(deps): update dependency sinon to v17

* chore: rebase update

rebase update

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2023-10-26 11:33:46 +08:00
Gao Sun
9b1f0ced09
Merge pull request #4755 from logto-io/gao-org-featured
feat: organization featured members
2023-10-25 21:11:57 -05:00
Gao Sun
83cd281173
Merge pull request #4748 from logto-io/gao-use-sentence-case
chore: use sentence case
2023-10-25 21:07:02 -05:00
Gao Sun
d06c6e520c
Merge pull request #4746 from logto-io/gao-fixing-review-to-dos
refactor(console): fixing code review to-dos
2023-10-25 21:02:50 -05:00
renovate[bot]
98478a32c8
chore(deps): update dependency lint-staged to v15 (#4661)
* chore(deps): update dependency lint-staged to v15

* chore: rebase update

rebase update

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2023-10-26 09:55:47 +08:00
Gao Sun
889ca18e66
feat: organization featured members 2023-10-25 20:28:58 +08:00
simeng-li
2b15b13bbf
feat(core): add OIDC SSO connector class (#4701)
* feat(core): implement oidc and single sign on connector class

init oidc and single sign on connecter class

* refactor(core): refactor the structure of single sign-on classes

refactor the structure of single sign-on classes

* chore(core): provide more comments

provide more comments

* feat(core): add sso-connector-factories api (#4708)

* feat(core): add sso-connector-factories api

add sso-connector-factories api

* fix(test): remove hard code connector name

remove hard code connector name

* feat(core): add POST sso-connectors api (#4719)

* feat(core): add POST sso-connectors api

add POST sso-connectors api

* chore(core): add some comments
add some comments

* test(core): add post sso connectors integration tests

add post sso connectors integration tests

* feat(core): add GET sso-connectors api (#4723)

* feat(core): add GET sso-connectors api

add GET sso-connectors api

* test(core): add tests

add tests

* test(core): add ut

add ut

* fix(test): remove console statement

remove console statement

* feat(core): implement get sso-connector by id endpoint (#4730)

* feat(core): implement get sso-connector by id endpoint

implement get sso-connector by id endpoint

* feat(core): implement delete sso-connector by id endpoint (#4733)

* feat(core): implement delete sso-connector by id endpoint

implement delete sso-connector by id endpoint

* feat(core): implement patch sso-connectors api (#4734)

* feat(core): implement patch sso-connectors api

implement patch sso-connectors api

* fix(core): avoid patch api empty update case

avoid patch api empty update case

* feat(core): implement patch sso-connector config api (#4736)

implement patch sso-connector config api

* fix(test): replace SAML provider name with dummy name

replace SAML provider name with dummy name
as we are going to implement the SAML connector soon

* fix(core): fix rebase error of findAll query output type

fix rebase error of the findAll query output type
2023-10-25 14:44:58 +08:00
Gao Sun
0554ee9847
chore: use sentence case 2023-10-25 14:01:49 +08:00