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

14 commits

Author SHA1 Message Date
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
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
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
Darcy Ye
2dc50d6531
fix(connector-alipay-native): fix data guard (#992) 2022-05-30 09:36:42 +00: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
895a24b41e
fix: alipay native 2022-05-27 11:51:06 +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
Darcy Ye
9589aeafec
feat(connector-alipay-native): add Alipay Native connector (#873)
* feat(connector-alipay-native): add Alipay Native connector

* feat(connector-alipay-native): add Alipay Native connector to initialization
2022-05-20 13:40:40 +08:00