Charles Zhao
a3f42413e9
refactor: get-started task corresponding keys in DB
2022-07-02 09:53:11 +08:00
silverhand-bot
39890c1c29
release: v0.1.1-alpha.0
2022-07-01 19:18:23 +00:00
simeng-li
84aa0e866d
refactor(core): refactor root path ( #1352 )
...
* refactor(core): refactor root path
refactor root path
* fix(core): comment fix
comment fix
2022-07-01 10:00:08 +00:00
simeng-li
084a2bcd03
refactor(core): update sign-in-settings api path ( #1339 )
...
update sign-in-settings api path
2022-07-01 17:14:38 +08:00
Gao Sun
21ca4d3d62
chore(core): upgrade oidc-provider
2022-06-30 10:44:09 +08:00
Gao Sun
3c7c29dd0c
refactor(core): disable userinfo endpoint ( #1310 )
...
* refactor(core): disable userinfo endpoint
* chore: upgrade @logto/react
* refactor(core): update doc link
2022-06-30 02:29:29 +00:00
Wang Sijie
a4d0a940bd
feat(core,console): change admin user password ( #1268 )
2022-06-29 03:13:26 +00:00
Darcy Ye
05db12492c
fix(core): fix connector readme and configTemplate content parsing ( #1267 )
2022-06-28 13:35:56 +08:00
Darcy Ye
53781d619d
fix(core): signing in with a non-existing username should throw invalid credentials ( #1239 )
2022-06-27 13:53:23 +08:00
simeng-li
6865efff27
refactor(ui): refactor app notification logic ( #1241 )
...
refactor app notification logic
2022-06-27 13:22:17 +08: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
Wang Sijie
2c413341d1
feat(console): sie form reorg ( #1218 )
2022-06-24 02:26:30 +00:00
Gao Sun
89e3d68168
ci: dockerize ( #1190 )
...
* ci: dockerize
* ci: fix docker compose
* ci: run dockerize on master push only
* refactor: add .gitignore to .dockerignore
2022-06-23 11:17:02 +00:00
Charles Zhao
98d3f64d46
refactor: email/sms connector test API
2022-06-23 17:58:28 +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
fa20d03058
Merge pull request #1196 from logto-io/charles-log-3160-add-config-param-to-connector-test-api
...
refactor(connector,core): add config param to email/sms connector test API
2022-06-22 17:58:37 +08:00
Wang Sijie
012562e2a8
fix(core): remove unavailable social sign in targets on save ( #1201 )
2022-06-22 16:56:06 +08:00
Charles Zhao
f53aceff6f
refactor(connector,core): add config param to email/sms connector test API
2022-06-22 15:39:43 +08:00
Xiao Yijun
a3d3a79dd9
fix(console): update user data ( #1184 )
2022-06-22 03:36:43 +00:00
Wang Sijie
9194a6ee54
feat(console,core): hide admin user ( #1182 )
...
* feat(console,core): hide admin user
* fix: extract hideAdminUser
* test: add tests for hideAdminUser
2022-06-22 02:22:15 +00:00
Darcy Ye
ad86bc8e12
fix(core,console): delete specific user identities by target ( #1176 )
2022-06-21 23:26:23 +08:00
Charles Zhao
477b5988a9
refactor(console): application sdk integration guide
2022-06-21 17:23:33 +08:00
simeng-li
e0793facb9
fix(core): settings api should not throw session not found error ( #1157 )
...
settings api shouyld not throw session not found error
2022-06-21 08:56:01 +08:00
simeng-li
4f32ad3a51
feat(core): register with admin role ( #1140 )
...
* feat(core): register with admin role
register user with admin role
* fix(core): cr fix
cr fix
2022-06-20 03:32:50 +00:00
simeng-li
b42f4ba1ff
feat(ac): implement admin console welcome page ( #1139 )
...
implement admin console welcome page
2022-06-20 10:58:27 +08:00
simeng-li
837ad523ce
feat(core): add role table seed ( #1145 )
...
* fix(core): add default role db seed
add defaylt role db seed
* fix(table): add role table default seed
add role table default seed
* fix(db): cr fix
cr fix
2022-06-20 02:22:23 +00:00
Wang Sijie
3cf34b5911
fix(core): align jsonb replace mode ( #1138 )
2022-06-17 14:45:39 +08:00
Darcy Ye
41e37a7995
feat(core): identities key should use target not connectorId ( #1115 )
...
* feat(core): identities key should use target not connectorId
* refactor(core): make test file size in limit
* feat(console): use target in user connectors (#1134 )
Co-authored-by: Wang Sijie <wangsijie@silverhand.io>
2022-06-17 11:00:02 +08:00
Darcy Ye
f8710e147d
feat(core): add smtp connector ( #1131 )
...
* feat(connector-smtp): add smtp connector
* feat(connector-smtp): fix UTs
2022-06-17 10:52:35 +08:00
simeng-li
f640dad52f
feat(core): add sign-in-mode ( #1132 )
...
* feat(core): add sign-in-mode
add sign-in-mode
* fix(core): remove console.log
remove console.log
* fix(ui): hide secondary signin section
hide secondary signin section if is under register mode
* fix(core): ci fix
ci fix
2022-06-17 10:36:07 +08:00
IceHe.xyz
511012da92
feat(core): convert Zod union, literal and string guards to OpenAPI schemas ( #1126 )
...
* feat(core): convert Zod union and literal guards to OpenAPI schemas
* feat(core): parse swagger schema format with Zod string checks
* test(core): unexpected zod string check
* test(core): unexpected zod literal check
2022-06-16 16:46:38 +08:00
IceHe.xyz
a26299941f
feat(core): append page and page_size to the query parameters in swagger.json ( #1120 )
...
* feat(core): append page and page_size to the query parameters in swagger.json
* refactor(core): simplify hasPagination
* chore(core): add a comment to note why name the pagination middleware function
2022-06-15 15:13:04 +08:00
Xiao Yijun
9262a6f3be
fix(console): update terms of use ( #1122 )
2022-06-15 12:16:37 +08:00
Darcy Ye
985fe7203a
refactor(core): separate session routes and UTs ( #1104 )
...
* refactor(core): separate session routes and UTs
* refactor(core): reorganize and rename files
2022-06-14 21:48:05 +08:00
Darcy Ye
efa9491749
feat(core): add switch of enabling object fully replace when updating DB ( #1107 )
...
* feat(core): add switch of enabling object fully replace when updating DB
* feat(core): assign default jsonbMode value if possible
2022-06-14 21:38:10 +08:00
Charles Zhao
0014a4696b
chore: remove only-allow pnpm from all sub-packages
2022-06-14 17:18:13 +08:00
Wang Sijie
a790248c09
fix(core): remove name regex ( #1109 )
2022-06-14 11:36:03 +08:00
IceHe.xyz
7339a85a1b
feat(core): any-type parameter shows empty object in swagger example ( #1110 )
2022-06-13 10:32:52 +00:00
IceHe.xyz
75ac874a2d
feat(core): dau curve contains 0 count points ( #1105 )
2022-06-13 16:18:16 +08:00
Darcy Ye
1b8190addf
feat(core): align connector error handler middleware with ConnectorErrorCodes ( #1063 )
...
* feat(core): align connector error handler middleware with ConnectorErrorCodes
* feat(phrases,core): fix locale error descriptions
2022-06-10 10:25:28 +08:00
Darcy Ye
bcc05e521d
feat(core): remove unnecessary variable check and unused route ( #1084 )
2022-06-09 16:24:47 +08:00
Xiao Yijun
b9ca929ccc
refactor(core): remove unused /users/:userId/custom-data
APIs ( #1086 )
2022-06-09 16:23:56 +08:00
simeng-li
f6f562a8ba
feat(core): add welcome route ( #1080 )
...
* feat(core): add welcome route
add welcome route
* fix(ui): fix some koa middleware
fix some koa middleware
* fix(core): ut fix
ut fix
* refactor(core): refactor welcome user guard
refactor welcome user guard
2022-06-09 11:42:52 +08:00
Charles Zhao
fc35c5d8dc
refactor(core): remove unnecessary console.log
2022-06-07 22:46:56 +08:00
Charles Zhao
39b1d74cfd
Merge pull request #1068 from logto-io/charles-log-2740-koaAuth-should-return-403-on-non-admin-role
...
fix(core): koaAuth should return 403 instead of 401 on non-admin role
2022-06-07 22:43:58 +08:00
Charles Zhao
ee16eeb966
fix(core): koaAuth should return 403 instead of 401 on non-admin role
2022-06-07 19:13:40 +08:00
IceHe.xyz
2ba11215ed
feat(core): log error body ( #1065 )
2022-06-07 10:16:14 +00:00
Gao Sun
69e32cb646
refactor(core): remove confusing assertThat
signature ( #1066 )
2022-06-07 16:26:04 +08:00
Gao Sun
f2b44b49f9
feat: use user level custom data to save preferences ( #1045 )
...
* feat: use user level custom data to save preferences
* fix(console): bugs
* refactor(console): per review
* refactor(core): update return order
* fix(core): error constructor
2022-06-07 16:05:24 +08:00
IceHe.xyz
3145c9b348
feat(core): convert route guards to swagger.json ( #1047 )
...
* feat(core): convert route guards to swagger.json
* test(core): swaggerRoutes
* refactor(core): simplify buildParameters
* chore(core): describe 'any' data type of OpenAPI schema in zodTypeToSwagger
* chore(core): improve the description 'any' data type of OpenAPI schema in zodTypeToSwagger
2022-06-07 07:24:57 +00:00
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