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

461 commits

Author SHA1 Message Date
IceHe.xyz
8af2f953cf
feat(core): make GET /api/swagger.json contain all api routes (#1008) 2022-06-05 14:34:50 +08:00
renovate[bot]
28779e847f
chore(deps): update dependency openapi-types to v12 (#1046)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 16:35:36 +08:00
Darcy Ye
2e08fa3816
chore(core,locale): fix error messages of signing in with non-existing username (#1035)
* chore(core,locale): fix error messages

* chore(core,locale): add input parameter guard and fix comment

* chore(core,locale): add nonempty string guard for username
2022-06-02 08:29:17 +00:00
Gao Sun
36c958a11d
refactor(core): recognize developer id in header (#1031) 2022-06-02 08:01:33 +00:00
Gao Sun
91e2f055f2
feat(demo-app): implementation (3/3) (#1021)
* feat(core): seed demo app for fresh DB

* feat(core): throw 404 when demo app deleted

* fix(core): import

* fix: lockfile
2022-06-02 07:32:46 +00: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
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