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

2053 commits

Author SHA1 Message Date
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
Gao Sun
368385b93d
refactor(core): dont throw for status errors in prod (#5690)
* refactor(core): dont throw for status errors in prod

* refactor(core): report to AppInsights
2024-04-16 09:36:56 +00:00
wangsijie
de47d6ab5e
chore(core): fix typos in comment (#5718) 2024-04-16 05:11:18 +00:00
simeng-li
43430afddb
feat(core): add customJwt paywall guard to core API (#5708)
add customJwt paywall guard to core API
2024-04-16 12:02:08 +08: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
simeng-li
559331d51e
refactor(core,schemas): make the jwt customizer script field mandatory (#5696)
* refactor(core,schemas): make the jwt customizer script field mandatory

make the jwt customizer script field mandatory

* fix(schemas): fix the alteration script

fix the alteration script

* fix(schemas): fix ut

fix ut
2024-04-15 10:38:30 +08:00
simeng-li
568e3dc202
feat(core): add jwt-customizer test script deployment (#5686)
feat(core): call cloud worker deploy service on custom jwt test

call cloud worker deploy service on custom jwt test
2024-04-14 11:55:02 +00:00
simeng-li
543931aa88
feat(core): undeploy worker scripts when jwt customizer is deleted (#5685)
undeloy work scripts when the jwt customizer is deleted
2024-04-12 03:05:11 +00:00
simeng-li
9b3d4ef75b
feat(core): add custom jwt worker deploy (#5682)
call custom jwt worker deploy cloud service when upsert new jwt-customizers
2024-04-12 02:39:05 +00: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
Gao Sun
c1c91b6ab8
refactor: uncomment feature guard (#5676) 2024-04-11 09:22:45 +08:00
renovate[bot]
01fee1dd9d
fix(deps): update dependency samlify to v2.8.11 (#5458)
Co-authored-by: Gao Sun <gao@silverhand.io>
2024-04-10 22:49:55 +08:00
renovate[bot]
34d525d13c
fix(deps): update dependency snakecase-keys to v8 (#5667)
Co-authored-by: Gao Sun <gao@silverhand.io>
2024-04-10 22:48:43 +08:00
silverhand-bot
fb55249ab2
release: version packages (#5463) 2024-04-10 21:27:24 +08:00
Charles Zhao
cfeb98c06f
feat(console,core,phrases): add quota guard for cloud collaboration in console (#5644) 2024-04-08 10:32:05 +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
Darcy Ye
de70abebf6
refactor: update dependency on @logto/cloud and update legacy JWT customizer 2024-04-03 17:04:41 +08:00
Charles Zhao
316c11128a
refactor(console,phrases): display inviter name on tenant invitations table (#5622)
* refactor(console,phrases): display inviter name on tenant invitations table

* chore: bump @logto/cloud

* chore: update pnpm lockfile
2024-04-03 16:28:45 +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
2368cf03c6
refactor(console,phrases): rename tenant member role to collaborator (#5618) 2024-04-03 10:36:17 +08:00
Darcy Ye
e09318d3e8
feat(core,schemas): log extraTokenClaims exception (#5539) 2024-04-02 15:19:52 +08:00
Darcy Ye
bea7d8e5ff
feat(core): add PATCH /configs/jwt-customizer API 2024-04-02 11:41:12 +08:00
Darcy Ye
21560f9805
Merge pull request #5611 from logto-io/yemq-log-8493-update-custom-jwt-console-error-handling
chore(core,console): update error handling of testing custom JWT
2024-04-02 10:55:57 +08:00
Darcy Ye
977776d31f
chore(core,console): update error handling of testing custom JWT 2024-04-01 23:57:50 +08:00
Charles Zhao
2b5e6d6fb6
fix(core): update expired invitation to expired before inserting a new one (#5609) 2024-04-01 12:18:03 +00:00
simeng-li
2c6f4b7e62
style(console): refine the SSO connector create model (#5594)
refine the sso connector create model
2024-04-01 16:42:34 +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
Darcy Ye
a77fd3f97f
Merge pull request #5585 from logto-io/yemq-log-8483-update-cloud-client-API-call
chore: update cloud version and the way to call cloud custom JWT API
2024-03-29 14:32:55 +08:00
Darcy Ye
48cfdf51a3
chore: update cloud version and the way to call cloud custom JWT API 2024-03-29 02:03:58 +08:00
renovate[bot]
dcb5eba305
fix(deps): update dependency snake-case to v4 (#5534)
Co-authored-by: Gao Sun <gao@silverhand.io>
2024-03-28 19:11:20 +08: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
Darcy Ye
e0123fd415
chore(schemas,core): update custom JWT sample token payload guard 2024-03-28 11:20:44 +08:00
Charles Zhao
f83e85ba55
feat(console): implement interim landing page for new users to join invited tenants (#5560) 2024-03-28 10:26:30 +08:00
simeng-li
92d45f2432
refactor(core,schemas): refactor the sso connector factory type (#5541)
* refactor(core,schemas): refactor the sso connector factory type

refactor the sso connector factory type and add providerType to the config data

* fix(core): fix ut

fix ut

* refactor(schemas): add the providerType to the providerDetails return type

add the new providerType property to the providerDetails return type
2024-03-27 03:10:48 +00:00
simeng-li
592d4672f0
feat(core,schemas): add new Azure OIDC SSO connector (#5540)
add new Azure OIDC SSO connector
2024-03-27 10:50:49 +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
Darcy Ye
1f0ae00ce4
fix(core,phrases): fix custom JWT PUT API block admin tenant logic 2024-03-25 23:39:18 +08:00
Charles Zhao
8d14c87652
chore: bump @logto dependencies (#5548) 2024-03-25 18:34:06 +08:00
simeng-li
a9b927910d
fix(core): fix the post domains api error status code (#5552)
fix the post domains api error status code
2024-03-25 10:18:36 +00:00
Darcy Ye
62bd784d4e
Merge pull request #5546 from logto-io/yemq-log-8470-update-custom-jwt-test-api-error-handling
refactor(phrases,core,console): update API and console error handling/display
2024-03-25 17:49:50 +08:00
Charles Zhao
a387bf2868
refactor(schemas,core,console): skip onboarding if user has pending invitations (#5547) 2024-03-25 17:45:06 +08:00
Darcy Ye
614375589d
chore: add comments 2024-03-25 17:38:21 +08:00
Darcy Ye
618c38f134
Merge pull request #5508 from logto-io/yemq-log-8338-update-extra-token-claims-logic
feat(core): add the support on custom JWT feature
2024-03-25 14:28:14 +08:00
Darcy Ye
9e67b670de
refactor(phrases,core,console): update API and console error handling/display 2024-03-25 14:18:01 +08:00
Darcy Ye
55e04cc683
refactor: reorder code 2024-03-25 14:00:05 +08:00
wangsijie
ecd3db2c71
refactor(core): remove unused mark mfa skip function (#5517)
fixed #5482
2024-03-25 10:25:21 +08:00
Darcy Ye
5ea8c49c5d
chore: fix 2024-03-22 17:50:31 +08:00
Darcy Ye
ea796c15a5
chore: fix 2024-03-22 12:52:42 +08:00
Darcy Ye
8ea166ad2d
refactor: try catch extraTokenClaims function to avoid breaking the auth process 2024-03-21 23:50:55 +08:00
Darcy Ye
210bb298be
refactor: remove credentials cache 2024-03-21 23:50:54 +08:00
Darcy Ye
8513dae8af
refactor: block admin tenant from using creating jwt-customizer API 2024-03-21 23:50:54 +08:00
Darcy Ye
ddd93dc977
refactor(core): add cache for cloud connection data 2024-03-21 23:50:54 +08:00
Darcy Ye
89ba8a1a0c
chore: update cloud dependency 2024-03-21 23:50:54 +08:00
Darcy Ye
18fb88ecdd
fix: cloud connection should bypass custom JWT flow 2024-03-21 23:50:53 +08:00
Darcy Ye
084ced1bd6
feat(core): add the support on custom JWT feature 2024-03-21 23:50:53 +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
simeng-li
f1f6b1cd61
feat(console): integrate jwt customizer test api (#5532)
* feat(console): integrate jwt customizer test api

integrate jwt customizer test api

* refactor(console,core): jwt test api integration

jwt test api integration

* chore: add cloud connection scope config for fetching custom jwt

---------

Co-authored-by: Darcy Ye <darcyye@silverhand.io>
2024-03-21 15:26:30 +08:00
Darcy Ye
88f759c686
chore: add status 403 for custom jwt test API 2024-03-21 12:51:57 +08:00
Darcy Ye
239c17f367
refactor: adopt suggestion 2024-03-21 11:13:06 +08:00
Gao Sun
45a7ee17aa
refactor: remove cloud only operations when needed 2024-03-21 10:57:25 +08:00
Darcy Ye
77b67fbd04
refactor(core): add cloud-only API prune for API docs 2024-03-21 10:57:25 +08:00
Darcy Ye
9c7956da5c
refactor: refactor 2024-03-21 10:57:23 +08:00
Darcy Ye
ed710b06ec
chore: remove 500 status guard 2024-03-21 10:56:13 +08:00
Darcy Ye
e72e927bb1
chore: add todo 2024-03-21 10:56:13 +08:00
Darcy Ye
aac7a7bcf8
chore: update core dependency 2024-03-21 10:56:13 +08:00
Darcy Ye
ef7e8e1fda
refactor(core): use discriminate union for custom jwt test API 2024-03-21 10:56:13 +08:00
Darcy Ye
5fbee28565
feat(core): add POST /configs/jwt-customizer/test API 2024-03-21 10:56:12 +08:00
Darcy Ye
f727ef8415
Merge pull request #5529 from logto-io/yemq-log-8446-update-user-context-type
refactor(core): update user context type
2024-03-21 10:54:46 +08:00
Darcy Ye
a2f20df9c9
chore: add comments 2024-03-20 14:35:08 +08:00
Gao Sun
abffb9f95e
chore: add changeset and api doc 2024-03-20 13:39:22 +08:00
Gao Sun
6feb531435
feat: add profile api, update api and database, add tests 2024-03-20 13:16:23 +08:00
Darcy Ye
e5e378d1bb
chore: remove org role scopes field since it relies on pagination setup 2024-03-20 12:58:12 +08:00
Gao Sun
bc110843e6
Merge pull request #5523 from logto-io/gao-allow-filter-invitation-by-invitee
feat: allow get invitations by invitee
2024-03-20 11:29:33 +08:00
Gao Sun
1bc40faf98
refactor: fix type issues 2024-03-20 11:00:11 +08:00
simeng-li
b994f1e2ad
refactor(core): refactor oidc sso connector (#5528)
refactor oidc sso connector
2024-03-20 10:20:01 +08:00
Darcy Ye
8f5baac585
refactor(core,schemas): refactor to improve lib method performance 2024-03-20 00:47:56 +08:00
Gao Sun
beff82ae2c
feat: add oidc standard claims to user 2024-03-19 22:51:26 +08:00
Darcy Ye
348124b60e
refactor(core): update user context type 2024-03-19 16:01:55 +08:00
Gao Sun
23bc5cdc8e
Merge pull request #5521 from logto-io/gao-allow-unknown-keys-in-message-payload
refactor: allow unknown keys in send message payload
2024-03-19 10:49:52 +08:00
Gao Sun
98ca0a739d
feat: allow get invitations by invitee 2024-03-19 10:45:02 +08:00
Gao Sun
2c10c24232
refactor: update invitation apis 2024-03-19 10:38:36 +08:00
wangsijie
9aa07bf8ed
test(core): mock crypto functions in password tests (#5522) 2024-03-19 02:37:58 +00:00
Gao Sun
b40a3474aa
Merge pull request #5513 from logto-io/gao-use-svhd-slonik
refactor: use silverhand slonik
2024-03-19 09:26:59 +08:00
wangsijie
2f388c08bf
feat(core): set oidc issuer to custom domain (#5509)
* feat(core): set oidc issuer to custom domain

* refactor(core): get tenant id return whether is custom domain
2024-03-18 14:27:33 +08:00
Gao Sun
feaca53785
refactor: remove unused files 2024-03-18 10:04:25 +08:00
Gao Sun
0a5226c4be
chore: upgrade slonik 2024-03-18 09:59:38 +08:00
Gao Sun
fbbe767867
refactor: use silverhand slonik 2024-03-16 19:04:55 +08:00
Gao Sun
54c2b1d1e3
refactor: fix errors 2024-03-16 14:44:32 +08:00
Gao Sun
e22eb3a9d2
refactor: remove slonik from shared 2024-03-16 00:50:10 +08:00
Darcy Ye
58885b31cb
fix(core): the koa response status guard missing 422 in sso integration API (#5506) 2024-03-15 03:57:08 +00: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
simeng-li
2c5a4491ae
refactor(core,console): align the jwt token path enum (#5493)
align the jwt token path enum used in console and core
2024-03-13 01:48:12 +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
Darcy Ye
9eb1c4ad7f
feat(core,schemas): update jwt customizer user info context 2024-03-11 18:29:29 +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
ce2abe740c
Merge pull request #5465 from logto-io/yemq-log-8283-add-GET-configs-jwt-customizer-API
feat(core): add GET /configs/jwt-customizer API
2024-03-07 14:14:09 +08:00
Darcy Ye
81eb02239e
Merge pull request #5461 from logto-io/yemq-log-8282-add-POST-configs-jwt-customizer-API
feat(core): add PUT /configs/jwt-customizer API
2024-03-07 14:10:13 +08:00
Darcy Ye
5d55776d60
refactor(core): refactor 2024-03-06 19:53:17 +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
f4a812ae8a
refactor(core): refactor 2024-03-06 19:31:42 +08:00
Darcy Ye
0f0247ce2f
refactor(core): overload function interface 2024-03-06 18:47:41 +08:00
Darcy Ye
5d8e6853d1
refactor(core): refactor code 2024-03-06 18:15:54 +08:00
simeng-li
2f72f8ffd7
feat(console,phrases): integrate monaco editor (#5460)
* feat(console,phrases): integrate monaco editor

integrate monaco editor

* chore: update pnpm lock file

update pnpm lock file

* fix(console): remove unused styles

remove unused styles

* feat(console): update font styles

update font styles
2024-03-06 14:08:46 +08:00
Darcy Ye
44ff452492
fix(core): align openapi.json 2024-03-06 12:35:22 +08:00
renovate[bot]
e1def81ed5
chore(deps): upgrade withtyped and cloud packages (#5408)
* fix(deps): upgrade withtyped packages

* chore: fix types

* chore(deps): upgrade logto cloud package

* refactor(cli): fix types

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2024-03-06 04:26:50 +00: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
Xiao Yijun
3ae59baf6e
chore(core): deprecate unused query methods for logs table (#5464) 2024-03-04 15:50:37 +08:00
Xiao Yijun
a0a19b13f9
refactor(core): migrate dashboard/users/active api data deps (#5457) 2024-03-04 14:59:56 +08:00
wangsijie
cc01acbd0e
feat(core): create user with encrypted password (#5446) 2024-03-04 15:41:36 +09:00
wangsijie
79b49ab79a
feat(core): support more encrypt methods (#5444)
* feat(schemas): add more encryption methods

* feat(core): support more encrypt methods

* fix(schemas): fix alter down column name

* fix(core): fix tiny lint issue

* refactor(core,schemas): use uppercase value

* feat(core,schemas): add bcrypt

* fix(schemas): fix alter script

* refactor(core,schemas): rename bcrypt and use hash-wasm

* chore: fix lock file
2024-03-04 03:18:19 +00:00
silverhand-bot
16ca8b2a98
release: version packages (#5445) 2024-03-01 14:40:25 +08: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
Xiao Yijun
c65730bcd2
refactor(core, schemas): enhance the time accuracy of dau data (#5451) 2024-03-01 12:43:55 +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
silverhand-bot
e606462bcc
release: version packages (#5433) 2024-02-26 08:41:08 +00: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]
4fd798e1d0
fix(deps): update dependency @simplewebauthn/server to v9 (#5269)
fix(deps): update @simplewebauthn packages to v9

Co-authored-by: Gao Sun <gao@silverhand.io>
2024-02-20 08:28:57 +00:00
Darcy Ye
b6233a1a58
feat(core,test): add PUT /users/:userId/identities/:target API (#5410) 2024-02-19 22:27:32 +08:00
simeng-li
52f4e578a5
refactor(core,schemas): remove cloudConnection call in koaTenantGuard (#5395)
remove cloudConnection dependency in the koaTenantGuard
2024-02-19 10:45:57 +08:00
Gao Sun
40eeea8cc0
refactor(core): log cloudflare error (#5399) 2024-02-09 00:42:07 +08:00
silverhand-bot
3f28e9a445
release: version packages (#5068) 2024-02-08 13:18:42 +08:00
wangsijie
936a8733cf
chore(core): remove dev features flag from core (#5371)
chore(console): remove dev features flag from core
2024-02-06 11:32:31 +08:00
wangsijie
f3c6028e00
fix(core,phrases): add notice that protected app is cloud only (#5385) 2024-02-06 10:46:18 +08:00
wangsijie
94bc538484
chore(core): update api doc for create protected app (#5344) 2024-02-05 03:38:01 +00:00
simeng-li
c10d6b6884
feat(console,core): remove devFeature guard (#5366)
remove devFeature guard for IdP
2024-02-02 15:16:31 +08:00
simeng-li
f53a14d7a8
feat(core): add third-party application creation quota guard (#5348)
add third-party application creation quota guard
2024-02-01 10:29:58 +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
wangsijie
db2d10a2a8
fix(core,schemas): use database index to prevent custom domain conflict (#5342) 2024-01-31 11:05:20 +08:00
Gao Sun
90866a957d
Merge pull request #5340 from logto-io/gao-add-api-tests
refactor: update organization invitation api connector payload
2024-01-30 15:48:12 +08:00
renovate[bot]
0a9e1d093c
fix(deps): update dependency snakecase-keys to v6 (#5253)
Co-authored-by: Gao Sun <gao@silverhand.io>
2024-01-30 07:40:02 +00: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
wangsijie
1963e12bd7
fix(core,schemas): use database index to prevent subdomain conflict (#5326) 2024-01-30 11:53:27 +08:00
wangsijie
c9117515aa
chore(core): show errors of storage provider (#5240) 2024-01-30 03:09:05 +00:00
wangsijie
2260eb01cc
refactor(core): remove default page rules (#5325) 2024-01-30 10:55:31 +08:00
Xiao Yijun
09637a1a57
fix(core): include m2m apps in application limit (#5322) 2024-01-30 10:38:52 +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
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
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
wangsijie
8fb032da7a
fix(core): fix protected app callback uri (#5308) 2024-01-25 18:14:34 +08:00
wangsijie
880e890321
fix(core): get tenant endpoint (#5309) 2024-01-25 09:41:21 +00:00
simeng-li
52411f6712
feat(experience): add redirect uri info (#5296)
add redirect uri info
2024-01-25 11:48:01 +08:00
wangsijie
5b37be116a
fix(core,phrases): prevent application deletion for custom domain (#5262)
fix(core,phrases): prevent application deletion when custom domain exists
2024-01-24 08:46:35 +08:00
wangsijie
12fc67a039
feat(core,phrases): delete custom domain (#5261) 2024-01-23 15:20:03 +08:00
wangsijie
fa89d33252
feat(core): sync site configs and oidc metadata for custom domain (#5260) 2024-01-23 13:14:03 +08:00
wangsijie
43ce51ce2a
fix(core): should throw 500 on file upload error (#5274) 2024-01-23 03:58:29 +00: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
0d4d1b16f5
fix(schemas): remove catchall from cloudflare data guard (#5271) 2024-01-22 13:50:40 +08:00
wangsijie
cb5763f449
feat(core): sync protected app domain status (#5257) 2024-01-22 03:35:46 +00:00
simeng-li
2f1fb659ef
refactor(core): update the consent apis (#5267)
update the consent apis
2024-01-22 02:29:32 +00:00
wangsijie
e74c0cbc92
feat(core): check application custom domain conflict (#5256) 2024-01-19 09:25:30 +00:00
wangsijie
ef29f490af
feat(core): add custom domain for protected app (#5254) 2024-01-19 08:41:01 +00:00
wangsijie
ea407f19fa
feat(core,schemas): prepare schemas for protected app custom domain (#5247) 2024-01-19 13:17:20 +08:00
wangsijie
ad0a83ae03
feat(core): api to get protected app default domain (#5241) 2024-01-19 05:15:11 +00:00
simeng-li
08f8688cf2
feat(core): add get consent info api (#5259)
add get consent info api
2024-01-19 10:52:55 +08:00
simeng-li
94908ee8ce
feat(core): add third-party application scopes and organizations restriction (#5249)
* feat(core): add client scope restriction metadata for third-party apps

add client scope restriction metadata for third-party apps

* feat(core): disable auto consent for the thrid-party apps

disable auto consent for the third-party apps

* feat(core): filter out not enabled resource scopes for third-party app

filter out not enabled resource scopes for third-party app

* feat(core): add organization grant validation for third-party application refresh_token grant

add organization grant validation for third-party application refresh_token grant

* fix(core): remove the resource scopes from client metadata

remove the resource scopes from client metadata
2024-01-19 10:31:26 +08:00
simeng-li
29dcd61b77
fix(core): add management api scopes guard (#5251)
management api scopes is not allowed to assign to the third-party app
2024-01-18 10:01:52 +08:00
Charles Zhao
191298fff4
fix(core): fix quota guard for schema routers (#5242)
* fix(core): fix quota guard for schema routers

* chore: add comments
2024-01-16 22:46:12 +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
wangsijie
cbfd00e673
feat(core,schemas): add block domain list (#5234) 2024-01-15 15:45:00 +08:00
Gao Sun
ca24e20f6a
Merge pull request #5232 from logto-io/gao-get-delete-invitation
feat(core): get and delete org invitation by id
2024-01-15 11:40:41 +08:00
Gao Sun
44d8717bd7
refactor: fix swagger 2024-01-15 11:13:24 +08:00
Gao Sun
e7fe20d32f
feat(core): get and delete org invitation by id 2024-01-15 08:26:25 +08:00
Gao Sun
d845c89c86
Merge pull request #5226 from logto-io/gao-reorg-org-queries
refactor(core): reorg organization queries
2024-01-12 20:56:08 +08:00
Gao Sun
44e2f96452
Merge pull request #5224 from logto-io/gao-init-invitation-apis
feat(schemas, core): init organization invitation apis
2024-01-12 20:55:31 +08:00
Gao Sun
f9750ace90
refactor(core): reorg organization queries 2024-01-11 21:56:10 +08:00
Gao Sun
0f08608b96
refactor(core): add swagger json 2024-01-11 21:47:30 +08:00
Gao Sun
75b643ad2f
feat(schemas, core): init organization invitation apis 2024-01-11 18:08:26 +08:00
wangsijie
67be81e6df
feat(core): delete protected app (#5191) 2024-01-11 15:30:42 +08:00
wangsijie
5bc649e10d
feat(core,phrases): update protected app (#5189) 2024-01-11 11:03:01 +08:00
renovate[bot]
85a1c781b0
chore(deps): update dependency @types/koa__cors to v5 (#5177)
Co-authored-by: Gao Sun <gao@silverhand.io>
2024-01-11 02:33:52 +00:00
wangsijie
d469e9499c
refactor(core): use const pagination key name for swagger (#5175) 2024-01-10 11:03:23 +08:00
wangsijie
0b08da2b46
feat(core): generate oidc metadata for protected app (#5188) 2024-01-09 11:45:38 +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
renovate[bot]
094ff37e7a
chore(deps): update dependency @types/supertest to v6 (#5159)
Co-authored-by: Gao Sun <gao@silverhand.io>
2024-01-08 03:08:45 +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
Xiao Yijun
7a7188d8b1
refactor: deprecate staging env tag (2/2) (#5187) 2024-01-02 05:41:43 +00:00