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

442 commits

Author SHA1 Message Date
dependabot[bot]
72fa53f1f3
chore(deps): bump @koa/cors from 4.0.0 to 5.0.0 (#5094)
Bumps [@koa/cors](https://github.com/koajs/cors) from 4.0.0 to 5.0.0.
- [Changelog](https://github.com/koajs/cors/blob/master/History.md)
- [Commits](https://github.com/koajs/cors/compare/4.0.0...5.0.0)

---
updated-dependencies:
- dependency-name: "@koa/cors"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-18 13:08:24 +08:00
Gao Sun
31e60811d7
chore: use Node 20 LTS for engine requirement (#5084) 2023-12-11 09:10:53 +08:00
silverhand-bot
4865610b51
release: version packages (#4894) 2023-12-06 16:13:56 +08:00
Darcy Ye
c2c1a9e359
chore(console,core): show invalid SSO config/metadata error message inline (#5053) 2023-12-04 08:47:11 +00:00
Gao Sun
07e025ddb9
chore: add openapi-types to deps 2023-12-03 19:05:12 +08:00
Gao Sun
e1a162eb56
Merge pull request #5039 from logto-io/gao-add-api-docs 2023-12-01 23:57:46 +08:00
Gao Sun
22e6c9d99e
chore(core): add api docs 2023-12-01 18:28:49 +08:00
Darcy Ye
88285ba7b6
feat(connector,console,core): add SSO paywall for core management APIs (#5024) 2023-12-01 17:27:01 +09:00
Charles Zhao
fbf6d89d9b
feat(console,phrases): add organizations paywall (#4939) 2023-11-22 06:40:01 +00: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
aa8a7a25c2
chore(core): fix dev script (#4882) 2023-11-15 14:04:41 +08:00
silverhand-bot
76c8bb2fbf
release: version packages (#4873) 2023-11-14 19:57:42 +08:00
Gao Sun
1fb8369776
refactor(core): update docs and use rsync to copy files 2023-11-13 11:41:35 +08:00
Gao Sun
0e0966d65d
refactor(core): revert path parameters optimization 2023-11-12 21:55:44 +08:00
Gao Sun
0fd4a011f6
Merge pull request #4844 from logto-io/gao-organization-token-grant
feat: organization_token grant
2023-11-10 14:45:15 +08:00
Gao Sun
9e4ee1be19
feat: organization_token grant 2023-11-08 15:30: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
Darcy Ye
40a5a18d90
feat(core): add saml sso class 2023-11-07 12:01:35 +08:00
Charles Zhao
00017418c3
chore: bump dev dependencies (#4829)
chore: update browserlist-db
2023-11-07 11:38:54 +08:00
silverhand-bot
a5a0d44dc8
release: version packages (#4624) 2023-11-03 13:14:52 +08:00
Hussain Shaikh
d41b71a54a
feat(core): google cloud storage provider (#4660) 2023-10-30 14:24:45 +08:00
renovate[bot]
77cec73429
fix(deps): update dependency jose to v5 (#4761)
* fix(deps): update dependency jose to v5

* chore(deps): rebase lockfile update

rebase lockfile update

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2023-10-27 16:52:32 +08:00
renovate[bot]
7a777bf101
chore(deps): update dependency sinon to v17 (#4711)
* chore(deps): update dependency sinon to v17

* chore: rebase update

rebase update

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2023-10-26 11:33:46 +08:00
renovate[bot]
98478a32c8
chore(deps): update dependency lint-staged to v15 (#4661)
* chore(deps): update dependency lint-staged to v15

* chore: rebase update

rebase update

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2023-10-26 09:55:47 +08:00
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
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
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
wangsijie
af246ad863
feat(core,schemas): bind webauthn (#4626) 2023-10-16 04:00:59 +00:00
Gao Sun
eae1c5849e
refactor(core): addRelationRoutes() for SchemaRouter 2023-10-14 19:32:08 +08:00
Gao Sun
57af573fe1
feat(core): organization role APIs 2023-10-13 18:57:34 +08:00
wangsijie
03e654b459
refactor(core,experience): generate totp qrcode on server side (#4646) 2023-10-13 01:19:03 -05:00
renovate[bot]
dac50d2d25
chore(deps): update dependency @logto/cloud to v0.2.5-d434baa (#4463)
* chore(deps): update dependency @logto/cloud to v0.2.5-d434baa

* chore: update lock file

update lock file

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2023-10-12 06:30:23 +00:00
dependabot[bot]
6826f15efb
chore(deps): bump zod from 3.20.2 to 3.22.3 (#4615)
* chore(deps): bump zod from 3.20.2 to 3.22.3

Bumps [zod](https://github.com/colinhacks/zod) from 3.20.2 to 3.22.3.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Changelog](https://github.com/colinhacks/zod/blob/master/CHANGELOG.md)
- [Commits](https://github.com/colinhacks/zod/compare/v3.20.2...v3.22.3)

---
updated-dependencies:
- dependency-name: zod
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): align zod versions

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-10-12 04:12:05 +00:00
renovate[bot]
3e45c3848d
fix(deps): update dependency nanoid to v5 (#4491)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-10-08 00:42:32 -05:00
silverhand-bot
6993b15ecd
release: version packages (#4621) 2023-10-08 00:28:22 -05:00
silverhand-bot
f3ec4c6734
release: version packages (#4575) 2023-10-07 00:39:33 -05:00
wangsijie
08a35a1695
feat(core,phrases,schemas): implement bind mfa totp (#4551) 2023-09-26 14:18:26 +08:00
silverhand-bot
d254dae5ff
release: version packages (#4572) 2023-09-21 22:04:40 +08:00
renovate[bot]
bb5ec66a35
chore(deps): update dependency sinon to v16 (#4496)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-09-19 12:42:13 +00:00
silverhand-bot
e69f941e38
release: version packages (#4451) 2023-09-18 10:47:19 +00:00
wangsijie
7a3d4fb58c
fix(core): quota guard for mfa feature (#4529) 2023-09-18 10:00:26 +08:00
Gao Sun
2319101056
refactor: ui -> experience (part 3)
Rename `ui` to `experience`.
2023-09-15 13:46:27 +08:00
Gao Sun
083ef8379e
refactor: ui -> experience (part 2)
Rename `phrases-ui` to `phrases-experience`.
2023-09-15 10:29:41 +08:00
Gao Sun
e35d099c35
chore(core): add supplementary openapi json (#4472)
* chore(core): support supplementary openapi json

* refactor(core): copy json files to build
2023-09-12 06:27:40 +00:00
Gao Sun
b8a7b900e1
feat(core): guard password by policy 2023-09-03 02:11:22 +08:00
silverhand-bot
f416ec3312
release: version packages (#4270) 2023-08-30 16:16:55 +08:00
renovate[bot]
bc6a08fac2
fix(deps): update dependency p-retry to v6 (#4395)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-08-29 09:43:17 +00:00
simeng-li
9f70e7632c
feat(core): add tenant is suspended guard (#4379)
* feat(core): add tenant is suspended guard

add tenant is suspended guard to all management apis

* fix(core): address comments

fix function name
2023-08-29 16:42:13 +08:00
renovate[bot]
f82df68794
chore(deps): update dependency lint-staged to v14 (#4322)
* chore(deps): update dependency lint-staged to v14

* fix: lockfile

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2023-08-24 14:01:38 +08:00
Gao Sun
2901f43e64
feat: post affiliate data to cloud (#4321)
* feat: post affiliate data to cloud

Read data from cookie and post to cloud when needed.

* chore: add alteration script

* refactor: fix alteration
2023-08-16 14:34:54 +00:00
renovate[bot]
65803deaf4
chore(deps): update dependency @logto/cloud to v0.2.5-33a6965 (#4131)
* chore(deps): update dependency @logto/cloud to v0.2.5-33a6965

* chore(deps): update dependency @logto/client to v0.7.21

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-08-05 08:01:01 +00:00
silverhand-bot
74e9734ef8
release: version packages (#4255) 2023-07-31 18:43:59 +08:00
renovate[bot]
7b97571f1c
chore(deps): update dependency nodemon to v3 (#4140)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-07-22 09:46:09 +00:00
wangsijie
34105e1579
feat(core,phrases): add quota guard middleware (#4153)
feat(core,phrases): add usage guard middleware
2023-07-18 17:05:00 +08:00
Gao Sun
cee1d0dd20
refactor(core,console): fix useCloudSwr type (#4152) 2023-07-11 15:25:45 +08:00
Gao Sun
947de83173
chore: upgrade configs (#4132)
* chore: upgrade configs

* chore: fix lint errors
2023-07-07 17:17:21 +00:00
wangsijie
7eaed24b95
feat(core): add cloud client (#4127) 2023-07-07 16:20:11 +08:00
silverhand-bot
53131ad5a7
release: version packages (#4033) 2023-06-28 18:57:43 +08:00
renovate[bot]
5ed7750de7
fix(deps): update dependency lru-cache to v10 (#4045)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-06-23 11:59:39 +00:00
renovate[bot]
9a9d1d2ed4
fix(deps): update dependency helmet to v7 (#3814)
* fix(deps): update dependency helmet to v7

* fix: fix lock file

fix lock file

* fix: fix helmetjs upgrade exceptions

fix helmetjs upgrade exceptions

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2023-06-13 10:05:47 +08:00
Gao Sun
2338cb692e
refactor(core): apply no-unused-modules (#4009) 2023-06-09 21:55:15 +08:00
renovate[bot]
417534e9e4
chore(deps): update dependency got to v13 (#3915)
chore(deps): update dependency got to v13.0.0

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-06-07 08:10:27 +00:00
silverhand-bot
3acb0d2db1
release: version packages (#3857) 2023-06-06 23:21:29 +08:00
simeng-li
3d98852334
chore(core): bump oidc version (#3941)
* chore(core): bump oidc version

bump oidc version

* fix(core): fix userId not found bug

fix userId in session not found bug
2023-06-01 16:20:08 +08:00
Gao Sun
4f1e29aefc
release: version packages 2023-05-23 21:42:01 +08:00
Gao Sun
dc41d5d3dc
release: version packages 2023-05-18 22:26:11 +08:00
silverhand-bot
404fe9a03f
release: version packages (#3794) 2023-05-16 04:52:17 +00:00
Gao Sun
1642df7e1c
refactor(core): add response schemas to swagger.json API (#3801) 2023-05-04 12:35:55 +08:00
renovate[bot]
f4f8224ff9
chore(deps): update dependency http-errors to ^2.0.0 (#3785)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-04-29 12:57:21 +00:00
renovate[bot]
13d9acdb8b
fix(deps): update dependency lru-cache to v9 (#3686)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-04-29 12:10:05 +00:00
silverhand-bot
4bba658d7b
release: version packages (#3751) 2023-04-27 19:11:20 +08:00
Gao Sun
368d2f3efb
chore(deps): update dependency i18next to v22 2023-04-21 18:21:09 +08:00
silverhand-bot
dd24aafc17
release: version packages (#3728) 2023-04-20 17:04:15 +00:00
wangsijie
2ad86d55b3
fix(core): use client s3 sdk (#3715) 2023-04-20 15:20:05 +08:00
silverhand-bot
666c4eaaa7
release: version packages (#3722) 2023-04-19 22:34:00 +08:00
silverhand-bot
85889031d0
release: version packages (#3705) 2023-04-18 21:13:31 +08:00
Gao Sun
c55ff367c7
chore: specify versions for workspace protocol (#3707) 2023-04-17 10:10:14 +00:00
Gao Sun
83367569fa
refactor: align console log (#3684)
add a shared ConsoleLog class for unified console logging.
2023-04-10 17:48:19 +00:00
Gao Sun
1df4c91102
Merge pull request #3679 from logto-io/gao-implement-central-cache
feat: central cache
2023-04-11 00:07:34 +08:00
simeng-li
764d0dd5ac
chore(core,cloud): add cloud route security headers (#3674)
* chore(core,cloud): add cloud route security headers

add cloud routes security headers

* chore(core,cloud): only allow ws on dev environment

only allow ws on dev environment

* refactor(core,cloud): update using helmetjs package

update using helmetjs package

* chore(core): fix comment

fix comment
2023-04-10 10:23:07 +08:00
renovate[bot]
901ef8ecd6
chore(deps): update silverhand configs monorepo packages to v3.0.1 (#3683)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-04-07 16:17:14 +00:00
Gao Sun
1548e0732f
chore: add comments and refactor 2023-04-07 14:36:25 +08:00
Gao Sun
4a64d267b6
feat: implement central cache
with Redis as the default choice.
2023-04-07 14:29:35 +08:00
Gao Sun
94e03f2768
Merge pull request #3661 from logto-io/gao-add-spa-as-dependency
refactor(core): add single-page apps as dependencies
2023-04-03 17:02:52 +08:00
simeng-li
1c431e7a59
feat(core): apply standard security headers 1/2 (#3590)
* feat(core): add some basic security headers

add some basic security headers

* chore(core): add some comments

add some comments

* chore(core): update the refererPolicy configs

update the refererPolicy configs

* chore(core): update helmet middleware

update helmet middleware

* feat(core): add csp headers to the mainflow and ac http requests 2/2 (#3613)

* feat(core): add csp headers to the mainflow requests

add csp headers to the mainflow requests

* chore(core): add ui and console security headers

add ui and console security headers

* fix(core): remove unused middleware

remove unused middleware

* fix(ui): set terms iframe sandbox

set terms iframe sandbox allow same origin

* fix(core): update security headers middleware

update security headers middleware

* chore(core): add changesets

* chore(core): address rebase conflict

address rebase conflict
2023-04-03 10:24:50 +08:00
Gao Sun
1e5b68423a
refactor(core): add single-page apps as dependencies 2023-04-02 17:40:07 +08:00
silverhand-bot
ad13427c37
release: version core packages (#3644) 2023-03-30 19:44:40 +08:00
Gao Sun
c200169886
refactor: add app insights package (#3637)
* refactor: add app insights package

* refactor: fix dependencies
2023-03-30 13:36:46 +08:00
renovate[bot]
93bc915609
chore(deps): update silverhand configs monorepo packages to v3.0.0 (#3585)
* chore(deps): update silverhand configs monorepo packages to v3.0.0

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-03-24 16:28:36 +00:00
Gao Sun
296cad8fc5
release: version packages 2023-03-22 16:25:32 +08:00
silverhand-bot
a43e72d177
release: version core packages (#3578) 2023-03-22 14:58:19 +08:00
renovate[bot]
11e302b2fa
chore(deps): update dependency typescript to v5 (#3463)
* chore(deps): update dependency typescript to v5

* refactor: fix build

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-03-21 19:37:51 +08:00
renovate[bot]
9633256682
fix(deps): update dependency lru-cache to v8 (#3368)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-21 19:36:55 +08:00
Gao Sun
959d1f02dd
refactor: use caret range for workspace dependencies (#3566) 2023-03-21 19:33:08 +08:00
silverhand-bot
2f69933d51
release: version core packages (#3564) 2023-03-21 17:56:06 +08:00
Gao Sun
28e9fa4290
release: core v1.0.0 (#3554)
* chore: move changesets

* release: core v1.0.0

* chore: update workflow
2023-03-20 23:57:04 +08:00
Gao Sun
d27499c553
refactor(cloud,core): report exception to Applicaiton Insights
when status code >= 500 or other unhandled expcetions occurred.
2023-03-19 10:40:17 +08:00
Gao Sun
169c4450eb
refactor: use essentials tryThat and trySafe 2023-03-18 13:02:51 +08:00
renovate[bot]
fa3c13a68d
chore(deps): update dependency @silverhand/essentials to v2.5.0 2023-03-17 18:41:13 +00:00