* feat(core): implement new interaction-session management flow
implement a new interaction-session management flow for experience api use
* feat(core): implement password sign-in flow
implement password sign-in flow
* test(core,schemas): add sign-in password tests
add sign-in password tests
* chore(core): update comments
update comments
* refactor(core): rename the password input value key
rename the password input value key
* refactor(core,schemas): refactor the experience API
refactor the exerpience API structure
* chore(test): add devFeature test
add devFeature test
* refactor(core): rename the path
rename the path
* refactor(core,schemas): refactor using the latest API design
refactor using the latest API design
* chore(test): replace using devFeature test statement
replace using devFeature test statement
* fix(core): fix lint error
fix lint error
* refactor(core): refactor experience API implementations
refactor experience API implementations
* refactor(core): replace with switch
replace object map with switch
* refactor: apply suggestions from code review
* refactor(core): refactor the interaction class
refactor the interaction class
* refactor(core): update the user identification logic
update the user identification logic
---------
Co-authored-by: Gao Sun <gao@silverhand.io>
* feat: add operationId to HTTP methods on paths
* refactor(core): strictly handle routes for building operation id
* chore: add changeset
* refactor: reorg code
* refactor: use get as verb for singular items
---------
Co-authored-by: Gao Sun <gao@silverhand.io>
* feat(core,schemas): token exchange grant
* feat(core): third-party applications are not allowed for token exchange
* feat(core,schemas): token exchange grant
* feat(core): organization token for token exchange flow
* refactor(core,schemas): add user detail payload to User.Deleted DataHook event
add user detail data payload to the User.Deleted DataHook event
* fix(core): fix unit test
fix unit test
* feat(core): add suctom scopes.updated hook events
add scopes.updated hook event to role creation api
* chore(core): add dev feature guard
add dev feature gurad
* feat(core): fetch scopes details and return to the hook
fetch scopes details and return to the hook
* refactor(core): mark deprecated body of roles/:id/scopes api
mark deprecated body of roles/:id/scopes api
* fix(test): fix unit test
fix unit test
* feat(core): trigger user data hook event on interaction api call
trigger user data hook event on interaction api call
* chore(core): refine comments
refine comments
* fix(core): fix the interactionHookMiddleware
fix the interactionHookMiddleware
* test(core): add integration tests
add integration tests for interaction hooks
* chore(test): remove legacy test
remove legacy test
* feat(schemas): define data hook events
define data hook events
* fix(schemas,core): fix the type error
fix the type error
* fix(core): fix unit test
fix unit test
* feat(test): add integration tests for DataHooks
add integration tests for DataHooks
* fix(test): fix ut of management api hook middleware
fix ut of the management api hook middleware
* refactor(test,core,schemas): refactor some DataHook definiations
refactor some DataHook definitations
* chore(test): remove upper scope describe wrap
remove upper scope describe wrap
* fix(test): fix tests
fix tests
* refactor(schemas): rename the info.update events
rename the info.update events
* refactor(schemas): rename
rename
* refactor(core,schemas): refactor DataHook code
refactor DataHook code to address some code review comments
* fix(test): fix ut
fix ut
* fix(schemas): update DataHookEventPayload type
update DataHookEventPayload type
* chore(schemas): update comments
update comments
* feat: init management api hook middleware function
* refactor: fix type issues
* feat(core): implement auto triggered management api hooks
implement auto triggered managment api hooks
* refactor(console,core,schemas): rename the managementHook to dataHook
rename the managementHooke to dataHook and redefine the types
* feat(core): add dev feature guard
add dev feature guard
* chore: update changeset
update changeset
* refactor(core,console,schemas,shared): update the webhook logics
update the webhook logics. Address some PR review comments
* fix(test): fix integration tests
fix integration tests
* fix(test): remove legacy code
remove legacy code
* refactor(core,schemas): refactor the hook library code
refactor the webhooks library code. address some comments
* fix(core): address rebase issue
update console log using getConsoleLogFromContext
* fix(core): fix ut
fix ut
* fix(core): refactor data webhook code
refactor data webhook codes
* refactor(core): clean up some management api webhook code
clean up some management api webhook code
---------
Co-authored-by: simeng-li <simeng@silverhand.io>
* fix(experience): redirect to sign-in page on socical sign-in error
redirect user to sign-in page on social sign-in error
* test(experience): add integration tests
add integration tests