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

175 commits

Author SHA1 Message Date
Gao Sun
38811e1099
refactor: remove internal role policies (#5904)
* refactor: remove internal role policies

* refactor: remove unused tests
2024-05-21 21:44:24 +08:00
Gao Sun
76fd33b7ed
feat: default user role (#5872)
* feat: default user role

* chore: add tests and changeset

* refactor: show warning for deprecated env

* chore: fix tests
2024-05-17 16:02:05 +08:00
wangsijie
24acae8709
feat(schemas): add table for app org resource scope consent (#5803)
feat(schemas): add table application_user_consent_organization_resource_scopes
2024-04-29 10:48:02 +08:00
Gao Sun
e8c41b1644
feat: support organization custom data (#5785)
* feat: support organization custom data

* chore: update changeset
2024-04-25 14:16:59 +00:00
wangsijie
94ccbafa80
feat(core,schemas): add organization resource scope relations (#5608) 2024-04-07 11:10:13 +08:00
Gao Sun
a98bc3da54
Merge pull request #5530 from logto-io/gao-add-oidc-standard-claims
feat: add oidc standard claims to user
2024-03-21 23:25:50 +08:00
Gao Sun
3cb9b892da
refactor: fix test and ci 2024-03-21 23:10:24 +08:00
simeng-li
9518658595
fix(schemas): fix the get interation/consent api bug (#5503)
* fix(schemas): fix the get interation/consent api bug

fix the get interation/consent api bug

* chore: update changeset

update changeset

* fix: update changeset

update changeset

* refactor(schemas, console): alter the resource scopes description field to nullable (#5504)

* refactor(schemas, console): alter the resoruce scopes description field nullable

make the resourec scopes description nullable

* fix(test): fix the type issue in the integration test

fix the type issue in the integration test

* fix(console): add the field register

add the field register

* fix: update the changeset

update the changeset

* fix(console,test): update comments and rebase

update comments and rebase the master
2024-03-20 14:31:35 +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
beff82ae2c
feat: add oidc standard claims to user 2024-03-19 22:51:26 +08:00
wangsijie
79b49ab79a
feat(core): support more encrypt methods (#5444)
* feat(schemas): add more encryption methods

* feat(core): support more encrypt methods

* fix(schemas): fix alter down column name

* fix(core): fix tiny lint issue

* refactor(core,schemas): use uppercase value

* feat(core,schemas): add bcrypt

* fix(schemas): fix alter script

* refactor(core,schemas): rename bcrypt and use hash-wasm

* chore: fix lock file
2024-03-04 03:18:19 +00:00
5aaee9
0457df0e35
fix(schemas): set default password for tenant (#4535) (#5339)
* fix(schemas): set default password for tenant (#4535)

* feat(schemas): set password when enable encrypt
2024-03-01 13:50:49 +09:00
Xiao Yijun
c65730bcd2
refactor(core, schemas): enhance the time accuracy of dau data (#5451) 2024-03-01 12:43:55 +08:00
simeng-li
52f4e578a5
refactor(core,schemas): remove cloudConnection call in koaTenantGuard (#5395)
remove cloudConnection dependency in the koaTenantGuard
2024-02-19 10:45:57 +08:00
wangsijie
db2d10a2a8
fix(core,schemas): use database index to prevent custom domain conflict (#5342) 2024-01-31 11:05:20 +08:00
Gao Sun
70b8ff707e
Merge pull request #5335 from logto-io/gao-remove-magic-links
refactor: remove magic links
2024-01-30 15:29:21 +08:00
wangsijie
1963e12bd7
fix(core,schemas): use database index to prevent subdomain conflict (#5326) 2024-01-30 11:53:27 +08:00
Gao Sun
6d0f95739c
refactor: remove magic links 2024-01-29 20:21:45 +08:00
Gao Sun
ee91767ce9
refactor: add invitation api tests (#5324)
* refactor: add invitation api tests

* refactor: update alteration

* refactor: fix config guard
2024-01-29 01:39:52 +00:00
Gao Sun
e999f61187
refactor(schemas): allow null inviter (#5278) 2024-01-25 12:00:56 +00:00
simeng-li
de37e71239
feat(schemas): add new application user consent orgs table (#5235)
add new application user consent organizations table
2024-01-16 10:47:59 +08:00
Gao Sun
75b643ad2f
feat(schemas, core): init organization invitation apis 2024-01-11 18:08:26 +08:00
Gao Sun
41f7b4d8ad
refactor(schemas): use native enum for invitation status 2024-01-11 17:30:41 +08:00
Gao Sun
571b53d9cc
feat(schemas): init org invitation tables 2024-01-11 14:38:37 +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
541ea2919c
feat(schemas): add application sign-in-experience table (#5122)
* feat(schemas): add application sign-in-experience table

add application level sign-in-experience table

* fix(schemas): fix table name

fix table name

* fix(schemas): fix table file name

fix table file name
2023-12-21 10:20:45 +08:00
wangsijie
e28822997f
feat(schemas): add column protected_app_metadata (#5113)
* feat(schemas): add new application type for protected app

* feat(schemas): add column protected_app_configs
2023-12-19 17:04:14 +08:00
wangsijie
7e435c4749
feat(schemas): add new application type for protected app (#5112) 2023-12-19 15:59:27 +08:00
simeng-li
875e948186
feat(schemas): add application permissions relation tables (#5097)
* feat(schemas): add application permissions relation tables

add appliaction permissions relation tables

* refactor(schemas): redesign the application user scope relations table

redesign the application user scope relations table

* refactor(schemas): rename application user consent scopes table name

rename application user consent scopes table name

* fix(schemas): fix dirty char

fix dirty char

* refactor(schemas): rename resource scope column name

rename resource scope column name

* fix(schemas): fix the wrong column name

fix the wrong column name

* refactor(schemas): update the userscope column length

update the userscope column length
2023-12-15 10:18:44 +08:00
simeng-li
a93a39aa1b
feat(core,schemas): add isThirdParty column to the applications table (#5090)
* feat(core,schemas): add isThirdParty column to the applications table

add isThirdParty column to the applications table

* refactor(core): group the application routes under applications directory (#5091)

* refactor(core): group the application routes under applications directory

group the application routes under applications directory

* refactor(core,schemas): refactor the application api guard

refactor the application api guard

* fix(schemas): fix application patch guard

fix application patch guard

* fix(test): fix ut

fix ut
2023-12-12 14:54:49 +08:00
simeng-li
cdf5a22315
refactor(core,schemas,console): optimize the sso connector endpoints naming (#5047)
* refactor(core,schemas): rename the sso-connector-factory terms to connector-provider

shouls align the terms of api. Replace the factory using provider.

* refactor(core,console): rename the sso-connector-providers response property name

 rename the sso-connector-providers response property name

* chore(core): update api doc content

update api doc content

* feat(core): declare the SAMLResponse field in ACS api body

declare the SAMLResponse field in ACS api body

* refactor(console,core): categorize standard SSO providers at client side only

categorize standard SSO providers at client side only

* fix(core): fix rebase issue

fix rebase issue

* chore(console): remove useless useMemo

remove useless useMemo

* chore(core): update the api content

update the api content
2023-12-04 15:07:33 +08:00
simeng-li
5150ead19f
feat(core,schemas): add new singleSignOnEnabled field to sie (#5003)
* feat(core,schemas): add new singleSignOnEnabled field to sie

add new singleSignOnEnabled field to sie

* chore(core): add some comment

add some comment

* fix(experience): update mock data

update mock data
2023-11-30 16:34:08 +08:00
simeng-li
c47e0192ff
feat(schemas): add unique constrain to the SSO connectorName field (#4974)
add unique constrain to the SSO connectorName field
2023-11-28 13:55:47 +08:00
Gao Sun
bfda1d2c95
refactor(schemas): use user membership as foreign key for user org roles (#4885) 2023-11-16 11:19:44 +08:00
simeng-li
eeb1928e57
feat(core,schemas): remove the ssoOnly setting of the sso connectors (#4856)
feat(core,schemas): remove ssoOnly property

remove the ssoOnly property from sso connectors
2023-11-13 11:14:46 +08:00
simeng-li
8e07825f17
refactor(schemas): add new sso_connector_id column to the users_sso_identities table (#4843)
* refactor(schemas): add new sso_connector_id column to the users_sso_identities table

add new sso_connector_id column to the users_sso_identities table

* refactor(schemas): add new sso_connector_id row to the users_sso_identities table

add new sso_connector_id row to the users_sso_identities table

* fix(schemas): fix alteration script

fix alteration script

* fix(schemas): fix alteration script

fix alteration script

* feat(core): add single sign on authentication api (#4814)

* feat(core): add single sign on authentication api

add single sign on authentication api

* feat(core): finish up the single sign on authentication api

finish up the single sign on authentication api

* chore(core): fix typo

fix typo

* test(core): add ut for getSsoAuthorizationUrl method

add ut for getSsoAuthorizationUrl method

* fix(core): fix the userSsoIdentities sql

fix the userSsoIdentities sql

* test(core): add unit tests

add unit tests

* fix(core): saml sso rebase fix

saml sso rebase fix

* fix(core): fix rebase issue
 fix rebase issue

* feat(core): add sso email guard to interaction endpoint (#4838)

* feat(core): add sso email guard to interaction endpoint

add sso email guard to interaction endpoint

* fix(core): fix unit tests

fix unit tests

* chore(core): split files

split files
2023-11-08 08:55:45 +00:00
wangsijie
b118fc54a6
refactor(core,schemas): add user logto_data column to store mfa (#4792)
* feat(core,phrases): disable auto skip mfa

* refactor(experience): skip mfa manually (#4788)

* refactor(core,schemas): add user logto_data column to store mfa skipped info

---------

Co-authored-by: Xiao Yijun <xiaoyijun@silverhand.io>
2023-11-02 16:16:21 +08:00
simeng-li
e515c04d44
refactor(core,schemas,console): refactor log key types and sso-connector authn-url api name (#4798)
* refactor(core,schemas,console): refactor log key types and sso-connector authn-url api name

refactor log key types and sso-connector authn-url api name

* feat(schemas): add user sso identities table (#4801)

* feat(schemas): add user sso identities table

add user sso identities table

* fix(schemas): fix alterations

fix alterations

* refactor(schemas): use unique constrain

use unique constrain
2023-11-02 02:13:06 +00:00
simeng-li
54fd29e41f
feat(schemas): create sso_connectors table (#4694)
* feat(schemas): create sso_connectors table

create sso_connectors table

* chore(schemas): add comments

add comments

* fix(schemas): remove dummy comments

remove dummy comments

* fix(schemas): fix schema typo

fix schema typo

* fix(schemas): adjust the alteration column order

adjust the alteration column order

* fix(schemas): drop policy

drop policy

* chore: fix the db alteration compare job tag version

fix the db alteration compare job tag version

* fix(schemas): set sso table order

set sso table order

* fix(schemas): fix alteration script

fix alteration script
2023-10-20 10:46:09 +08:00
Charles Zhao
005bb660cd
Merge pull request #4594 from logto-io/charles-log-6861-api-to-rotate-private-keys
feat(core,phrases): add apis to fetch, delete and rotate oidc private keys
2023-10-11 02:52:46 -05:00
Charles Zhao
f01ada5760
feat(core,phrases,shared): add apis to fetch, delete and rotate oidc private keys 2023-10-11 15:28:24 +08:00
Gao Sun
c1df440682
refactor(schemas): make description nullable 2023-10-08 13:47:22 +08:00
Gao Sun
b81c573583
feat(schemas): init organization tables 2023-10-07 17:49:28 +08:00
Gao Sun
a856145f81
refactor(schemas): improve regexp 2023-09-19 12:03:58 +08:00
Gao Sun
d065cbc623
refactor(schemas): sentinel first version 2023-09-18 16:31:23 +08:00
Gao Sun
d0a44e93f8
refactor(schemas): support field JSDoc comments 2023-09-16 17:15:56 +08:00
Gao Sun
f702cc24a3
feat: init sentinel 2023-09-16 17:15:53 +08:00
wangsijie
08a0a6748b
feat(schemas): add user verifications column (#4480) 2023-09-15 11:16:47 +08:00
wangsijie
b91aa8d3d7
feat(schemas): add mfa to sign in experience table (#4396) 2023-09-12 10:36:47 +08:00
Darcy Ye
9f6fc6100d
fix(schemas): specify function db schema of check_role_type (#4469)
fix(schemas): specify db schema of function check_role_type
2023-09-11 08:58:17 +00:00