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

2264 commits

Author SHA1 Message Date
Darcy Ye
ccb47b7443
refactor: undo changes on swagger API utils and hide SAML app APIs 2024-11-26 15:23:38 +08:00
Darcy Ye
0795ba9364
feat(core): add POST /saml-applications and DEL /saml-applications/:id APIs 2024-11-22 16:52:19 +08:00
Darcy Ye
e47545a7bb
chore: update code 2024-11-21 14:59:29 +08:00
Darcy Ye
7a949b3848
chore: add SAML to application type 2024-11-20 14:32:00 +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
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
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
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
wangsijie
48fd33d8ce
feat(core): add account center api (#6772) 2024-11-08 19:57:43 +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
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
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
silverhand-bot
f48d3a1f95
release: version packages (#6631) 2024-10-25 17:26:36 +08: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
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
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
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
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
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
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
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
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
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