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

6349 commits

Author SHA1 Message Date
Darcy Ye
7a949b3848
chore: add SAML to application type 2024-11-20 14:32:00 +08:00
wangsijie
80ae0bb6c7
fix(schemas): fix init account center alter run in chunks (#6823) 2024-11-20 13:28:49 +08:00
wangsijie
9795412f43
refactor(core): rename account prefix to my-account (#6821) 2024-11-19 08:17:39 +00:00
wangsijie
9a3f78d342
chore: remove feature guard (#6818) 2024-11-19 11:54:32 +08:00
simeng-li
9ca5ae8f30
chore: add app insights log for oidc server error (#6815)
add app insights log for oidc server error
2024-11-18 14:40:03 +08:00
wangsijie
4658bd2623
refactor(core): rename prefix to account (#6814) 2024-11-18 14:02:04 +08:00
wangsijie
3cfa6843bd
feat(core): remove identities (#6809) 2024-11-15 07:51:32 +00:00
wangsijie
f8d21e49fa
refactor(core): split profile route (#6802) 2024-11-15 06:04:26 +00:00
wangsijie
859495b13b
refactor(core): move verification record id to header (#6801) 2024-11-15 13:42:28 +08:00
simeng-li
640425414f
chore: remove dev feature guard (#6808)
* chore: remove dev feature guard

remove dev feature guard

* chore: add changesets

add changesets
2024-11-15 11:17:22 +08:00
wangsijie
06a1bd1394
fix(core): allow all origins for profile and verification api (#6799) 2024-11-15 10:53:08 +08:00
simeng-li
2791fca224
feat(console,phrases): add support field description (#6807)
add support field description
2024-11-15 10:27:07 +08:00
simeng-li
ca85faed41
chore(phrases): update content (#6806)
update content
2024-11-15 10:26:52 +08:00
wangsijie
0020e26270
chore: fix typo (#6803) 2024-11-14 09:14:23 +08:00
simeng-li
3ee2e03ac8
feat(console): add unknown session redirect url input field (#6797)
* feat(console): add unknown session redirect url input field

add unknown session redirect url input field to console

* feat(core): redirect to redirect url from sie on session not found (#6798)

read and redierct user to redirect url from sie settings on session not found
2024-11-13 04:36:06 +00:00
simeng-li
ec0f0c35f8
feat(schemas,core): add unknown session redirect url to sie (#6796)
* feat(schemas,core): add unknown session redirect url to sie

add unknown session redirect url config to sie settings

* chore(core): update openapi docs

update openapi docs

* fix(core): fix typo

fix typo

* fix(core): fix typo

Co-authored-by: Charles Zhao <charleszhao@silverhand.io>

---------

Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2024-11-13 10:29:14 +08:00
simeng-li
4e826deabe
feat(core,console): add trust unverified email settings to Azure SSO (#6800)
add trust unverified email settings to Azure OIDC SSO connector
2024-11-13 10:28:58 +08:00
Charles Zhao
8e0d717781
refactor(console): update value of the last-visited tenant wildcard (#6787) 2024-11-12 11:20:58 +08:00
simeng-li
04992b1565
feat(experience): display support info in error page (#6793)
display support email and website in error page
2024-11-12 03:12:11 +00:00
simeng-li
1c0b29fb13
feat(console): add support fields config to sie (#6792)
add support fields to sie page
2024-11-12 02:51:00 +00:00
simeng-li
ae4b65bc26
feat(core): add support email & website url format guard (#6790)
add support email and website url format guard
2024-11-12 02:13:19 +00:00
simeng-li
1cee704939
feat(schemas): add suppport email and website url to sie (#6789)
* feat(schemas): add suppport email and website url to sie

add support email and website url to sie

* fix(experience): fix type issue

fix type issue

* fix(core): fix ut

fix ut
2024-11-12 09:51:34 +08:00
wangsijie
f4a374f7ac
fix(schemas): export account center seed function (#6791) 2024-11-11 17:50:06 +08:00
wangsijie
3d465f2c6d
feat(core): apply account center field control (#6776) 2024-11-11 15:03:29 +08:00
wangsijie
d804ee0507
fix(core): set default social session (#6784) 2024-11-11 11:04:18 +08:00
Charles Zhao
e1044dbae1
feat(console): support console url with wildcard tenant id (#6780) 2024-11-11 10:42:41 +08:00
wangsijie
48fd33d8ce
feat(core): add account center api (#6772) 2024-11-08 19:57:43 +08:00
wangsijie
9f165749d3
fix(console): fix vonage connector id (#6774) 2024-11-06 10:38:06 +00:00
wangsijie
947d2e4563
feat(connector): add vonage connector (#6768) 2024-11-06 15:56:43 +08:00
wangsijie
00e17525e7
feat(schemas): add account center table (#6761) 2024-11-06 03:37:51 +00:00
simeng-li
fe06860645
style(experience): update the devTenantNotification style (#6745)
update the devTenantNotification style
2024-11-05 13:59:07 +08:00
simeng-li
6698679728
fix(core): fix enterprise SSO unknown field not synced issue (#6763)
* fix(core): fix enterprise SSO unknown field not synced issue
fix enterprise SSO unknown field not synced issue

* fix(core): cleanup undefined in unknown json

cleanup undefined in unknown json

* fix(core): should sync the sso identity detail on sign-in (#6764)

should sync the sso identity detail on sign-in
2024-11-04 08:48:36 +00:00
renovate[bot]
0c777c10f2
chore(deps): update dependency @lit/localize-tools to ^0.8.0 (#6402)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-04 10:59:38 +08:00
Amin Tarbalouti
60a6d677d7
feat(core): initial implementation of user set mfa secrets / codes (#6654)
* feat(core): initial implementation of user set mfa secrets / codes

* refactor(core): move totp secret validation to util

* chore(core): fix openapi document

* chore(core): fix unit tests

---------

Co-authored-by: wangsijie <wangsijie@silverhand.io>
2024-10-29 15:59:13 +08:00
simeng-li
76a985cc8a
chore(deps): update tsup dependency version (#6733)
chore: update tsup dependency version

update tsup dependency version
2024-10-28 13:42:11 +08:00
wangsijie
fa791d3a63
feat(core): remove social identity (#6709)
* feat(core): add social identity

* feat(core): remove social identity
2024-10-28 12:09:21 +08:00
simeng-li
73627a76a3
chore(deps): update postcss-modules version (#6738)
update postcss-modules version
2024-10-28 11:09:20 +08:00
simeng-li
34f310cae0
fix(console): remove unused vite-plugin (#6729)
remove unsued vite-plugin dependency which are not compatible with current vite version
2024-10-28 10:54:46 +08:00
wangsijie
9742f05ff6
feat(core): add social identity (#6703)
* feat(core): add social identity

* refactor(core): refactor social verification class (#6741)

* refactor(core): refactor social verification class

refactor social verification class

* fix(core): remove unused method

remove unused method

* chore: rename to connectorSessionType

---------

Co-authored-by: simeng-li <simeng@silverhand.io>
2024-10-26 09:46:24 +08:00
Xiao Yijun
50031369a1
feat(elements): add logto-account-center element (#6737) 2024-10-25 09:39:15 +00:00
silverhand-bot
f48d3a1f95
release: version packages (#6631) 2024-10-25 17:26:36 +08:00
Xiao Yijun
8f59a20c22
feat(elements): add logto-social-identity element (#6736) 2024-10-25 16:13:14 +08:00
Xiao Yijun
3d25448500
feat(elements): add logto-user-phone element (#6732) 2024-10-25 07:22:31 +00:00
simeng-li
a72e016b6d
fix(core,console): show custom jwt error logs (#6749)
show custom jwt error logs
2024-10-25 15:08:39 +08:00
wangsijie
af5c6c7f8e
refactor(core): use template type for code verification (#6687) 2024-10-25 14:50:55 +08:00
Xiao Yijun
11d9ed4315
feat(elements): add logto-user-password element (#6728) 2024-10-25 06:45:52 +00:00
Xiao Yijun
20a714c94d
feat(elements): add logto-user-email element (#6726) 2024-10-25 06:22:00 +00:00
Xiao Yijun
6ef19b3e73
feat(elements): add logto-username element (#6724) 2024-10-25 06:09:20 +00:00
Darcy Ye
2d3295ea28
fix(console): fix manually update tenant open invoice bug (#6747) 2024-10-24 10:40:03 +00:00
simeng-li
f2d280466d
feat(core,console,schemas): add idp-initiated sso session create log (#6743)
add idp-initiated sso session create log
2024-10-24 17:56:49 +08:00
Darcy Ye
5bb9375055
chore: add google connector default prompt (#6734)
* chore: add google connector default prompt

* fix: fix console integration tests
2024-10-24 04:27:48 +00:00
renovate[bot]
27a193d03b
chore(deps): update dependency nock to v14.0.0-beta.15 (#6432)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-23 15:03:31 +08:00
renovate[bot]
8c1ee143f0
chore(deps): update dependency sinon to v19 (#6596)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-23 14:42:51 +08:00
simeng-li
3a826c4223
chore: bump dependency versions (#6712)
* chore: bump dependency versions

bump dependency versions

* chore: bump nodemon (#6713)

nump nodemon version
2024-10-23 14:20:23 +08:00
Darcy Ye
b906db730c
fix(console): fix cloud CI failed issue (#6710)
chore: remove useNewSubscriptionData manual updateTenant
2024-10-23 11:53:56 +08:00
Xiao Yijun
27e44c287f
feat(elements): introduce basic logto-account-provider (#6685) 2024-10-22 07:43:27 +00:00
Xiao Yijun
98bd9bb4e0
refactor: reorg elements project (#6708) 2024-10-22 15:29:21 +08:00
simeng-li
95c7d8b5be
style(console): update radio card style (#6700)
* style(console): update radio card style

update radio card style

* style(console,phrases): update selector styles (#6702)

* style(console,phrases): update selector styles

update selector styles and content

* style(console): adjust font size

adjust font size

* fix(console): add devFeatureGuard

add devFeatureGuard
2024-10-22 03:54:54 +00:00
simeng-li
11055a6002
fix(console): add applications and redirect uri placeholder (#6696)
add applications and redirect uri placeholder
2024-10-22 03:36:08 +00:00
simeng-li
14e65924f2
chore(core): guard idp-initiated sso console and api (#6690)
* chore(core): guard idp-initiated sso management api to cloud only

guard idp-initiated sso management api to cloud only

* fix(test): enable routes for integration tests

enable routes for integration tests

* feat(core, console): apply idp-initiated sso quota guard

apply idp-initiate sso quota guard
2024-10-22 11:14:06 +08:00
Darcy Ye
c7f326edce
fix(console): fix webhook modal paywall for enterprise plan (#6698)
* fix(console): fix webhook modal paywall for enterprise plan

* fix: fix styles

* chore: update code

* chore: update code
2024-10-22 11:02:01 +08:00
Darcy Ye
d52f25142d
fix(console): fix inf loop for updating tenant context (#6704) 2024-10-22 11:01:39 +08:00
Darcy Ye
3022d2eba1
fix(console): manually update tenant data when data get updated (#6697)
* fix(console): manually update tenant data when data get updated

* chore: update code
2024-10-21 10:28:05 +00:00
Darcy Ye
e3374d073c
fix(console): fix enterprise tenants not displayed issue (#6695) 2024-10-21 17:14:54 +08:00
Gao Sun
aab356d7ed
chore: launch au region (#6701) 2024-10-21 15:05:29 +08:00
Darcy Ye
671be26ea0
refactor(console,core): remove isAddOnAvailable (#6689)
* refactor: update cloud dependency and remove isAddOnAvailable

* chore: undo dependency updates
2024-10-21 10:40:07 +08:00
wangsijie
61aa13f8a9
feat(connector): add gatewayapi connector (#6691) 2024-10-18 19:24:15 +08:00
Luis Lopez Cardona
bc2a0ac039
feat(core): database connection timeout env overwrite support (#6187) (#6674)
* feat(core): database connection timeout env overwrite support (#6187)

* chore: add changeset

---------

Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2024-10-18 14:26:34 +08:00
wangsijie
6289433d8c
feat(core): add expiresAt in response of verification record creation (#6686) 2024-10-17 15:07:01 +08:00
wangsijie
2fb85a229b
feat(core): add and change phone (#6682) 2024-10-17 15:06:22 +08:00
simeng-li
64d7b6a4f3
feat(console): add idp-initiated sso config page (#6688)
* feat(console): add idp-initiated SSO auth config page

add idp-initiated SSO auth config page

* fix(console): fix PR comments

fix PR comments
2024-10-17 13:41:51 +08:00
simeng-li
cfc1b5eb0f
feat(core): add idp-initiated sso client sign-in redirect (#6681)
* feat(core): consume IdP initiated session on SSO verification flow

Auto consume the IdP initiated SAML SSO session on the SSO sign-in verification flow

* test(core): add unit test cases

add unit test cases

* feat(core): consume IdP initiated session on SSO verification flow

Auto consume the IdP initiated SAML SSO session on the SSO sign-in verification flow

* test(core): add unit test cases

add unit test cases

* feat(core): add idp-initiated sso client sign-in redirect

add idp-initiated sso client sign-in redirect
2024-10-16 17:38:49 +08:00
simeng-li
85fb4ce4dc
refactor(core): update idp-initiated auth config management api (#6680)
* feat(core): consume IdP initiated session on SSO verification flow

Auto consume the IdP initiated SAML SSO session on the SSO sign-in verification flow

* test(core): add unit test cases

add unit test cases

* feat(core): consume IdP initiated session on SSO verification flow

Auto consume the IdP initiated SAML SSO session on the SSO sign-in verification flow

* test(core): add unit test cases

add unit test cases

* refactor(core): remove update idp-initiated auth config api

remove update idp-initiated auth config api

* refactor(core): update idp-initiated auth config management api

update the idp-initiated auth config management api to support two different flows.
autoSendAuthorizationRequest: true
autoSendAuthorizationRequest: false

* fix(test): fix integration test

fix the integration test
2024-10-16 17:20:13 +08:00
simeng-li
2c8343a757
feat(schemas): add idp-initiated SSO client side callback url columns (#6675)
* feat(core): consume IdP initiated session on SSO verification flow

Auto consume the IdP initiated SAML SSO session on the SSO sign-in verification flow

* test(core): add unit test cases

add unit test cases

* feat(schemas): add client idp-initiated auth callback url column

add client idp-initiated auth callback url column

* fix(test): fix ut

fix ut
2024-10-16 16:58:20 +08:00
Charles Zhao
a7db62cd63
release: @logto/core-kit:2.5.1 and @logto/tunnel:0.2.1 (#6633)
* release: @logto/core-kit:2.5.1

* release: @logto/tunnel:0.2.1
2024-10-16 14:36:45 +08:00
Xiao Yijun
96d47db054
feat(account-elements): add initial account api (#6684) 2024-10-16 01:52:32 +00:00
Xiao Yijun
7925dfdee2
chore(account-elements): setup account elements project (#6683) 2024-10-16 09:33:37 +08:00
wangsijie
ed849ca716
feat(core): update other profile data (#6651) 2024-10-15 15:20:21 +08:00
simeng-li
187847b093
feat(core): consume IdP initiated session on SSO verification flow (#6669)
* feat(core): consume IdP initiated session on SSO verification flow

Auto consume the IdP initiated SAML SSO session on the SSO sign-in verification flow

* refactor(core): remove offline_access scope by default

remove the offline_access scope by default

* test(core): add unit test cases

add unit test cases
2024-10-15 10:47:25 +08:00
simeng-li
436a1840a8
feat(core,schemas): init auth flow for IdP initiated SAML SSO (#6668)
* feat(core,schemas): init auth flow for IdP initiated SAML SSO

init auth flow for IdP initiated SAML SSO

* fix(test): fix phrases key

fix phrases key
2024-10-14 15:39:05 +08:00
simeng-li
8e632678bc
feat(core): handle idp initiated saml assertion request (#6666)
* feat(core): handle idp initiated saml assertion request

handle idp initiated saml assertion request

* refactor(core): extract the set cookie logic

extract the set cookie logic, any refine some type definitions
2024-10-14 14:47:55 +08:00
simeng-li
d4f7d098dc
feat(schemas): add IdP initiated SAML SSO sessions table (#6663)
* feat(schemas): add idp-initiated saml sso sessions table

add idp-iniaited saml sso sessions table

* refactor(schemas): remove nameID index

remove nameID index
2024-10-14 13:34:35 +08:00
simeng-li
17c2a79caf
feat(core): add patch and delete SAML IdP initiated config API (#6662)
* feat(core): add patch and delete saml idp initiated config api

add patch and delete sso connector idp initiated auth config api

* fix(test): fix integration test

fix integration test

* fix(core): fix the rebase issue

fix the rebase issue
2024-10-14 11:29:08 +08:00
simeng-li
14a07dcead
feat(core,schemas): add sso idp initiated auth config api (#6660)
* feat(core,schemas): add sso idp initiated auth config api

add sso connector idp initiated auth config management api

* fix(core): align the naming convention

align the naming convention
2024-10-14 10:50:43 +08:00
simeng-li
22566e375c
feat(schemas): add SAML SSO IdP initated auth config table (#6659)
feat(schemas): add idp initiated sso auth configs table

add idp initiated sso auth configs table
2024-10-14 10:18:29 +08:00
Darcy Ye
4dc1f82195
refactor: move has{Reach,Surpass}Limit method to subscription context (#6664)
* refactor: move has{Reach,Surpass}Limit method to subscription context

* chore: update code
2024-10-12 12:19:07 +08:00
Darcy Ye
5570cec243
refactor(core): update Cloud API response type definition (#6667) 2024-10-11 11:44:53 +08:00
Geison Goulart Piegas
a662b19db3
fix(core): forgot password on the first access of migrated users (#6642)
Update packages/core/src/routes/interaction/verifications/profile-verification.ts

Co-authored-by: wangsijie <sijiewg@gmail.com>

fixing code duplication

fixing eslint

fix(core): changing the mock response
2024-10-11 10:12:19 +08:00
Darcy Ye
026f7e48bc
refactor: align cloud API response type definition (#6665) 2024-10-10 11:10:56 +08:00
wangsijie
3eede7893f
feat(core): get user profile (#6650) 2024-10-10 10:30:20 +08:00
wangsijie
72a57e23cd
feat(core): check password policy before changing password (#6649) 2024-10-10 07:55:47 +08:00
wangsijie
e3be97b528
feat(core): add and change primary email (#6643) 2024-10-09 10:21:25 +08:00
simeng-li
9e67f27602
fix(core): expose syntax error response (#6646)
expose syntax error response
2024-10-08 10:14:21 +08:00
wangsijie
37b05f9d49
feat(core): trigger webhook event in profile api (#6641) 2024-10-01 09:43:17 +08:00
Charles Zhao
76acfe332c
refactor(console,phrases): improve feature description for rotate refresh token (#6647) 2024-09-30 19:50:20 +08:00
wangsijie
26b9a38a4f
feat(core): update username (#6640) 2024-09-29 14:07:14 +08:00
wangsijie
3131802c6a
feat(core): add update name and avatar endpoint (#6636) 2024-09-29 10:34:59 +08:00
Bradford Powell
fc6f94f111
refactor(cli): keep alteration scripts folder writable by gid 0 (#6328)
facilitates running in rootless container with r/w mounted alteration-scripts
directory (fixed #6327)
2024-09-26 12:47:26 +08:00
Charles Zhao
ea333b3dd9
chore(core): update code comments in security header middleware (#6634) 2024-09-25 16:18:52 +08:00
Charles Zhao
3c993d59c4
fix(core,tunnel,phrases): support range requests when hosting custom ui assets (#6630) 2024-09-25 14:36:50 +08:00