simeng-li
0240e5cac2
chore(core): add default ttl settings ( #1429 )
...
add default ttl settings to avoid oidc warning
2022-07-06 20:33:25 +08:00
Charles Zhao
45395ff74e
refactor: improve allow CORS tooltip wording ( #1427 )
2022-07-05 21:09:57 +08:00
Gao Sun
273720ea8c
refactor(core): use ENDPOINT
to replace original env urls ( #1416 )
...
* refactor(core): use `ENDPOINT` to replace original env urls
* refactor(core): log endpoint if needed
* refactor: update AC App ID in tests
* fix(core): oidc issuer
* refactor: remove unnecessary `.toString()`
2022-07-05 10:01:49 +00:00
Charles Zhao
a98fb94e5c
refactor: by default allow redirect URIs for CORS access ( #1420 )
...
* refactor: by default allow redirect URIs for CORS access
* refactor: improve wording
Co-authored-by: IceHe.xyz <icehe@silverhand.io>
Co-authored-by: IceHe.xyz <icehe@silverhand.io>
2022-07-05 17:36:43 +08:00
Gao Sun
6c323403b3
feat(core): auto sign-out ( #1369 )
...
* feat(core): auto sign-out
* fix(core): path when start from root
* refactor(core): per review
2022-07-02 13:55:22 +00: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
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
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
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
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
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
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
Xiao Yijun
9ccda932a4
feat(core): add custom claims to id token ( #911 )
2022-05-20 22:37:47 +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
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
Xiao Yijun
b2ac2c14ee
feat(core): disable introspection feature ( #886 )
2022-05-19 13:50:07 +08:00
IceHe.xyz
3b048a80a3
feat(core,schemas): log token exchange success ( #809 )
2022-05-19 11:24:26 +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
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
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
c3c2bf20f1
feat(core): validate custom client metadata when post or patch application ( #529 )
2022-04-13 15:23:04 +08:00
IceHe.xyz
26c3e1fe2c
fix(core): extraClientMetadata properties ( #530 )
2022-04-11 14:22:16 +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
Gao Sun
bfc8a64c44
refactor(console): add dev origin to allowed CORS domain in OIDC ( #397 )
2022-03-16 16:35:45 +08:00
Gao Sun
b9dab8a9da
fix(console): connect sign in with core
2022-03-15 13:46:50 +08:00
simeng-li
fb6a1dc236
test(core): add ut for queires ( #287 )
...
* test(core): add ut for queires
add ut for queries
* test(core): add user query ut
add user query ut
* fix(core): remove test code
remove console log
2022-02-28 14:30:27 +08:00
simeng-li
279318780e
test(oidc): add oidc adapter test case ( #266 )
...
add oidc adapter test case
2022-02-23 09:42:29 +08:00
simeng-li
86ce5a9640
fix(core): align resource_identifier namespace with OIDC provider ( #224 )
...
* fix(core): align resource_identifier namespace with OIDC provider
replace resource identifier name with resource_indicator
align the usage with OIDC Provider
* fix(cr): cr fix
add empty line
2022-02-15 16:13:41 +08:00
simeng-li
eac74fae40
fix(core): hard code resource access_token format ( #216 )
2022-02-08 14:06:13 +08:00
Charles Zhao
f30cae7377
chore: upgrade eslint-config to v0.6.1
2022-01-27 19:26:34 +08:00
simeng-li
93df7db2ca
refactor(core): enable userinfo endpoint and resource scope consent ( #187 )
...
* refactor(core): enable userinfo endpoint and resource scope consent
enable userinfo endpoint and resource scope consent
* fix(core): cr fix add comment
add comment for useGrantedResource settigns reference
2022-01-24 10:13:18 +08:00
simeng-li
99f85ca44c
refactor(schema): rename schema ( #182 )
...
* refactor(schema): rename schema
rename schema update to create
rename guard to createGuard
* fix(core): ci fix
fix ci errors
* refactor(schema): rename schema type FooCreate to CreateFoo
rename schema type from FooCreate to CreateFoo
* fix(schema): add guard nullable
add guard nullable gen method
2022-01-18 12:44:08 +08:00
simeng-li
492724a575
refactor(core): resources related db query cleanup ( #179 )
...
* refactor(core): resources related db query cleanup
clean resourece & scopes db queries
* refactor(core): rename resources and scopes query file name
rename plural filename
2022-01-14 11:54:09 +08:00
simeng-li
77be675bfb
feat(application): set idToken and refreshToken ttl based on client metadata ( #176 )
...
* feat(application): set idtoken and refresh token ttl based on client metadata
add idToken and refreshToken ttl metadata
* fix(application): cr fix
cr fix add default constant & set custom client metadata not null
2022-01-13 14:15:13 +08:00
Darcy Ye
6e9cabe50b
chore: rename all \w+DBEntry
as \w+Update
to eliminate understanding ( #173 )
2022-01-12 16:22:33 +08:00
simeng-li
b9f9847ec0
feat(schema): update application db ( #169 )
...
* feat(schema): update appliaction db
update application db
* ci(schema): cr fix application table schema typo
fix application table schema typo
2022-01-11 11:58:58 +08:00
simeng-li
a56d4ce026
feat: implement getResourceIndicators logic ( #146 )
...
* fix(schema): fix typo remove trailing comma
fix typo remove trailing comma
* feat(core): add resouce server query logic
add resource server & scopes query logic to oidc-provider resourceIndicator feature config
* fix(chore): scope should join with scopes.name
fix scope name join format bug
* fix(core): cr fix use pool.any replace pool.many
use pool.any replace pool.many
2021-12-02 14:08:15 +08:00
simeng-li
ee2d1bf535
chore(core): throw out oidc-provider error ( #128 )
...
In order to display detailed error on the page
we need to throw the oidc-provider error out
and catched by koa-error-handler
2021-10-12 17:57:22 +08:00
Gao Sun
5f60fe491a
fix(core): snakecase OIDC client metadata keys ( #127 )
2021-10-12 17:27:11 +08:00
Gao Sun
9aa4caa826
refactor(core): fulfill correct applicationType
when needed ( #126 )
...
* refactor(core): fulfill correct `applicationType` when needed
* refactor(core): use enum for application type
* refactor(core): do not filter undefined automatically
2021-10-11 09:55:17 +00:00
Gao Sun
7c69896126
refactor: @logto/essentials
-> @silverhand/essentials
( #118 )
...
* refactor: `@logto/essentials` -> `@silverhand/essentials`
* chore: remove useless comment
2021-09-16 23:48:06 +08:00
Gao Sun
ea4cfd0e59
chore: update eslint config ( #98 )
2021-08-30 11:30:54 +08:00
Gao Sun
4973053fda
refactor: integrate zod in schemas ( #90 )
2021-08-26 13:05:23 +08:00
Gao Sun
f48534ed18
refactor: unify timestamp usage
2021-08-18 16:36:52 +08:00