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

291 commits

Author SHA1 Message Date
simeng-li
458746c9ac
fix(core): fix azure oidc sso connector authorization error (#5912)
* fix(core): fix azure oidc sso connector authorization error

fix azure oidc sso connector authorization error

* chore: add changeset

add changeset

* chore: update changeset

update changeset

* fix(core): dynamicly verify multi-tenant azure oidc issuer

dynamicly verify multi-tenant azure oidc issuer
2024-05-29 13:30:56 +08:00
Darcy Ye
c95755502d
fix(connector): fix GitHub connector GET /emails forbidden error (#5925)
* fix(connector): fix GitHub connector GET /emails forbidden error

* chore: adopt suggestion

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

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2024-05-29 04:24:04 +00:00
Xiao Yijun
25d67f33f3
feat: create pre-configured role with m-api access when seeding db (#5908) 2024-05-23 13:58:41 +08:00
simeng-li
b5104d8c19
feat(console,core): remove DataHook devFeature guard (#5898)
* feat(console,core): remove DataHook devFeature guard

remove DataHook devFeature guard

* chore: add changeset

add changeset

* chore: update changesets

update changesets
2024-05-22 11:20:09 +08:00
simeng-li
cb1a38c405
refactor(experience): add global loading status on page redirect (#5774)
* refactor(experience): add global loading status on page redirect

add global loading status on page redirect

* chore: add changeset
2024-05-20 09:19:46 +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
Charles Zhao
c558affac5
fix(console): improve audit log error handling if the related user has been removed (#5874) 2024-05-16 04:51:55 +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
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
6fe6f87bc3
chore(console,experience): remove dev flags add changeset for organization updates (#5763) 2024-05-13 14:18:33 +08:00
wangsijie
1ef32d6d54
chore: add changeset for org api resource (#5719)
chore: add change set for org api resource
2024-05-13 10:18:10 +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
Darcy Ye
0227822b2d
feat(connector): can access all user email even if no public email is set (#5737) 2024-05-09 12:55:56 +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
Charles Zhao
b4b8015db5
fix(core): invitee email check should be case insensitive (#5823)
* fix(core): invitee email check should be case insensitive

* chore: add changeset
2024-05-06 10:21:45 +08:00
Xiao Yijun
3e5ffc4991
feat(connector): add hugging face connector (#5797) 2024-05-06 09:54:48 +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
3486b12e86
fix(core): fix upload file guard (#5810)
fix: remove the plus sign in front of the phone number (#5801)

Co-authored-by: Kamto <kam_to@outlook.com>
2024-04-30 03:40:05 +00:00
simeng-li
bbd399e157
fix(experience,core): fix SSO register hook event not triggering bug (#5796)
* fix(experience,core): fix SSO register hook event not triggering bug

fix the SSO register hook event not triggering bug

* chore: update changeset content

update changeset content
2024-04-28 03:24:15 +00:00
Gao Sun
b80934ac5c
fix(experience): use correct callback path for native environments (#5800) 2024-04-27 23:27:33 +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
Xiao Yijun
f9c7a72d51
feat(connector): support client_secret_basic and client_secret_jwt methods for oauth2 connectors (#5762) 2024-04-24 13:51:41 +08:00
Charles Zhao
ead2abde65
fix(core): bump oidc-provider to fix resource indicator check (#5782)
* fix(core): bump oidc-provider to fix resource indicator check

* chore: add changeset
2024-04-24 09:51:56 +08:00
Charles Zhao
b575f57ac3
feat(core): support comma separated resource param (#5773) 2024-04-23 15:11:39 +08:00
simeng-li
9cf03c8edb
feat(console): add spring boot integration guide (#5740)
* feat(console): add spring boot integration guide

add spring boot integration guide

* chore: add changeset

add changeset

* chore: fix changeset typo

* fix(console): update the spring boot guide description

update the spring boot guide description

* chore(console): remove extra empty space

remove extra empty space
2024-04-23 02:37:54 +00:00
Alessandro Chitolina
8ef021fb35
feat(core): add redis cluster and tls extra options support (#5619)
* feat: add redis cluster and tls extra options support

* refactor(core): allow non-normative redis url

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2024-04-18 20:14:49 +08:00
Gao Sun
c1c746bca4
refactor: remove AppInsights for React (#5742) 2024-04-18 15:20:24 +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
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
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
wangsijie
5b03030de2
fix(core): not allow to modify management api resource (#5626) 2024-04-11 17:20:53 +08:00
silverhand-bot
fb55249ab2
release: version packages (#5463) 2024-04-10 21:27:24 +08:00
simeng-li
5cde35ec1e
chore: add changeset (#5668)
add changeset
2024-04-10 19:04:03 +08:00
wangsijie
468558721a
feat(core): search organization roles (#5627) 2024-04-07 11:09:27 +08:00
Gao Sun
7756f50f8e
feat: support direct sign-in for sso (#5589) 2024-03-29 21:56:25 +08:00
Charles Zhao
746483c494
fix(console,phrases): api resource indicator should be a valid absolute uri (#5561)
* fix(console,phrases): api resource indicator should be a valid absolute uri
2024-03-27 09:35:37 +00:00
Xiao Yijun
5758f84f5e
feat(console): support signing-key rotation for oss version (#5559) 2024-03-27 16:52:40 +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
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
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
abffb9f95e
chore: add changeset and api doc 2024-03-20 13:39:22 +08:00
Gao Sun
57d97a4df8
feat: return and store connector raw data 2024-03-19 14:05:42 +08:00
Gao Sun
2c10c24232
refactor: update invitation apis 2024-03-19 10:38:36 +08:00
simeng-li
7c22c50cbf
chore: add changeset for the bug fix PR (#5507)
add changeset for the bug fix PR
2024-03-18 02:27:05 +00:00
Gao Sun
5a7204571a
refactor(experience): skip non-object messages in native (#5491)
* refactor(experience): skip non-object messages in native

* chore: add changeset
2024-03-12 11:27:18 +08:00
wangsijie
172411946a
feat(core): create user with avatar and custom data (#5476) 2024-03-08 03:29:39 +00:00
wangsijie
cc01acbd0e
feat(core): create user with encrypted password (#5446) 2024-03-04 15:41:36 +09: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
Darcy Ye
a7e69bd727
fix(connector): always show SMTP connector TLS configurations in the admin console (#5441) 2024-02-28 11:06:42 +08:00
silverhand-bot
e606462bcc
release: version packages (#5433) 2024-02-26 08:41:08 +00:00
Gao Sun
677054a245
docs(console): add guides (#5427) 2024-02-26 03:37:53 +00:00
silverhand-bot
3f28e9a445
release: version packages (#5068) 2024-02-08 13:18:42 +08:00
simeng-li
32df9acde3
chore: add changeset files for IdP feature (#5380)
* chore: add changeset files for IdP feature

add changeset files for IdP feature

* refactor: apply suggestions from code review

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2024-02-08 03:13:24 +00:00
Gao Sun
715dba2ce2
feat(console): add .NET Blzor WASM tutorial (#5377)
* feat(console): add .NET Blzor WASM tutorial

* chore: fix typo
2024-02-05 22:51:07 +08:00
Charles Zhao
04ec78a917
fix(console,phrases): improve error handling when user associated app is removed (#5389)
* fix(console,phrases): improve error handling when user associated app is removed

* chore: add changeset

* refactor(console): update per review comments
2024-02-05 14:44:24 +00:00
Gao Sun
c14cd18278
chore: add changeset 2024-02-04 21:11:19 +08:00
Gao Sun
6befe60149
refactor!: update mock connector file paths 2024-01-29 21:33:12 +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
wangsijie
acb7fd3fea
feat(core): case insensitive usernames (#5170)
* feat(core): case insensitive usernames

* test(core): add case insensitive username test cases

---------

Co-authored-by: Tc001 <tc001@t0.lv>
2023-12-28 10:57:47 +08: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
Gao Sun
b40bae9c5b
refactor: translate phrases (#5140)
* refactor: translate phrases

* chore: fix translate issue
2023-12-21 08:37:26 +00:00
Charles Zhao
e4c73e7bb7
feat(cli): add option to skip core check in translate cli commands (#5085)
* feat(cli): add option to skip core check in translate cli commands

* chore(cli): add changeset

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

* chore: update changeset
2023-12-20 16:45:01 +08:00
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
Gao Sun
31e60811d7
chore: use Node 20 LTS for engine requirement (#5084) 2023-12-11 09:10:53 +08:00
Gao Sun
a2ce0be466
feat(schemas): add tenant role enum and scope enum 2023-12-08 16:57:48 +08:00
Darcy Ye
8c4bfbce16
fix(console): should hide upsell tag for standard connectors in OSS version (#5066) 2023-12-06 08:47:25 +00:00
silverhand-bot
4865610b51
release: version packages (#4894) 2023-12-06 16:13:56 +08:00
simeng-li
9a7b19e49d
chore: split SSO changesets (#5064)
* chore: split SSO changesets

split sso changesets

* fix: fix changeset content

fix changeset content
2023-12-06 03:00:15 +00:00
Gao Sun
becf591697
chore: add changeset (#5063) 2023-12-05 22:35:52 +08:00
simeng-li
338c7ab1a9
feat: add sso changeset (#5061)
* feat: add sso changeset

add sso changeset

* chore: update changeset

update changeset

* chore: fix the md syntax

fix the md syntax
2023-12-05 22:01:52 +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
b05fb2960d
chore(core): enforce summary and description for Management APIs 2023-12-03 19:10:21 +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
backpast
9421375d78
chore(deps): update libphonenumber-js to v1.10.51 to fix china 19 started phone numbers (#4998)
* chore(deps): update libphonenumber-js action to v1.10.51 to fix china 19 start phone number

* chore: add changeset

---------

Co-authored-by: renjianhua <renjianhua@zuoshouyisheng.com>
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2023-11-29 20:56:39 +08:00
Gao Sun
4b90782ae0
feat(cli): support sync array keys (#4903)
* feat(cli): support sync array keys

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

* chore: add changeset
2023-11-20 23:23:53 +08:00
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
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
bbe7f0b8e2
chore: add changeset 2023-11-12 00:27:08 +08:00
silverhand-bot
a5a0d44dc8
release: version packages (#4624) 2023-11-03 13:14:52 +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
Xiao Yijun
87df417d1a
feat(console): support HTTP for webhook requests (#4716) 2023-10-23 13:56:09 +08:00
simeng-li
d24aaedf5b
refactor(toolkit)!: split connector toolkit types (#4678)
* refactor(toolkit)!: split connector toolkit types

split connector toolkit types

* chore: add changeset

add changeset
2023-10-18 13:53:21 +08:00
Charles Zhao
46d0d4c0b9
refactor(schemas,core,cli): alter signing key type to json object (#4582) 2023-10-08 12:51:04 -05:00
silverhand-bot
6993b15ecd
release: version packages (#4621) 2023-10-08 00:28:22 -05:00
Gao Sun
2c340d3799
refactor(core): support roles scope for ID token (#4600)
* refactor(core): support `roles` scope for ID token

* chore: update changeset
2023-10-07 10:20:51 +00:00
Darcy Ye
03bc7888b1
chore: add M2M RBAC changeset for @logto/core and update changelog (#4618) 2023-10-07 17:54:14 +08:00
silverhand-bot
f3ec4c6734
release: version packages (#4575) 2023-10-07 00:39:33 -05:00
Darcy Ye
a8b5a020fd
chore: add M2M RBAC changeset and remove feature switch (#4593) 2023-09-28 14:35:19 +08:00
Gao Sun
827123faa0
feat(core): integrate basic sentinel (#4562)
* feat(core): integrate basic sentinel

* chore: add integration tests

* refactor(test): fix toast matching

* chore: add changeset

* refactor(test): update naming
2023-09-25 08:20:17 +00:00
Gao Sun
18181f892e
refactor(shared)!: standardize id and secret generators (#4550)
* refactor(shared)!: standardize id and secret generators

* refactor: fix tests
2023-09-22 13:43:56 +08:00
silverhand-bot
d254dae5ff
release: version packages (#4572) 2023-09-21 22:04:40 +08:00
Charles Zhao
6f5a0acad4
fix(phrases): phrase key should not contain dot (#4565)
* fix(phrases): phrase key should not contain dot

* chore: add changeset

* refactor: keep `.` in the error code

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-09-21 13:41:41 +00:00
Charles Zhao
a4b44dde54
refactor(console): update protect api guide for express.js (#4564)
refactor(console): update protect api on express guide content
2023-09-21 20:50:20 +08:00
silverhand-bot
e69f941e38
release: version packages (#4451) 2023-09-18 10:47:19 +00:00
Gao Sun
310698b0d2
refactor(cli): polish cli output (#4545)
* refactor(cli): polish cli output

* chore: add changeset
2023-09-18 18:27:25 +08:00