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

869 commits

Author SHA1 Message Date
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
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
wangsijie
ed849ca716
feat(core): update other profile data (#6651) 2024-10-15 15:20:21 +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
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
wangsijie
37b05f9d49
feat(core): trigger webhook event in profile api (#6641) 2024-10-01 09:43:17 +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
wangsijie
1b001f8fe8
feat(core): update password in profile (#6571) 2024-09-24 14:56:04 +08:00
silverhand-bot
43d83e8bb3
release: version packages (#6424) 2024-09-13 18:06:50 +08:00
simeng-li
5aab7c01bf
fix(core): add sso only email guard (#6576)
* fix(core): add sso only email guard

add sso only email guard to registration and profile fulfilling flow

* chore: update changeset

update changeset

* chore(core): update content

update content

* fix(core): update content

update content
2024-09-13 09:34:37 +00:00
Charles Zhao
6a4726b588
test: add ui integration test for lang and dir html attributes in experience (#6581) 2024-09-13 14:44:31 +08:00
Charles Zhao
cf53bb2c8c
test: add integration test for no password user setting password (#6579)
* test: add integration test for no password user setting password

* refactor(test): polish content

Co-authored-by: Gao Sun <gao@silverhand.io>

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2024-09-13 14:44:15 +08:00
Charles Zhao
380cc43e64
refactor(console,experience): improve RTL support (#6568)
* refactor(console,experience): improve RTL support

* test: add ui test cases for console language switcher

* refactor: update css
2024-09-12 10:47:40 +08:00
Gao Sun
cc346b4e0a
feat(core): password checking api (#6567)
* feat(core): password checking api

* refactor(core): improve API response
2024-09-11 06:55:07 +00:00
simeng-li
2626616775
fix(experience): allow link social account on sign-in only mode (#6560)
* fix(experience): allow link social account on sign-in only mode

allow link social account, when registration is disabled;

* chore: add changeset

add changeset

* chore: fix typos

fix typos
2024-09-10 15:45:07 +08:00
simeng-li
b837efead6
feat(console,core): remove custom token claims api context dev guard (#6553)
* feat(console,core): remove custom jwt api context dev guard

remove custom jwt api context dev guard

* fix(console,schemas,phrases): fix custom jwt token request phrases

fix custom jwt token request phrases

* chore: return denyAccess
return denyAccess
2024-09-09 16:57:44 +08:00
Xiao Yijun
a748fc85bb
fix(core): add hasPassword field to user API response (#6543) 2024-09-04 13:22:44 +08:00
simeng-li
b51680a78f
feat(core): add denyAccess api context to customJwt script (#6532)
* feat(schemas,core): add denyAccess api conext to custom jwt

add denyAccess api context to the custom jwt

* fix(test): fix integration test

fix integration test

* chore(schemas): update type name

update api context type name

* chore(schemas): fix typo

fix typo

* feat(core): add dev feature guard

add dev feature guard
2024-09-03 18:12:57 +08:00
Xiao Yijun
3d3a220306
chore: remove dev feature guard for first screens (#6522)
* chore: remove dev feature guard for new first screens

* chore: add changeset

* chore(experience): add comments for identifier sign-in and register page
2024-08-28 09:53:54 +08:00
Xiao Yijun
ef78823948
refactor(experience): remove redundant defaultType prop for SmartInputField (#6517) 2024-08-26 19:35:57 +08:00
wangsijie
52056f99f1
chore: remove dev feature guard of PAT (#6499) 2024-08-23 14:38:14 +08:00
wangsijie
4be675a53a
fix(core): add grant record for token exchange (#6502) 2024-08-22 07:29:54 +00:00
Xiao Yijun
fec844c3ce
feat(experience): add reset password first screen (#6498) 2024-08-22 14:44:05 +08:00
wangsijie
50bbcb69ee
test: add integration tests for pat token introspection (#6501) 2024-08-22 14:41:55 +08:00
wangsijie
2ebc47170e
fix(core): remove the requirement of secured app for PAT (#6493) 2024-08-22 13:54:47 +08:00
Darcy Ye
a999c51919
fix(core,console): disable quota guard and unblock resource creation for pro tenants (#6487) 2024-08-21 08:58:10 +00:00
Xiao Yijun
d4674833c8
fix(experience): correct first screen fallbacks (#6472) 2024-08-20 06:04:29 +00:00
wangsijie
746aa5897b
feat(core): token exchange by pat (#6450) 2024-08-19 11:36:04 +00:00
Xiao Yijun
f205aa7af7
test(experience): add integration tests for first screen feature (#6464) 2024-08-19 09:57:11 +00:00
simeng-li
2362791edc
chore(core): remove devFeature guard (#6462)
* chore(core): should not trigger profile update log

should not trigger profile update log if the synced profile is empty

* chore(core): add userId to experience audit log

add userId to the experience audit log

* chore(core): remove devFeature guard

remove devFeature guard

* feat(test): remove devFeature guard in test

remove devFeature guard in test
2024-08-19 13:00:19 +08:00
simeng-li
cea8aa1120
feat(core): implement wellknown swagger endpoints (#6445)
* feat(core): implement wellknown swagger endpoints

implement wellknown swagger endpoints

* chore(core): rename

rename

* refactor(core): extract common util methods

extract common util methods

* fix(core): fix lint error

fix lint error

* refactor(core): shared code optimization

shared code optimization

* chore(core): remove type assertion

remove type assertion
2024-08-19 09:37:23 +08:00
simeng-li
50e430880d
refactor(core): redesign get sso connectors endpoint (#6454)
* refactor(core): redesign get sso connectors endpoint

redesign get sso conenctors endpoint

* chore(core): fix import format

fix import format
2024-08-16 11:06:35 +08:00
simeng-li
db42279ed4
feat(core): add experience APIs openapi docs (#6436)
* feat(core): add experience APIs openapi docs

add experience APIs openapi docs

* fix(core): adjust the format

adjust the format

* chore: update experience API description

update experience API description

* fix(core): fix integration tests

fix integration tests

* chore(core): add devFeature tag in openapi doc

add devFeature tag in openapi doc

* fix(core): fix the integration test

remove the redundent path paramter def
2024-08-15 10:05:52 +08:00
wangsijie
fe054d5af5
feat(core): modify and delete PATs (#6390) 2024-08-13 11:37:58 +08:00
wangsijie
22d0a06fc6
feat(core): list PATs (#6389) 2024-08-13 10:47:37 +08:00
wangsijie
86e76ffc8a
feat(core): create PAT (#6388) 2024-08-13 10:10:41 +08:00
Xiao Yijun
ab90f43db2
fix(experience): prevent errors from applying unsupported cached identifier types (#6425)
* fix(experience): prevent errors from applying unsupported cached identifier types

* test(experience): add integration tests for cached input value

* refactor(experience): rename `getIdentifierInputValue` to `getIdentifierInputValueByTypes`

* refactor(experience): add `identifierInputValue` back

* refactor(experience): update implementation
2024-08-12 10:28:32 +08:00
silverhand-bot
ddfa7aa96e
release: version packages (#6197) 2024-08-08 13:00:14 +08:00
simeng-li
d26fca70fb
refactor(core,schemas): refactor the register flow (#6401)
* refactor(core,schemas): refactor the registration flow

refactor the registraction flow

* fix(core): remove unused method

remove unused method

* fix(test): remove legacy test

remove legacy test

* fix(core): fix webauthn verificaiton api

fix webauthn verification api
2024-08-07 10:48:38 +00:00
simeng-li
d927f90a07
feat(core): support google one tap (#6395)
* feat(core): support google one tap

support google one tap verification

* fix(core): fix google one tap verification error

fix google one tap verification error

* fix(test): optimize social verification test

optimize social verificaiton tests

* fix(test): update social verification ut

update social verification util unit test
2024-08-07 10:36:52 +00:00
Darcy Ye
2e3a0063ba
fix(core): should not throw when not adding any new roles to a user (#6387) 2024-08-05 02:58:47 +00:00
simeng-li
5024182986
refactor(core): should not guard sso authentication flow (#6394)
should not guard mfa and profile fulfillment for the sso authentication flow
2024-08-05 09:05:08 +08:00
Gao Sun
c6a1cab399
refactor: add tests for content-type in oidc apis (#6380) 2024-08-01 09:38:09 +00:00