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

54 commits

Author SHA1 Message Date
Darcy Ye
7bbe8273cc
chore(connector): add optional charset field to Alipay web config (#1460) 2022-07-08 03:31:49 +00:00
Xiao Yijun
099e087a5f
docs(connector): update alipay web connector (#1467) 2022-07-08 03:15:01 +00:00
silverhand-bot
c7def1124d
release: v1.0.0-alpha.3 2022-07-07 16:40:33 +00:00
renovate[bot]
a76a13d9ec
chore(deps): update dependency @shopify/jest-koa-mocks to v5 (#1413)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-07 20:47:33 +08:00
silverhand-bot
577433ae2d
release: v1.0.0-alpha.2 2022-07-07 04:54:25 +00:00
silverhand-bot
fcd70d1232
release: v1.0.0-alpha.1 2022-07-05 12:34:34 +00:00
silverhand-bot
6a83732185
release: v1.0.0-alpha.0 2022-07-04 14:58:52 +00:00
Darcy Ye
de2610e5fd
chore(connector): update connectors description (#1397) 2022-07-04 04:20:28 +00:00
Darcy Ye
2ad6e57db0
chore(connector): update Alipay configTemplates for better demonstration (#1392) 2022-07-04 11:37:46 +08:00
silverhand-bot
2caed68c88
release: v0.1.2-alpha.5 2022-07-03 09:04:51 +00:00
silverhand-bot
2faf429e5b
release: v0.1.2-alpha.4 2022-07-03 08:33:26 +00:00
silverhand-bot
e588ba204a
release: v0.1.2-alpha.3 2022-07-03 06:54:10 +00:00
silverhand-bot
2fa633a99b
release: v0.1.2-alpha.2 2022-07-02 09:11:16 +00:00
silverhand-bot
e234f64cec
release: v0.1.2-alpha.1 2022-07-02 04:24:46 +00:00
silverhand-bot
39890c1c29
release: v0.1.1-alpha.0 2022-07-01 19:18:23 +00:00
Gao Sun
d456f5c9a2
ci: publish workflow (#1342) 2022-07-01 18:47:14 +08:00
Darcy Ye
03951a24c5
docs(connector-github): add GitHub README.md (en-US) (#1258) 2022-06-28 13:27:03 +00:00
Darcy Ye
3c747b3100
docs(connector-alipay-web): add Alipay web readme (#1250) 2022-06-27 05:54:04 +00:00
Darcy Ye
8da9add6b8
refactor(connector-*): load config template and readme contents while initialization (#1252) 2022-06-27 10:00:37 +08:00
Darcy Ye
097aade2e2
feat(connectors): handle authorization callback parameters in each connector respectively (#1166)
* feat(connectors): handle authorization callback parameters in each connector respectively
2022-06-26 18:03:53 +08:00
Darcy Ye
7e251c017b
chore(connector-*): update social connector description (#1213) 2022-06-24 10:08:53 +08:00
Darcy Ye
98f808320b
feat(core,connectors): update Aliyun logo and add logo_dark to Apple, Github (#1194)
* feat(core,connectors): add logoDark to connector metadata

* feat(connectors): update Aliyun logo and add logoDark for Apple, Github
2022-06-23 11:12:29 +08:00
Charles Zhao
0014a4696b
chore: remove only-allow pnpm from all sub-packages 2022-06-14 17:18:13 +08:00
Darcy Ye
3925424316
refactor(connectors): use zod guard instead of got generic and elaborate error info (#1078)
* feat(alipay): use zod parse instead of got response generic

* feat(alipay): fix expires_in and re_expires_in type

* feat(alipay): extract errorHandler function to map HTTP error to connector error

* feat(alipay-native): refactor as alipay

* feat(aliyun-dm): use zod parser for type guard and extract error handler

* feat(aliyun-sms): extract error handler

* feat(facebook): use zod parser

* feat(github): use zod parser

* feat(google): use zod parser

* feat(wechat-web): use zod parser and wrap error handler

* feat(wechat-native): use zod parser and wrap error handler
2022-06-10 10:41:45 +08:00
renovate[bot]
d1b9f9d28a
chore(deps): update dependency lint-staged to v13 (#1019)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-02 13:19:09 +08:00
Darcy Ye
1e27ee7630
fix(connector-alipay-web): rename input param name code to auth_code (#1015)
* fix(connector-alipay-web): rename input param name code to auth_code
2022-06-01 09:13:35 +00:00
Darcy Ye
9f68a7a124
refactor(connector-alipay*): refactor Alipay UTs and pass config into getAccessToken (#1002)
* refactor(connector-alipay): remove unnecessary method and db query, fix UT

* refactor(connector-alipay-native): remove unnecessary db query, fix UTs

* refactor(connector-alipay*): extract timestamp format as const
2022-06-01 07:30:00 +00:00
Darcy Ye
5fc2fc6ff7
chore(connectors): config template md files to json files (#987)
* chore(connectors): config template md files to json files

* chore(connectors): fix path of reading config-template files
2022-05-31 12:58:24 +08:00
Gao Sun
a686b1707a
refactor: social connectors (#975)
* refactor: social connectors

* refactor(connectors): remove unused fixme comment

* fix(connectors): test
2022-05-29 05:59:00 +00:00
wangsijie
c248759b53
feat(connector-alipay): parse code from json 2022-05-27 11:23:16 +08:00
Darcy Ye
96796203dd
feat(native-connectors): pass random state to native connector sdk (#922)
* feat(native-connectors): pass random state to native connector SDK

* refactor(connector-*): update type GetAuthorizationUri

* refactor(core): fix input params order
2022-05-25 14:23:53 +08:00
Wang Sijie
5b44b7194e
feat(core): serve connector logo (#931) 2022-05-24 13:54:37 +08:00
Darcy Ye
054b0f7b6a
feat: remove target, platform from connector schema and add id to metadata (#930)
* feat(core,schema,connectors): remove target,platform form connector schema and add id to metadata

* feat(schema,ui,console): unwrap ConnectorMetadata in ConnectorDTO

* feat(schema,ui,console): connector id use dashline instead of underscore

* feat(connector-alipay*): fix typos

* feat(connector-alipay*): remove unnecessary type declaration
2022-05-24 11:39:44 +08:00
Xiao Yijun
27d81face1
refactor(connector): connector constructor (#926) 2022-05-23 17:49:29 +08:00
Darcy Ye
a3a7c52a91
feat(connectors): add logo for connectors (#914) 2022-05-23 04:44:42 +00:00
Gao Sun
3daf574946
test: allow JS in tests (#903) 2022-05-20 13:02:36 +08:00
renovate[bot]
e5cb163dc2
chore(deps): update dependency @shopify/jest-koa-mocks to v4 (#904)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-20 10:41:09 +08:00
Wang Sijie
97e6bdd8aa
feat(console): connector logo and platform icon (#892) 2022-05-19 17:31:32 +08:00
renovate[bot]
b5bdfcbc5b
chore(deps): update dependency @silverhand/jest-config to ^0.14.0 (#869)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-17 13:33:53 +00:00
renovate[bot]
8a012a393d
chore(deps): update dependency @silverhand/ts-config to ^0.14.0 (#859)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-17 11:04:12 +00:00
renovate[bot]
3316bbf429
chore(deps): update dependency @silverhand/eslint-config to ^0.14.0 (#866)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-17 10:42:15 +00:00
renovate[bot]
66b57ad4d5
chore(deps): update dependency @silverhand/eslint-config to ^0.13.0 (#858)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-17 18:07:13 +08:00
Gao Sun
f4526a9a3f
refactor: use @silverhand/jest-config (#861) 2022-05-17 17:32:41 +08:00
Darcy Ye
8e1533a702
feat(core): update connector db schema (#732)
* feat(core): update connector db schema

* feat(core): eliminate code redundancy for UTs

* feat(core): delete insertConnector on conflict logic and fix UTs

* feat(core): fix UI according to new connector type implementation

* feat(core): removed unused getConnectorByTargetAndPlatform methods

* feat(core): deprecate the function that updateConnector by giving target and platform

* feat(core): keep SSOT on combination of connector and corresponding metadata

* feat(core): rename index name in db
2022-05-12 12:17:17 +08:00
Renovate Bot
d36abe1ee5
chore(deps): update dependency @silverhand/ts-config to ^0.12.0 2022-05-11 12:26:08 +00:00
Renovate Bot
d5ef7ddbe3
chore(deps): update dependency @silverhand/eslint-config to ^0.12.0 2022-05-11 11:48:42 +00:00
renovate[bot]
87a9f8a2ae
chore(deps): update dependency @silverhand/eslint-config to ^0.11.0 (#775)
* chore(deps): update dependency @silverhand/eslint-config to ^0.11.0

* chore: add comments

* fix: lockfile

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-05-11 06:13:06 +00:00
Renovate Bot
43db7374c9
chore(deps): update dependency @silverhand/ts-config to ^0.11.0 2022-05-09 16:15:27 +00:00
Gao Sun
3b17324d18
fix: lint:report script (#730) 2022-05-05 10:26:30 +00:00
renovate[bot]
82f7d488bd
chore(deps): update dependency lint-staged to v12 (#689)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-28 15:37:21 +08:00