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

902 commits

Author SHA1 Message Date
Xiao Yijun
33537ef1af
refactor(console,phrases): update role assignment modal phrases (#5989) 2024-06-04 20:42:46 +08:00
simeng-li
7a279be1fc
refactor(core,schemas): add user detail payload to User.Deleted webhook event (#5986)
* refactor(core,schemas): add user detail payload to User.Deleted DataHook event

add user detail data payload to the User.Deleted DataHook event

* fix(core): fix unit test

fix unit test
2024-06-04 11:09:27 +00:00
Xiao Yijun
7ebabc490a
refactor(console): always display role creation hint in role assignment modal (#5988) 2024-06-04 09:19:40 +00:00
Xiao Yijun
6e116b30df
refactor(console,phrases): update rbac-related phrases (#5975) 2024-06-03 17:47:51 +08:00
silverhand-bot
0decba0308
release: version packages (#5868) 2024-05-31 23:48:43 +08:00
wangsijie
a330310955
fix(console): remove outdated nextjs app router guide (#5862) 2024-05-29 12:40:05 +08:00
Xiao Yijun
58fd32e456
refactor(console): setup m2m roles after creating m2m app (#5924) 2024-05-28 05:07:34 +00:00
Gao Sun
38811e1099
refactor: remove internal role policies (#5904)
* refactor: remove internal role policies

* refactor: remove unused tests
2024-05-21 21:44:24 +08:00
Gao Sun
e715049bae
refactor: remove TenantInfo type (#5891) 2024-05-17 20:06:09 +08:00
simeng-li
88f568f3c5
feat(core): add suctom scopes.updated hook events (#5880)
* feat(core): add suctom scopes.updated hook events

add scopes.updated hook event to role creation api

* chore(core): add dev feature guard

add dev feature gurad

* feat(core): fetch scopes details and return to the hook

fetch scopes details and return to the hook

* refactor(core): mark deprecated body of roles/:id/scopes api

mark deprecated body of roles/:id/scopes api

* fix(test): fix unit test

fix unit test
2024-05-17 17:25:31 +08:00
Gao Sun
76fd33b7ed
feat: default user role (#5872)
* feat: default user role

* chore: add tests and changeset

* refactor: show warning for deprecated env

* chore: fix tests
2024-05-17 16:02:05 +08:00
simeng-li
5e7bee1c8c
refactor(core,schemas,test): rename DataHook data update event name (#5876)
rename the DataHook Schema data update event name
2024-05-16 06:40:59 +00:00
simeng-li
e04d9523a6
feat(console, phrases): update the supported webhook events (#5856)
* test(core): add integration tests

add integration tests for interaction hooks

* chore(test): remove legacy test

remove legacy test

* feat(console, phrases): update the supported webhook events

update the supported webhook events

* refactor(console): rename webhook and webhook log keys

rename webhook and webhook log keys

* fix(test): fix integration test

fix integration test

* feat(console): add devFeature guard

add devFeature guard

* chore: add changeset

add changeset

* chore(console): remove the lint rule disable comment

remove the lint rule disable comment

* fix(test): fix the integartion tests

fix the integration tests

* fix(console): refine the code

refine the code

* chore(console): refine comments

refine comments
2024-05-15 06:26:52 +00:00
simeng-li
5462ab4765
feat(core): trigger user create DataHook event on user registration (#5837)
* feat(core): trigger user data hook event on interaction api call

trigger user data hook event on interaction api call

* chore(core): refine comments

refine comments

* fix(core): fix the interactionHookMiddleware

fix the interactionHookMiddleware

* test(core): add integration tests

add integration tests for interaction hooks

* chore(test): remove legacy test

remove legacy test
2024-05-15 11:17:46 +08:00
silverhand-bot
7b5a4e3fb4
release: version packages (#5684) 2024-05-14 20:27:55 +08:00
wangsijie
5660c54cb5
fix(core): should sign out user after deletion or suspension (#5857)
fixed #5572
2024-05-14 08:10:31 +00:00
Xiao Yijun
1e24843a28
chore(phrases): update organization permission column name (#5864) 2024-05-14 07:46:31 +00:00
wangsijie
1c414f1889
fix(core): fix consent scopes filter rule for non-3rd-party app (#5859) 2024-05-14 15:24:49 +08:00
simeng-li
5acd7ef8cb
refactor(core, schemas): update interaction webhook middleware using contextManager (#5834)
* feat(core): update interaction webhook middleware using contextManager
updaet interaction webhook middleware using contextManager

* fix(test): fix ut

fix ut

* refactor(core, schemas): refactor DataHook context structure

refactor DataHook context structure

* fix(core): fix demo-app application not found error

fix demo-app application not found error

* chore(core): update comments

update comments
2024-05-13 16:49:09 +08:00
simeng-li
e7a642028d
feat(schemas): define data hook events (#5828)
* feat(schemas): define data hook events

define data hook events

* fix(schemas,core): fix the type error

fix the type error

* fix(core): fix unit test

fix unit test

* feat(test): add integration tests for DataHooks

add integration tests for DataHooks

* fix(test): fix ut of management api hook middleware
fix ut of the management api hook middleware

* refactor(test,core,schemas): refactor some DataHook definiations

refactor some DataHook definitations

* chore(test): remove upper scope describe wrap

remove upper scope describe wrap

* fix(test): fix tests

fix tests

* refactor(schemas): rename the info.update events

rename the info.update events

* refactor(schemas): rename

rename

* refactor(core,schemas): refactor DataHook code

refactor DataHook code to address some code review comments

* fix(test): fix ut

fix ut

* fix(schemas): update DataHookEventPayload type

update DataHookEventPayload type

* chore(schemas): update comments

update comments
2024-05-13 16:11:50 +08:00
wangsijie
0fc9f83b7e
fix(core): filter scopes for 3rd-party app (#5845) 2024-05-13 11:05:30 +08:00
Darcy Ye
5872172cbb
feat(core,console): enable custom JWT for OSS and can run script in local vm (#5794) 2024-05-11 22:22:14 +08:00
wangsijie
7244dadf69
feat(core,schemas): update consent info (#5822) 2024-05-09 13:32:31 +08:00
Gao Sun
21bb35b127
feat: init management api hook middleware function (#5783)
* feat: init management api hook middleware function

* refactor: fix type issues

* feat(core): implement auto triggered management api hooks

implement auto triggered managment api hooks

* refactor(console,core,schemas): rename the managementHook to dataHook

rename the managementHooke to dataHook and redefine the types

* feat(core): add dev feature guard

add dev feature guard

* chore: update changeset

update changeset

* refactor(core,console,schemas,shared): update the webhook logics

update the webhook logics. Address some PR review comments

* fix(test): fix integration tests

fix integration tests

* fix(test): remove legacy code

remove legacy code

* refactor(core,schemas): refactor the hook library code

refactor the webhooks library code. address some comments

* fix(core): address rebase issue

update console log using getConsoleLogFromContext

* fix(core): fix ut

fix ut

* fix(core): refactor data webhook code

refactor data webhook codes

* refactor(core): clean up some management api webhook code

clean up some management api webhook code

---------

Co-authored-by: simeng-li <simeng@silverhand.io>
2024-05-09 11:19:01 +08:00
wangsijie
726a65dd8e
feat(core,schemas): add org resource scopes to consent get (#5808) 2024-05-07 16:39:37 +08:00
Gao Sun
a9ccfc738d
refactor: implement request id (#5813)
* refactor: implement request id

* refactor: fix tests

* refactor: add unit tests
2024-05-01 15:49:01 +00:00
wangsijie
5adf3dfad7
feat(core,schemas): add CRUD for consent organization resource scopes (#5804)
feat(core,schemas): add crud for user consent organization resource scopes
2024-04-30 15:09:13 +08:00
Gao Sun
e8c41b1644
feat: support organization custom data (#5785)
* feat: support organization custom data

* chore: update changeset
2024-04-25 14:16:59 +00:00
simeng-li
397dfcdf92
fix(experience): redirect to sign-in page on socical sign-in error (#5787)
* fix(experience): redirect to sign-in page on socical sign-in error
redirect user to sign-in page on social sign-in error

* test(experience): add integration tests

add integration tests
2024-04-25 14:00:07 +08:00
Charles Zhao
0b49f9cf83
fix(console): copy to clipboard component should display at full width properly (#5764) 2024-04-19 10:03:17 +00:00
renovate[bot]
8508469abf
chore(deps): update silverhand configs monorepo packages to v6 (major) (#5750)
* chore: upgrade configs

* refactor: fix lint errors

* refactor: fix lint errors

* refactor: fix stylelint issues

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2024-04-18 12:26:37 +00:00
Gao Sun
4aa6db99db
chore: upgrade packages (#5749) 2024-04-18 18:26:58 +08:00
Xiao Yijun
c6adedefb5
fix(console): always display create org button (#5746) 2024-04-18 16:15:05 +08:00
Xiao Yijun
45157873a2
test(console): assign permissions to organization role (#5729) 2024-04-18 14:33:10 +08:00
Charles Zhao
52df3ebbbb
fix(core,console): invitee emails should be case insensitive (#5730)
* fix(core,console): invitee email checks should be case insensitive

* test: add integration test

* chore: add changeset
2024-04-17 17:55:54 +08:00
wangsijie
d545303568
fix(core): set oidc access denied error code to 403 (#5725) 2024-04-17 02:27:47 +00:00
Charles Zhao
59acedeecd
feat(console): update user access immediately on tenant role updates (#5720)
* feat(console): update user access immediately on tenant role updates

* chore: improve comments

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

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2024-04-16 16:31:34 +00:00
Charles Zhao
49b60af093
chore(test): improve organization user test stability (#5717) 2024-04-16 03:07:10 +00:00
wangsijie
d355ac7d20
feat(core): handle access token with organization api resource (#5653) 2024-04-16 09:58:47 +08:00
Charles Zhao
aacbebcbc8
feat(core): add api to fetch organization scopes for a user (#5701)
* feat(core): add api to fetch user organization scopes

* chore: add openapi.json

* fix: integration test

* chore: turn off max-lines lint rules for openapi json files

* chore: add changeset

* refactor: return all scope information instead of just the name
2024-04-15 07:04:42 +00:00
Xiao Yijun
97f2d9b8d0
refactor(console,phrases): update organization template phrases (#5688) 2024-04-12 11:30:05 +08:00
wangsijie
5b03030de2
fix(core): not allow to modify management api resource (#5626) 2024-04-11 17:20:53 +08:00
Gao Sun
b3740656f5
refactor(core): partially remove got (#5596)
* refactor(core): partially remove got

* refactor: use shared form-urlencoded headers
2024-04-11 07:16:53 +00:00
silverhand-bot
fb55249ab2
release: version packages (#5463) 2024-04-10 21:27:24 +08:00
Gao Sun
1ade7a32eb
refactor(experience): fall back to sign-in page when error (#5673)
* refactor(experience): fall back to sign-in page for edge cases

* refactor: add unit tests

* refactor: fix tests
2024-04-10 20:52:44 +08:00
Charles Zhao
2c97cd6898
fix(console): user should switch account and accept invitation properly in console (#5657)
* fix(console): bump js sdks to fix the cannot switch user account issue

* fix(console): accept invitation automatically after switching account
2024-04-09 17:30:17 +08:00
wangsijie
3160b40f3b
feat(core,schemas): edit and query resource scopes for org role (#5613) 2024-04-07 15:11:40 +08:00
wangsijie
94ccbafa80
feat(core,schemas): add organization resource scope relations (#5608) 2024-04-07 11:10:13 +08:00
wangsijie
468558721a
feat(core): search organization roles (#5627) 2024-04-07 11:09:27 +08:00
Xiao Yijun
cb4ef9fd0e
refactor(console): reorg resource details page (#5634) 2024-04-07 10:25:59 +08:00
Darcy Ye
bde2abe407
chore(core,console,schemas): update variable name and field name 2024-04-03 11:58:43 +08:00
Charles Zhao
a4f8199e92
fix(console,phrases): fix a batch of organization invitation console ui issues (#5614) 2024-04-02 10:12:08 +00:00
Darcy Ye
bea7d8e5ff
feat(core): add PATCH /configs/jwt-customizer API 2024-04-02 11:41:12 +08:00
wangsijie
982aa918e6
test: add tests for username case sensitive (#5597) 2024-03-31 17:39:25 +08:00
Darcy Ye
c1722c8793
refactor(core): reorg and separate logto-config APIs into files 2024-03-31 14:51:33 +08:00
Darcy Ye
e34cfd812a
chore(core): update GET /configs/jwt-customizer/:tokenPath API error handling (#5595) 2024-03-30 10:10:03 +08:00
Gao Sun
7756f50f8e
feat: support direct sign-in for sso (#5589) 2024-03-29 21:56:25 +08:00
Gao Sun
6d56434b48
refactor: use ky in integration tests (#5584)
* refactor: use ky in integration tests

* refactor: remove node-fetch

* refactor: fix test cases

* refactor: remove waitFor after each test
2024-03-29 10:10:13 +00:00
renovate[bot]
961fd8ea99
fix(deps): update dependency snakecase-keys to v7 (#5556)
* fix(deps): update dependency snakecase-keys to v7

* test: wait for 1ms for every api test

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2024-03-28 18:16:00 +08:00
Gao Sun
2ae8c112f5
test: improve integration tests (#5577) 2024-03-28 09:00:35 +00:00
wangsijie
80a3808398
test: add integration tests for jwt (#5565) 2024-03-28 17:00:08 +08:00
Gao Sun
0ade3016d8
test: wait 0ms after each test 2024-03-28 16:26:58 +08:00
Xiao Yijun
ba966fdefe
feat(console): support permission editing (#5567) 2024-03-28 10:52:15 +08:00
Gao Sun
3f59461df6
chore(deps): update packges (#5545)
* chore(deps): upgrade puppeteer

* chore: replace plugin

* refactor: fix tests
2024-03-27 10:21:46 +08:00
Gao Sun
2cbc591ff6
feat: support direct sign-in (#5536)
* feat: support direct sign-in

* chore: add changesets

* refactor: add test cases

* chore(deps): upgrade logto sdks
2024-03-26 13:23:41 +08:00
Charles Zhao
8d14c87652
chore: bump @logto dependencies (#5548) 2024-03-25 18:34:06 +08:00
Gao Sun
a98bc3da54
Merge pull request #5530 from logto-io/gao-add-oidc-standard-claims
feat: add oidc standard claims to user
2024-03-21 23:25:50 +08:00
Gao Sun
3cb9b892da
refactor: fix test and ci 2024-03-21 23:10:24 +08:00
Gao Sun
f60e64175f
Merge pull request #5526 from logto-io/gao-store-raw-data-social
feat: return and store social connector raw data
2024-03-21 22:47:13 +08:00
simeng-li
9518658595
fix(schemas): fix the get interation/consent api bug (#5503)
* fix(schemas): fix the get interation/consent api bug

fix the get interation/consent api bug

* chore: update changeset

update changeset

* fix: update changeset

update changeset

* refactor(schemas, console): alter the resource scopes description field to nullable (#5504)

* refactor(schemas, console): alter the resoruce scopes description field nullable

make the resourec scopes description nullable

* fix(test): fix the type issue in the integration test

fix the type issue in the integration test

* fix(console): add the field register

add the field register

* fix: update the changeset

update the changeset

* fix(console,test): update comments and rebase

update comments and rebase the master
2024-03-20 14:31:35 +08:00
Gao Sun
6feb531435
feat: add profile api, update api and database, add tests 2024-03-20 13:16:23 +08:00
Gao Sun
d597681a67
refactor: fix tests 2024-03-20 11:57:48 +08:00
Gao Sun
57d97a4df8
feat: return and store connector raw data 2024-03-19 14:05:42 +08:00
Gao Sun
98ca0a739d
feat: allow get invitations by invitee 2024-03-19 10:45:02 +08:00
simeng-li
2a358bf241
refactor(console,core,schemas): rename the jwtCustomizer related type and guards (#5496)
rename the jwtCustomizer related type and guards
2024-03-13 06:35:47 +00:00
Gao Sun
1965633bed
refactor(core): update organization invitation apis (#5474)
* refactor(core): update organization invitation apis

* chore: add api tests
2024-03-12 18:35:40 +08:00
wangsijie
95f4ba1856
feat(core): add password algorithm transition (#5481) 2024-03-08 18:04:13 +08:00
wangsijie
172411946a
feat(core): create user with avatar and custom data (#5476) 2024-03-08 03:29:39 +00:00
Darcy Ye
57a9cfa6d3
fix(core): fix rebase 2024-03-07 15:06:50 +08:00
Darcy Ye
29d7642c6b
feat(core): add DELETE /configs/jwt-customizer API 2024-03-07 14:25:24 +08:00
Darcy Ye
74a70c068d
feat(core): add GET /configs/jwt-customizer API 2024-03-07 14:17:49 +08:00
Darcy Ye
e327754008
fix(test): fix tests 2024-03-06 19:33:41 +08:00
Darcy Ye
754d425a60
chore(core,test): update tests and refactor getJwtCustomizer query 2024-03-06 19:33:41 +08:00
Darcy Ye
118de63049
feat(core): add GET /configs/jwt-customizer API 2024-03-06 19:33:39 +08:00
Darcy Ye
5d8e6853d1
refactor(core): refactor code 2024-03-06 18:15:54 +08:00
Darcy Ye
7c06880287
feat(schemas,core,test): remove LogtoJwtTokenKeyType and define the path enum locally in core 2024-03-06 11:50:11 +08:00
Darcy Ye
92a04f08bd
feat(core): use PUT instead of POST and refactor code 2024-03-05 22:22:25 +08:00
Darcy Ye
7c4019b408
feat(core,phrases): add POST /configs/jwt-customizer API 2024-03-05 22:22:25 +08:00
wangsijie
cc01acbd0e
feat(core): create user with encrypted password (#5446) 2024-03-04 15:41:36 +09:00
Gao Sun
532454b923
feat(core,connector): support apple sign-in with email (#5454)
* feat(core,connector): support apple sign-in with email

* chore: add tests and changesets

* refactor: fix tests and improve changeset
2024-03-01 05:00:41 +00:00
simeng-li
480c8ec462
refactor(test): remove dropdown modal waitForTimeout (#5439)
* refactor(test): remove dropdown modal waitForTimeout

remove dropdown modal waitForTimeout

* fix(test): fix typo

fix typo

* fix(test): fix the "not applicable" sign-up option not found issue

fix the "not applicable" sign-up option not found issue
2024-02-28 14:05:02 +08:00
simeng-li
db6e761490
fix(core,test): fix integration test (#5438)
* fix(core,test): fix integration test

fix integration tests

* fix(test): remove api timeout

remove api timeout
2024-02-28 14:04:29 +08:00
Darcy Ye
873d20fed9
fix(core): mgmt API scopes are not assignable to user roles (#5425)
* fix(core): mgmt API scopes are not assignable to user roles

* feat: add alteration script to remove mgmt api scopes already assigned to user role

* chore: use option object
2024-02-27 03:19:59 +00:00
renovate[bot]
166f29fe17
chore(deps): update logto js sdk monorepo packages (major) (#5422)
* chore(deps): update logto js sdk monorepo packages

* chore: rebase master and update lock file

rebase master and update lock file

* fix(test): update the @logto/node version

update the @logto/node version

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2024-02-26 15:20:35 +08:00
Darcy Ye
07e145b903
fix(core,console): block deletion on management API (#5424)
* fix(core,console): block deletion on management API

* refactor(core): separate resource api file to two files due to file size
2024-02-23 04:37:20 +00:00
renovate[bot]
2cb4ec7578
chore(deps): update dependency jest-puppeteer to v10 (#5416)
* chore(deps): update dependency jest-puppeteer to v10

* fix: rebase and fix lock file

rebase and fix lock file

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2024-02-23 12:28:56 +08:00
renovate[bot]
86c8179f00
chore(deps): update dependency expect-puppeteer to v10 (#5415)
* chore(deps): update dependency expect-puppeteer to v10

* fix: rebase and align lock file

rebase and align lock file

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2024-02-23 11:58:11 +08:00
Darcy Ye
b6233a1a58
feat(core,test): add PUT /users/:userId/identities/:target API (#5410) 2024-02-19 22:27:32 +08:00
silverhand-bot
3f28e9a445
release: version packages (#5068) 2024-02-08 13:18:42 +08:00
Gao Sun
0a87ffd609
refactor(core): use deepmerge (#5361) 2024-02-01 09:17:29 +08:00
Gao Sun
c7353f68e9
refactor(core): guard status from request errors (#5343)
* refactor(core): guard status from request errors

* refactor(core): update routes

* refactor: update tests and routes

* refactor(core): update protected app response code
2024-01-31 17:45:27 +08:00
Gao Sun
891c207817
test: add organization invitation api tests 2024-01-30 15:31:43 +08:00
Gao Sun
f74fdce9a0
Merge pull request #5338 from logto-io/gao-refactor-mock-connectors
refactor!: update mock connector file paths
2024-01-30 15:30:43 +08:00
Gao Sun
70b8ff707e
Merge pull request #5335 from logto-io/gao-remove-magic-links
refactor: remove magic links
2024-01-30 15:29:21 +08:00
Gao Sun
abe97c1182
Merge pull request #5330 from logto-io/gao-put-invitation-status
feat(core): put invitation status
2024-01-30 15:28:03 +08:00
Gao Sun
87fd9a01e4
refactor: update helper function names 2024-01-30 09:44:21 +08:00
Gao Sun
6befe60149
refactor!: update mock connector file paths 2024-01-29 21:33:12 +08:00
Gao Sun
46c550bf43
refactor: update invitation api payload for email 2024-01-29 21:27:04 +08:00
Gao Sun
6d0f95739c
refactor: remove magic links 2024-01-29 20:21:45 +08:00
Gao Sun
0a20b5a6f8
feat(core): put invitation status 2024-01-29 19:39:27 +08:00
simeng-li
873ef1ebd0
feat(console): hide m2m and third-party app in the empty app list guide (#5331)
* feat(console): hide m2m and third-party app in the empty app list guide

hide m2m and third-party app in the empty app status guide

* fix(test): fix integration tests

fix integration tests
2024-01-29 18:12:56 +08:00
Gao Sun
ee91767ce9
refactor: add invitation api tests (#5324)
* refactor: add invitation api tests

* refactor: update alteration

* refactor: fix config guard
2024-01-29 01:39:52 +00:00
Darcy Ye
c2e6a610bc
fix(console): fix m2m app log not accessible bug (#5307) 2024-01-26 11:15:11 +08:00
Gao Sun
570a4ea9e2
feat: create invitation (#5245)
* feat: create invitation

* refactor: update test imports

* refactor: update unit tests

* refactor: update docs

* refactor: update api tests

* chore: add changesets

* refactor: add comments

* refactor: fix swagger check

* refactor: keep compatibility
2024-01-25 19:44:20 +08:00
simeng-li
42e9513ca1
fix(console,core): fix application count bug (#5270)
fix application count bug
2024-01-23 11:22:26 +08:00
wangsijie
e1bbbd9ebf
feat(core,shared,phrases): check subdomain when creating protected app (#5217) 2024-01-16 16:30:03 +08:00
simeng-li
4e1b8d1d0d
feat(core): implement application user consent organizations api (#5236)
* feat(core): implement application user consent organizations api

implement application user consent organizations api

* test(core): add api integration tests

add api integration tests
2024-01-16 03:04:23 +00:00
Darcy Ye
4a517379b3
chore(test): add test cases for SAML and OIDC SSO configuration (#5093) 2024-01-11 17:26:35 +08:00
wangsijie
5bc649e10d
feat(core,phrases): update protected app (#5189) 2024-01-11 11:03:01 +08:00
Gao Sun
3d5786d982
refactor: remove legacy resources (#5118)
* refactor: remove legacy api resources

* refactor: remove legacy resources

* refactor: add alteration script

* refactor(cli): adjust legacy seed test data

* refactor: update alteration timestamp

* refactor: update organization role name
2024-01-08 14:47:30 +08:00
wangsijie
ade9cf1dc7
feat(core): sync site configs to KV for new protected app (#5135) 2024-01-08 14:36:43 +08:00
simeng-li
a85266284b
feat(console,phrases): add new third-party application to the guide Library (#5144)
* feat(console,phrases): add new third-party applicaiton to the guide library

add new third-party applicaiton to the guide library

* fix(test): adjust the test order

adjust the test order

* fix(phrases): add untranslated tag

add untranslated tag
2024-01-05 02:46:27 +00:00
simeng-li
9669fc92fb
refactor(core): add koaAutoConsent middleware (#5078)
* refactor(core): add koaAutoConsent middleware

Add koaAutoConsent middleware to allow auto consent and redirect direactly from the server side.

* refactor(core): use koaMount to apply the consent middleware

use koaMount to apply the consent middleware

* feat(test): update the integration tests

update the integration tests

* fix(test): update the unit test for consent

update the unit test for consent
2024-01-05 10:00:31 +08:00
Darcy Ye
3861bcac36
chore(test): add test cases for SSO connection info (#5092) 2024-01-02 11:37:57 +08: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
wangsijie
3e39e2e428
feat(core): route for add protected application (#5114) 2023-12-25 07:32:03 +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
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
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
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
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
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
Gao Sun
31e60811d7
chore: use Node 20 LTS for engine requirement (#5084) 2023-12-11 09:10:53 +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
simeng-li
b204ba8f74
refactor(core,experience): simplify the consent path (#5072)
simplify the consent path
2023-12-08 15:14:51 +08:00
silverhand-bot
4865610b51
release: version packages (#4894) 2023-12-06 16:13:56 +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
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
3e92a20320
refactor(core): add user ip to webhook event payload (#5049) 2023-12-04 06:06:28 +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
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
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
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
14855cde2c
feat(console,core,phrases): add display name field, fix error display (#4983) 2023-11-28 15:49:46 +08: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
Darcy Ye
ac099b1e64
chore(console,core): add/replace SSO connector logo resources (#4963) 2023-11-27 11:02:34 +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
Xiao Yijun
a376b71ae7
fix(test): fix experience ui test randomly fail issue (#4945) 2023-11-23 11:10:36 +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
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
bfda1d2c95
refactor(schemas): use user membership as foreign key for user org roles (#4885) 2023-11-16 11:19:44 +08:00
Gao Sun
bfea0b0fdd
refactor(core): fix org apis (#4890) 2023-11-15 09:20:31 +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
e676f0c6eb
feat(console): add tenant env migration modal (#4859) 2023-11-13 19:23:22 +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
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
be1a164f98
refactor(core): add swagger data for org apis 2023-11-12 22:18:54 +08:00
Gao Sun
e5b7c1a6f0
refactor(test): update org integration tests 2023-11-10 15:20:57 +08:00
Gao Sun
d3e7cff0bd
refactor(core): reuse refresh_token grant for org tokens 2023-11-10 14:51:42 +08:00
Gao Sun
73f348af89
Merge pull request #4849 from logto-io/gao-add-oidc-org-integration-tests
refactor(test): add integration tests for org token grant
2023-11-10 14:50:20 +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
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
52766acaa9
refactor(test): add integration tests for org token grant 2023-11-09 16:57:33 +08:00
Gao Sun
e057e2fc42
refactor: update organization scopes 2023-11-09 16:16:43 +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
Xiao Yijun
f2a3f7e01f
test: add delay before clicking switch mfa factors link (#4840) 2023-11-08 10:41:05 +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
Gao Sun
9ae4d9aad7
feat: support organizations scope for ID token 2023-11-07 12:33:53 +08:00
Gao Sun
8dff98b1e0
refactor(test): fix integration test assertion 2023-11-06 10:36:46 +08:00
silverhand-bot
a5a0d44dc8
release: version packages (#4624) 2023-11-03 13:14:52 +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
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
Charles Zhao
cee5717423
feat(console,schemas): add new db config to record organization creation status (#4785) 2023-10-31 09:34:44 +08:00
Charles Zhao
fba54f42b6
chore(test): temporarily skip organization console integration tests (#4789)
* chore(test): temporarily skip organization console integration tests

* chore: add comment
2023-10-30 16:39:23 +00: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
Xiao Yijun
e748f8bc7e
refactor(phrases): update mfa phrases (#4781) 2023-10-30 06:20:50 +00: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
Xiao Yijun
de9810709f
refactor(experience): use last used factor when verifing mfa factors (#4775) 2023-10-27 16:59:48 +08:00
Gao Sun
38a307aeef
Merge pull request #4762 from logto-io/gao-org-integration-tests-1
chore(test): init org ui tests
2023-10-27 15:58:43 +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
Xiao Yijun
bec525ebe4
style(console): update radio disabled styles (#4769) 2023-10-27 10:23:39 +08:00
Xiao Yijun
6b99cc1f2e
chore(test): wait for network idle to ensure the sign-in request to be handled (#4749) 2023-10-26 18:17:03 +08:00
Xiao Yijun
1fcc4152af
fix(experience): invoke webauthn on iOS devices (#4770) 2023-10-26 18:05:14 +08:00
Gao Sun
c4826556d9
chore(test): init org ui tests 2023-10-26 18:03:16 +08:00
Darcy Ye
4c7d80ea60
fix(test): make m2m RBAC console integration test stable (#4757) 2023-10-26 10:41:39 +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
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
Gao Sun
fb48db4185
Merge pull request #4739 from logto-io/gao-add-organization-user-api-tests
chore(test): add integration tests for new APIs
2023-10-24 23:46:04 -05:00
Gao Sun
7c4f0cd56f
Merge pull request #4738 from logto-io/gao-refactor-integration-tests
refactor(test): manage test resource lifecycle
2023-10-24 23:43:50 -05:00
Gao Sun
5b2e4c87b1
Merge pull request #4725 from logto-io/gao-console-org-12
refactor(core,console): fixing to-dos
2023-10-24 23:42:06 -05:00
Gao Sun
52d8e3ad37
refactor(console): fixing code review to-dos 2023-10-25 12:40:14 +08:00
Xiao Yijun
125a3dd230
fix(experience): correct mfa flow state for switch mfa factors link (#4737) 2023-10-24 23:12:33 +08:00
Gao Sun
63d6a3b7db
chore(test): add integration tests for new APIs 2023-10-24 22:00:18 +08:00
Charles Zhao
a976799621
refactor(console): improve responsiveness in all details pages (#4712) 2023-10-24 13:52:19 +00:00
Gao Sun
bdf5892c67
refactor(test): manage test resource lifecycle 2023-10-24 20:51:39 +08:00
Gao Sun
bc5a1039f0
refactor(core,console): fixing to-dos 2023-10-24 15:44:00 +08:00
Xiao Yijun
89e9b4810b
feat(experience): skip mfa binding (#4724) 2023-10-24 06:29:32 +00:00
wangsijie
478c0c5af9
feat(core): skippable bind mfa prompt (#4697)
feat(core): skipable bind mfa prompt
2023-10-24 12:56:48 +08:00
Gao Sun
c988d52de0
Merge pull request #4714 from logto-io/gao-console-org-8
feat(core): organization apis
2023-10-23 23:55:24 -05:00
Gao Sun
962204ef5e
Merge pull request #4696 from logto-io/gao-console-org-4
feat(console,core): edit permissions and roles
2023-10-23 23:49:02 -05:00
Gao Sun
6581108450
Merge pull request #4689 from logto-io/gao-console-org-3
feat(console): organization roles table
2023-10-23 23:43:15 -05:00
Xiao Yijun
02e72ea425
feat(experience): implement backup code experience flow (#4699) 2023-10-23 16:20:07 +08:00
wangsijie
a20e9a2641
feat(core,schemas): verify backup code (#4695) 2023-10-23 16:00:58 +08:00
Xiao Yijun
87df417d1a
feat(console): support HTTP for webhook requests (#4716) 2023-10-23 13:56:09 +08:00
Gao Sun
fbe9f7e89a
chore(test): fix integration tests 2023-10-23 13:06:55 +08:00
Gao Sun
a1e0d5843e
refactor(test): fix integration test 2023-10-20 16:21:06 +08:00
Gao Sun
d97b86175d
refactor(test): fix integration test 2023-10-20 15:39:14 +08:00
wangsijie
b972397f80
refactor(core,phrases): change interaction bind-mfa to array (#4680) 2023-10-20 13:48:36 +08:00
Gao Sun
d4d2a7256e
refactor(test): fix integration test 2023-10-19 18:46:10 +08:00
Xiao Yijun
76a7b1da3f
refactor(test): avoid sending connection tests to 3rd-party connector services (#4700) 2023-10-19 09:52:32 +00:00
Gao Sun
b8c2a25d4f
refactor(phrases): fix case 2023-10-18 17:27:41 +08:00
Xiao Yijun
c9886f2860
refactor(test): refactor connector ui tests (#4688) 2023-10-18 14:08:59 +08:00
Xiao Yijun
8c0b55ab06
refactor(core): add time window validation tolerance for otp authenticator (#4684) 2023-10-18 11:56:01 +08:00
Gao Sun
98b2eed6ec
Merge pull request #4666 from logto-io/gao-handle-db-errors
refactor(core): organization apis error handling
2023-10-17 04:25:50 -05:00
Gao Sun
8f1a4cb52e
Merge pull request #4665 from logto-io/gao-org-apis-7
feat(core): get organizations for user api
2023-10-17 04:24:49 -05:00
Xiao Yijun
f67b3a8d6b
test(experience): add tests for webauthn experience flow (#4643) 2023-10-17 07:49:36 +00:00
Charles Zhao
b991597342
refactor(schemas,core,console): unify the usage of OIDC "keyType" in both frontend and backend (#4670) 2023-10-16 22:27:46 -05:00
Xiao Yijun
a2ede7e36e
refactor(test): reset mfa settings after testing (#4671) 2023-10-16 09:42:42 +00:00
Xiao Yijun
7d7f435bc1
chore(console): update mfa phrases (#4669) 2023-10-16 17:18:10 +08:00
Gao Sun
718053739c
Merge pull request #4659 from logto-io/gao-org-apis-5
feat(core): organization - user relation apis
2023-10-16 03:21:34 -05:00
Gao Sun
33e9a5d695
Merge pull request #4658 from logto-io/gao-add-relation-routes
refactor(core): `addRelationRoutes()` for `SchemaRouter`
2023-10-16 02:16:41 -05:00
Gao Sun
d69a73617e
Merge pull request #4657 from logto-io/gao-org-apis-4
feat(core): role - scope relation apis
2023-10-16 02:15:18 -05:00
Gao Sun
a74e523bbe
Merge pull request #4651 from logto-io/gao-org-apis-3
feat(core): organization role APIs
2023-10-16 02:13:24 -05:00
Gao Sun
c3219f6fcd
refactor(core): organization apis error handling 2023-10-16 14:04:03 +08:00
Gao Sun
406e54e84f
feat(core): get organizations for user api 2023-10-15 23:15:09 +08:00
Gao Sun
dd8c299547
refactor(test): fix api test 2023-10-15 23:14:57 +08:00
Gao Sun
a3a4c8a431
refactor(core): add pagination to relation queries 2023-10-15 22:51:02 +08:00
Gao Sun
d393741366
feat(core): organization - user - organization role apis 2023-10-15 13:54:58 +08:00
Charles Zhao
35f57639e5
fix(core): dispose tenant cache on demand in order to hot reload oidc provider (#4641)
* fix(core): dispose tenant cache on demand

* chore: add comments for the tenant cache invalidation mechanism

* refactor(core): refactor dispose tenant cache implementation per review comments

* refactor(core): change `invalidateCache` to a class member method

* test(core): add test cases for Tenant class
2023-10-14 12:34:03 +00:00
Gao Sun
e6d3db6e80
feat(core): organization - user relation apis 2023-10-14 20:06:14 +08:00