0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-02-03 21:48:55 -05:00
Commit graph

233 commits

Author SHA1 Message Date
wangsijie
d545303568
fix(core): set oidc access denied error code to 403 (#5725) 2024-04-17 02:27:47 +00:00
wangsijie
de47d6ab5e
chore(core): fix typos in comment (#5718) 2024-04-16 05:11:18 +00:00
wangsijie
d355ac7d20
feat(core): handle access token with organization api resource (#5653) 2024-04-16 09:58:47 +08:00
Charles Zhao
aacbebcbc8
feat(core): add api to fetch organization scopes for a user (#5701)
* feat(core): add api to fetch user organization scopes

* chore: add openapi.json

* fix: integration test

* chore: turn off max-lines lint rules for openapi json files

* chore: add changeset

* refactor: return all scope information instead of just the name
2024-04-15 07:04:42 +00:00
Darcy Ye
de70abebf6
refactor: update dependency on @logto/cloud and update legacy JWT customizer 2024-04-03 17:04:41 +08:00
Darcy Ye
bde2abe407
chore(core,console,schemas): update variable name and field name 2024-04-03 11:58:43 +08:00
Darcy Ye
e09318d3e8
feat(core,schemas): log extraTokenClaims exception (#5539) 2024-04-02 15:19:52 +08:00
Darcy Ye
48cfdf51a3
chore: update cloud version and the way to call cloud custom JWT API 2024-03-29 02:03:58 +08:00
Darcy Ye
e0123fd415
chore(schemas,core): update custom JWT sample token payload guard 2024-03-28 11:20:44 +08:00
Gao Sun
2cbc591ff6
feat: support direct sign-in (#5536)
* feat: support direct sign-in

* chore: add changesets

* refactor: add test cases

* chore(deps): upgrade logto sdks
2024-03-26 13:23:41 +08:00
Darcy Ye
55e04cc683
refactor: reorder code 2024-03-25 14:00:05 +08:00
Darcy Ye
5ea8c49c5d
chore: fix 2024-03-22 17:50:31 +08:00
Darcy Ye
ea796c15a5
chore: fix 2024-03-22 12:52:42 +08:00
Darcy Ye
8ea166ad2d
refactor: try catch extraTokenClaims function to avoid breaking the auth process 2024-03-21 23:50:55 +08:00
Darcy Ye
8513dae8af
refactor: block admin tenant from using creating jwt-customizer API 2024-03-21 23:50:54 +08:00
Darcy Ye
ddd93dc977
refactor(core): add cache for cloud connection data 2024-03-21 23:50:54 +08:00
Darcy Ye
89ba8a1a0c
chore: update cloud dependency 2024-03-21 23:50:54 +08:00
Darcy Ye
18fb88ecdd
fix: cloud connection should bypass custom JWT flow 2024-03-21 23:50:53 +08:00
Darcy Ye
084ced1bd6
feat(core): add the support on custom JWT feature 2024-03-21 23:50:53 +08:00
Gao Sun
6feb531435
feat: add profile api, update api and database, add tests 2024-03-20 13:16:23 +08:00
Gao Sun
1bc40faf98
refactor: fix type issues 2024-03-20 11:00:11 +08:00
Gao Sun
beff82ae2c
feat: add oidc standard claims to user 2024-03-19 22:51:26 +08:00
simeng-li
c10d6b6884
feat(console,core): remove devFeature guard (#5366)
remove devFeature guard for IdP
2024-02-02 15:16:31 +08:00
simeng-li
94908ee8ce
feat(core): add third-party application scopes and organizations restriction (#5249)
* feat(core): add client scope restriction metadata for third-party apps

add client scope restriction metadata for third-party apps

* feat(core): disable auto consent for the thrid-party apps

disable auto consent for the third-party apps

* feat(core): filter out not enabled resource scopes for third-party app

filter out not enabled resource scopes for third-party app

* feat(core): add organization grant validation for third-party application refresh_token grant

add organization grant validation for third-party application refresh_token grant

* fix(core): remove the resource scopes from client metadata

remove the resource scopes from client metadata
2024-01-19 10:31:26 +08:00
Gao Sun
f9750ace90
refactor(core): reorg organization queries 2024-01-11 21:56:10 +08:00
Darcy Ye
8d5ff29e27
feat(core,schemas): add daily token usage table to ease the usage calculation (#5148) 2023-12-25 04:56:53 +00:00
simeng-li
b204ba8f74
refactor(core,experience): simplify the consent path (#5072)
simplify the consent path
2023-12-08 15:14:51 +08:00
Gao Sun
b4f702a860
refactor(core): return organization data in userinfo endpoint (#5010)
* refactor(core): return organization data in userinfo endpoint

* chore(core): add comments

* chore: fix tests
2023-11-30 13:51:53 +08:00
Gao Sun
9a1a88cac0
chore: remove dev feature flag for orgs (#4949) 2023-11-22 16:32:09 +08:00
Gao Sun
f985f2ae43
refactor(core): update comments 2023-11-13 18:14:25 +08:00
Gao Sun
fcda26ac2f
refactor(core): fix resource parameter 2023-11-10 14:59:48 +08:00
Gao Sun
d3e7cff0bd
refactor(core): reuse refresh_token grant for org tokens 2023-11-10 14:51:42 +08:00
Gao Sun
a03c0dbe5e
Merge pull request #4847 from logto-io/gao-update-org-scopes
refactor: update organization scopes
2023-11-10 14:48:47 +08:00
Gao Sun
bcc397e5fc
Merge pull request #4846 from logto-io/gao-organization-toke-grant-tests
test(core): add organization token grant unit tests
2023-11-10 14:47:57 +08:00
Gao Sun
0fd4a011f6
Merge pull request #4844 from logto-io/gao-organization-token-grant
feat: organization_token grant
2023-11-10 14:45:15 +08:00
Xiao Yijun
c5809e4722
refactor(experience): remove demo app notification (#4851) 2023-11-10 11:52:44 +08:00
Gao Sun
e057e2fc42
refactor: update organization scopes 2023-11-09 16:16:43 +08:00
Gao Sun
1da764cd5b
test(core): add organization token grant unit tests 2023-11-08 22:50:28 +08:00
Gao Sun
da24e523f7
refactor(core): fix tests 2023-11-08 15:44:27 +08:00
Gao Sun
9e4ee1be19
feat: organization_token grant 2023-11-08 15:30:05 +08:00
Gao Sun
9ae4d9aad7
feat: support organizations scope for ID token 2023-11-07 12:33:53 +08:00
Charles Zhao
c913406926
refactor(core): support oidc configuration hot replace (#4590) 2023-10-09 10:05:07 +00:00
Gao Sun
2c340d3799
refactor(core): support roles scope for ID token (#4600)
* refactor(core): support `roles` scope for ID token

* chore: update changeset
2023-10-07 10:20:51 +00:00
Gao Sun
b8e592d669
refactor(core): improve oidc error handling (#4573)
* refactor(core): improve oidc error handling

* refactor(core): fix tests
2023-09-25 16:16:04 +08:00
Gao Sun
6d1ea26cdc
refactor(core): improve error handling (#4198)
* refactor(core): improve error handling

* test(core): add integration tests
2023-07-22 17:32:25 +08:00
wangsijie
5ccdd7f31a
feat(core,schemas): record daily active users (#4113) 2023-07-07 15:14:29 +08:00
simeng-li
b8001fd6c8
fix(core): add invalid body request error on oidc endpoints (#4095)
* fix(core): add invalid body request error on oidc endpoints

should throw invalid body request error for all oidc endpoints' input syntax error

* chore(core): add some comments
add some comments
2023-06-29 06:06:14 +00:00
Gao Sun
e3e3f2c729
feat: various application improvements
- show OpenID Provider configuration endpoint in Console
- configure "Rotate Refresh Token" in Console
- configure "Refresh Token TTL" in Console
- refactor code for OIDC default values
2023-06-13 00:59:23 +08:00
lleyton
048c5cdb09
feat: enable OIDC introspection endpoint (#3996)
feat: enable introspection endpoint
2023-06-11 15:28:44 +00:00
Gao Sun
2338cb692e
refactor(core): apply no-unused-modules (#4009) 2023-06-09 21:55:15 +08:00