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

556 commits

Author SHA1 Message Date
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
Charles Zhao
5a1fa14a98
fix(core): update roleNames to role_names to resolve 401 errors 2022-06-02 12:10:35 +08:00
Gao Sun
d4f38bce2b
feat(core): add etag for settings api (#1011) 2022-06-01 16:56:23 +08:00
Gao Sun
124d7acf49
refactor(core): use snake_case for extra claims (#1017) 2022-06-01 16:02:23 +08:00
Gao Sun
8a52c84e32
refactor(core): align role_names claim with DB (#1016) 2022-06-01 07:43:16 +00:00
Gao Sun
7781d49667
feat(core): set claims for profile scope (#1013) 2022-06-01 15:00:10 +08:00
Gao Sun
2812d6de46
refactor(core): serve static middleware (#1010)
* refactor(core): serve static middleware

* chore(deps): remove unused package

* refactor(core): per review

* fix(core): test

* refactor(core): using endsWith to detect index
2022-06-01 05:12:15 +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
7f4f4f84ad
feat(demo-app): implementation (#982)
* feat(demo-app): init card

* feat(demo-app): ui

* feat(demo-app): sign in using React SDK

* fix: typo
2022-05-31 04:39:03 +00:00
IceHe.xyz
2ae4e2eccf
feat(core): order logs by created_at desc (#993) 2022-05-30 09:40:03 +00:00
IceHe.xyz
28198590fa
fix(core): allow empty condition in logs (#991) 2022-05-30 09:30:18 +00:00
Wang Sijie
4768181bf7
fix(console,core): only show enabled connectors in sign in methods (#988) 2022-05-30 16:28:04 +08:00
IceHe.xyz
1420bb28ce
feat(core,shared): get /dashboard/users/active (#953)
* feat(core,shared): get /dashboard/users/active

* refactor(core): get /dashboard/users/active

* refactor(core): get /dashboard/users/active

* refactor(core): simplify GET /dashboard/users/active

* refactor(core): simplify dashboardRoutes
2022-05-30 13:51:58 +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
Gao Sun
8d17f9d73a
Merge pull request #973 from logto-io/gao-update-apple-connector
refactor(connector): remove apple js sdk
2022-05-28 22:08:50 +08:00
Darcy Ye
ae97e7bd27
refactor(core, connector): fix code to fit new ESlint rule (#942)
* refactor(core): separate/refactor connector route UTs

* refactor(connector-wechat*): fix wechat connectors error handler to fit new eslint rule

* refactor(connector-wechat*): fix error handler
2022-05-27 21:21:23 +08:00
simeng-li
545a3929e4
fix(core): fix preview session not found bug (#970)
* fix(core): fix preview session not found bug

fix preview session not found bug

* fix(core): cr fix

cr fix
2022-05-27 19:58:40 +08:00
Gao Sun
52c745d41f
refactor(connector): remove apple js sdk 2022-05-27 19:06:06 +08:00
Gao Sun
7400ed8896
feat(connector): apple (#966)
* feat(connector): apple

* feat(connector): apple

* fix(connector): test

* refactor(connector): per review

* refactor(connector): update issue number

Co-authored-by: Xiao Yijun <xiaoyijun@silverhand.io>
2022-05-27 15:43:42 +08:00
simeng-li
909535f4af
fix(core): update proxy guard middleware (#963)
update proxy guard middleware
2022-05-26 16:54:40 +08:00
IceHe.xyz
45a977790e
feat(core): get /dashboard/users/new (#940) 2022-05-26 11:24:52 +08:00
IceHe.xyz
c4bb0de7d4
feat(core): get /dashboard/users/total (#936)
* feat(core): get /dashboard/users/total

* test(core): get /dashboard/users/total
2022-05-25 16:54:21 +08:00
Wang Sijie
077ed120f0
fix(core): prevent session lost for bind social (#948) 2022-05-25 15:26:40 +08:00
IceHe.xyz
bddf47bf90
feat(core): get /logs/:id (#934) 2022-05-25 14:59:02 +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
simeng-li
cf360b9c15
feat(core): add admin role validation to the koaAuth (#920)
* feat(core): add admin role validation to the koaAuth

add admin role validation to the koaAuth

* fix(core): cr fix

cr fix
2022-05-24 16:42:28 +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
Darcy Ye
10d30ee309
refactor(core): remove getConnectorInstanceByType (#921)
* feat(core): remove getConnectorInstanceByType

* feat(connectors): add UTs
2022-05-23 23:39:36 +08:00
Gao Sun
43d4fd23fd
refactor: remove AC client dependency (#917)
* refactor: remove AC client dependency

* refactor: admin console URL and management API indicator

* fix: typo
2022-05-23 11:18:48 +00:00
Wang Sijie
16ec018b71
fix: connectors platform (#925) 2022-05-23 17:54:05 +08:00
Xiao Yijun
fe99928a41
fix(core): revert add custom claims to id token (#919)
This reverts commit 9ccda932a4.
2022-05-22 03:33:13 +00:00
simeng-li
207c404aeb
feat(core): empty path sould redirect to the console page (#915)
* feat(core): empty path sould redirect to the console page

empty path should redirect to the console page

* fix(core): remove console log

remove console log

* fix(core): cr fix

cr fix
2022-05-22 10:32:04 +08:00
IceHe.xyz
5d7f2e436c
refactor(core,schemas): remove passcode in logs (#916) 2022-05-20 17:04:22 +00:00
Xiao Yijun
9ccda932a4
feat(core): add custom claims to id token (#911) 2022-05-20 22:37:47 +08:00
Xiao Yijun
d65999514f
fix(core): update role names (#913) 2022-05-20 17:59:55 +08:00
IceHe.xyz
e5196fc31d
feat(core): grantRevokedListener for logging revocation of access and refresh token (#900)
* feat(core): grantRevokedListener for logging access and refresh token revocation

* chore(core): improve description of grantRevokedListener test cases

* refactor(core): extract addOidcEventListeners
2022-05-20 13:54:05 +08: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
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
simeng-li
67f080e862
feat(core): add phone number and email mask (#891)
* feat(core): add phone number and email mask

add phone number and email mask

* fix(core): fix typo

fix typo
2022-05-20 10:04:52 +08:00
Darcy Ye
d7ce13d260
feat(connector-twilio-sms): add twilio sms connector (#881)
* feat(connector-twilio-sms): add twilio sms connector

* feat(connector-twilio-sms): add twilio sms connector to initialization
2022-05-20 09:56:16 +08:00
Gao Sun
17c63cd2d9
feat(core): cookie keys configuration (#902)
* feat(core): cookie keys configuration

* refactor: improved wording

* refactor: improved wording

* fix(core): test
2022-05-20 00:08:33 +08:00
IceHe.xyz
797344f6f5
feat(core): grantErrorListener for logging token exchange error (#894)
* feat(core): grantErrorListener for logging token exchange error

* refactor(core): extract getLogType

* refactor(core): oidc provider event listeners will skip logging if found unexpected grant_type

* test(core): oidc provider event listeners will skip logging if found unexpected grant_type
2022-05-19 19:48:34 +08:00
Wang Sijie
65fb36ce3f
feat(core,console): connector platform tabs (#887)
* feat(core,console): connector platform tabs

* fix: cr
2022-05-19 06:05:31 +00:00
IceHe.xyz
ed5f370bdb
refactor(core): remove SignInSocial log from POST /session/sign-in/social (#890) 2022-05-19 13:51:54 +08:00
Xiao Yijun
b2ac2c14ee
feat(core): disable introspection feature (#886) 2022-05-19 13:50:07 +08:00
IceHe.xyz
e9e7efdc92
refactor(core): move GET /sign-in-settings out of sessionRouter (#875) 2022-05-19 11:24:42 +08:00
IceHe.xyz
3b048a80a3
feat(core,schemas): log token exchange success (#809) 2022-05-19 11:24:26 +08:00
Xiao Yijun
85a407c5f6
feat: update field check rules (#854) 2022-05-18 04:12:51 +00:00
Darcy Ye
b887655827
feat(connector-sendgrid-email): add sendgrid email connector (#850)
* feat(connector-sendgrid-mail): add SendGrid Mail connector

* feat(core): add SendGrid Mail connector to initializer and fix usageType
2022-05-18 11:39:36 +08:00
Wang Sijie
664a2180a5
feat(console): dark logo (#860) 2022-05-18 10:25:20 +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
simeng-li
82674eea88
fix(core): disabled session check for preview mode (#867)
disabled session check for preview mode
2022-05-17 19:34:38 +08: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
Wang Sijie
127664a62f
feat(core,console): social connector targets (#851)
* feat(core,console): social connector targets

* fix: add test
2022-05-17 17:09:42 +08:00
simeng-li
5d34442018
fix(ui): fix sign-in not found bug (#841)
fix sign-in not found bug
2022-05-16 06:59:38 +00:00
IceHe.xyz
4ffd4c0480
feat(core): get /logs (#823)
* feat(core): get /logs

* chore(core): rename userRequest to logRequest in UTs
2022-05-16 06:43:33 +00:00
IceHe.xyz
82c7138683
feat(core): log sending passcode with connector id (#824) 2022-05-16 06:40:51 +00:00
simeng-li
78d3bb6045
refactor(ui): add session guard to ui page (#803)
* refactor(ui): add session guard to ui page

add session guard to ui page

* test(core): fix ut

fix ut

* fix(core):  fix typo

fix typo
2022-05-16 05:43:23 +00:00
IceHe.xyz
38ceae7853
fix(core): catch interaction not found error (#827) 2022-05-15 13:20:07 +08:00
IceHe.xyz
4e60446411
feat(core,schemas): koaLogSession middleware (#767)
* feat(core,schemas): koaLogSession middleware

* fix(core): koa-log-session call next() first

* refactor(core,schemas): merge SessionLogPayload into BaseLogPayload

* refactor(core,schemas): rename logSession to addLogContext
2022-05-13 20:37:36 +08:00
Darcy Ye
ab6c124620
fix(connector-wechat-native): fix wechat-native target (#820) 2022-05-13 09:34:42 +00:00
Darcy Ye
7a922cbd33
feat(core): add socialConnectors details for get sign-in-settings (#804)
* feat(core,ui): add social connector info to get-settings api

* refactor(connectors): rename api
2022-05-13 07:59:07 +00:00
Darcy Ye
0ea55134a9
feat(core): expose connector and metadata from sendPasscode (#806) 2022-05-13 14:17:15 +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
Wang Sijie
74f2940398
fix(core): social user info in session (#794) 2022-05-11 10:01:17 +00:00
Charles Zhao
1255c6d1e7
Merge pull request #791 from logto-io/charles-log-2403-store-get-started-progress-in-settings-config
feat(console): support persisting get-started progress in settings config
2022-05-11 17:52:26 +08: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
Charles Zhao
43b2309c99
feat(console): support persisting get-started progress in settings config 2022-05-11 14:02:26 +08:00
Gao Sun
1a664beeee
ci: init integration test (#771)
* ci: init integration test

* ci: complete integration test setup

* ci: remove pull request trigger
2022-05-10 15:29:53 +08: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
6a5e5799d0
refactor(core): update app running info (#765)
* refactor(core): update app running info

* refactor(core): per review
2022-05-09 16:03:06 +00:00
Darcy Ye
e71cf7ea67
feat(core): separate social sign-in api (#735)
* feat(core): separate social sign-in api

* feat(core): rename APIs
2022-05-07 10:50:37 +08:00
Xiao Yijun
6ac70c5eb7
refactor(core): guard phone number with digital-only regex (#744) 2022-05-06 09:23:17 +00:00
Gao Sun
5909727ebc
refactor(core): use argon2 for password encryption (#738)
* refactor(core): use argon2 for password encryption

* refactor(core): adjust time cost
2022-05-06 16:38:38 +08:00
Gao Sun
9ca2815452
docs: configuration 2022-05-06 11:09:27 +08:00
Gao Sun
4400d8d25e
docs: init configuration 2022-05-06 11:08:13 +08:00
Wang Sijie
8a48fb6225
fix: delete custom domain (#737)
* fix: delete custom domain

* fix: use sql wrapper
2022-05-06 02:48:34 +00:00
Gao Sun
3b17324d18
fix: lint:report script (#730) 2022-05-05 10:26:30 +00:00
Wang Sijie
a0b4b98c35
feat(console): add column lastSignIn in user management (#679)
* feat(core): user last sign in

* fix(core): rename last_sign_in to last_sign_in_at for updating its timestamptz value

* fix: rename column name in frontend

* fix: test

* fix: toLocaleDateString

Co-authored-by: IceHe.xyz <icehe@silverhand.io>
2022-05-05 16:22:43 +08:00
IceHe.xyz
0ecb7e4d2f
feat(core,schemas): log IP and user agent (#682)
* feat(core,schemas): log IP and user agent

* refactor(core): extract initLog from koaLog

* refactor(core): log koa

log koa

* fix(core): rename

rename

* refactor(core): initLogger

Co-authored-by: simeng-li <simeng@silverhand.io>
2022-05-05 15:38:59 +08:00
IceHe.xyz
4521c3c8d1
feat(core,schemas): save application id that the user first consented (#688)
* feat(core,schemas): save application id which the user first consented

* chore(core): fix grammatical mistake and typos
2022-05-05 06:57:20 +00:00
Darcy Ye
d989785658
feat(core): remove code redundancy 2022-04-29 11:57:56 +08:00
Darcy Ye
c6f2546126
feat(core): fix connectors' initialization 2022-04-29 11:31:07 +08:00
Gao Sun
e61dba90a8
fix(core): remove ESM declaration (#687) 2022-04-28 04:18:03 +00:00
Gao Sun
d108f4b883
fix(core): set module in base config (#685) 2022-04-28 03:58:14 +00:00
Gao Sun
6738b6a088
refactor(core): use esm in core (#681) 2022-04-28 11:19:38 +08:00
IceHe.xyz
7278ba4095
fix(core): update timestamp field with millisecond precision (#677) 2022-04-27 17:02:21 +08:00
Gao Sun
0fbca8be4b
refactor(core): add manyRows() for queries (#665) 2022-04-26 17:26:50 +08:00
Gao Sun
f5c7faf775
refactor: move cli -> core 2022-04-26 14:11:15 +08:00
IceHe.xyz
a10b427c87
feat(core,schemas): log register (#601) 2022-04-26 03:49:11 +00:00
IceHe.xyz
3aa4342f2e
feat(core,schemas): make it type-safer to log (#656) 2022-04-26 11:31:07 +08:00
Gao Sun
1636f10f30
chore: align author (#657) 2022-04-25 03:26:41 +00:00
renovate[bot]
25814d92ef
fix(deps): update dependency slonik to v28 (#649)
* fix(deps): update dependency slonik to v28

* fix: build

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-04-24 10:34:18 +00:00
Gao Sun
2d7918a224
feat(jest-config): init package (#644)
* feat(jest-config): init package

* chore(deps): upgrade `@types/jest`

* fix(core): add jest-matcher dependency

add jest-matcher dependency

Co-authored-by: simeng-li <simeng@silverhand.io>
2022-04-24 18:02:18 +08:00
simeng-li
fefe566044
fix(core): remove useless todo comment (#653)
remove useless todo comment
2022-04-24 14:39:07 +08:00
renovate[bot]
88e58b8b0c
fix(deps): update dependency jose to v4 (#646)
* fix(deps): update dependency jose to v4

* fix(deps): update jose usage

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-04-24 13:55:47 +08:00
renovate[bot]
f846872dc5
fix(deps): update dependency koa-body to v5 (#647)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-24 13:52:02 +08:00
Gao Sun
61d1964506
refactor(core): allow read private key from env (#629) 2022-04-24 05:47:45 +00:00
Gao Sun
ef60a474f6
refactor: allow start from project root (#630) 2022-04-24 12:12:48 +08:00
Wang Sijie
96848e6b0f
feat(console): page settings (#612) 2022-04-24 11:46:35 +08:00
Gao Sun
8cf7f3643f
Merge pull request #628 from logto-io/gao-log-2254-add---no-inquiry-option-to-directly
refactor(core): add `--no-inquiry` option
2022-04-24 09:55:42 +08:00
Gao Sun
0a21303b41
refactor: align node version (#625) 2022-04-24 09:50:59 +08:00
renovate[bot]
fbc8bed6a4
fix(deps): update dependency i18next to v21 (#645)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-23 23:58:54 +08:00
renovate[bot]
06d1f1e906
chore(deps): update dependency openapi-types to v11 (#635)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-23 23:54:45 +08:00
renovate[bot]
e03426b36d
chore(deps): update dependency tsc-watch to v5 (#637)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-23 23:53:37 +08:00
renovate[bot]
7b485aebab
chore(deps): update dependency lint-staged to v12 (#634) 2022-04-22 16:46:39 +00:00
Gao Sun
4481c2b351
refactor(core): add --no-inquiry option 2022-04-22 18:24:50 +08:00
renovate[bot]
4399dea218
fix(deps): update dependency dotenv to v16 (#624)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-22 18:07:35 +08:00
Gao Sun
6a62e32fa5
refactor(core): inquire when required env not found (#586)
* refactor(core): inquire when required env not found

* refactor(core): add comments for create DB pool
2022-04-21 16:13:59 +08:00
IceHe.xyz
4ba37e7e73
feat(core,schemas): log sign-in (#594)
* feat(schemas): sign-in log types

* feat(core): log username-password sign-in

* feat(core): log passwordless sign-in

* feat(core): log social sign-in
2022-04-21 15:07:54 +08:00
Wang Sijie
8e13dd5746
feat(console): user role select (#589) 2022-04-21 12:38:54 +08:00
IceHe.xyz
e21d8d38f3
chore(core,schemas): remove old user logs (#597)
* chore(core): remove user logs

* chore(schemas): remove user logs
2022-04-21 11:04:34 +08:00
IceHe.xyz
7990b813ab
refactor(core,phrases,schemas): move language enum and fix Chinese enum value (#593) 2022-04-21 10:55:06 +08:00
Gao Sun
7e14ccb1a9
refactor(core): per comment 2022-04-20 15:59:14 +08:00
Gao Sun
f4a656300e
fix: rebase error 2022-04-20 15:56:43 +08:00
Gao Sun
dff23b57db
refactor(core): move database pool into env set 2022-04-20 15:56:38 +08:00
IceHe.xyz
d4e241b661
refactor(core): remove deprecated koa-user-log middleware (#591)
* refactor(core): remove koa-user-log middleware

* refactor(core): remove user-log queries
2022-04-20 15:11:43 +08:00
IceHe.xyz
4491eab5b4
feat(core): koa-log middleware (#590) 2022-04-20 06:56:33 +00:00
IceHe.xyz
0560928ca4
refactor(core): rename functions to avoid naming conflicts (#588) 2022-04-20 14:28:46 +08:00
Gao Sun
08ce66f317
refactor(core): use SSOT for env variables (#578)
* refactor(core): use SSOT for env variables

* fix(core): tests
2022-04-20 14:14:37 +08:00
IceHe.xyz
3dc07312a0
feat(core): insert log into DB (#587) 2022-04-20 12:28:56 +08:00
IceHe.xyz
608f667963
test(core): separate the color validation cases from tests of sign-in experience (#577)
* test(core): hexColorRegEx

* test(core): sign-in experience branding colors
2022-04-20 12:08:55 +08:00
Xiao Yijun
975e715c47
fix(core): revert add oidc config to application response (#566) 2022-04-18 22:30:57 +08:00
simeng-li
f1576b9916
fix(core): fix sign-in settings api route (#564)
* fix(core): fix sign-in settings api route

fix sign-in settings api route

* test(ui): add ut

add ut

* fix(core): fix ut

fix ut
2022-04-18 15:24:34 +08:00
IceHe.xyz
3da3309cbf
refactor(core,schemas): pascalcase enum keys (#558)
* refactor(schemas): pascalcase enum keys

* chore(core): pascalcase enum keys
2022-04-18 05:35:48 +00:00
IceHe.xyz
1ef04bd45d
refactor(core): clear mocks after each test (#559) 2022-04-18 12:50:49 +08:00
Darcy Ye
14cdddc18e
feat(core): add connector config examples (#551) 2022-04-14 17:20:41 +08:00
IceHe.xyz
a9466667c0
refactor(core): post application (#552) 2022-04-14 15:54:21 +08:00
Xiao Yijun
d238168ebf
feat(core): add oidc config to the response of application apis (#536) 2022-04-14 14:48:56 +08:00
Darcy Ye
2f22a81a8f
feat(core): add Alipay web connector (#522) 2022-04-14 12:22:30 +08:00
simeng-li
f0a961225d
refactor(core): phone method refactor (#537)
* refactor(core): rename signin method phone with sms

replace phone signin method with sms

* refactor(ui): rename api method

rename api method

* fix(ui): cr fix rename method

rename method

* fix(ui): update naming convention

update naming convention
2022-04-14 11:26:10 +08:00
Charles Zhao
3767229389
Merge pull request #543 from logto-io/charles-log-1943-connectors-get-started
feat(console): connectors get-started page
2022-04-13 20:14:16 +08:00
Charles Zhao
eeeb80ba4b
feat(console): connectors guide page 2022-04-13 20:09:25 +08:00
IceHe.xyz
c3c2bf20f1
feat(core): validate custom client metadata when post or patch application (#529) 2022-04-13 15:23:04 +08:00
Charles Zhao
a710ec6ba5
feat(core): add connector config json templates 2022-04-12 16:59:19 +08:00
simeng-li
85c9eabfca
feat(core): add sign-in-settings api for client use (#534)
add sample sign-in-settigns api for client use
2022-04-12 12:05:29 +08:00
IceHe.xyz
26c3e1fe2c
fix(core): extraClientMetadata properties (#530) 2022-04-11 14:22:16 +08:00
Gao Sun
06ff890358
fix(core): test cases 2022-04-09 22:06:41 +08:00
Gao Sun
ada4da2fbf
feat(cli): seed tables 2022-04-09 21:53:53 +08:00
IceHe.xyz
fb65c65893
feat(core,schemas): cors allowed origins (#507)
* feat(schemas): cors allowed origins of application in custom OIDC client metadata

* refactor(schemas): rename CustomClientMetadataType to CustomClientMetadataKey

* feat(core): cors allowed origins
2022-04-08 18:16:20 +08:00
IceHe.xyz
5625b8838c
refactor(core): split mock.ts into __mocks__/*.ts (#510)
* chore(core,ui): coverage ignore src/__mocks__/

* chore(core): build excludes src/__mocks__/

* refactor(core): split mock.ts into __mocks__/*.ts
2022-04-08 09:47:09 +00:00
Gao Sun
0499024fdf
refactor(core): remove resource scopes 2022-04-08 16:07:34 +08:00
IceHe.xyz
7eb2e41936
refactor(core): remove find-many (#511) 2022-04-07 21:16:59 +08:00