@burgan-tech/morph-idm-runtime 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (324) hide show
  1. package/burgan-tech-morph-idm-runtime-0.0.7.tgz +0 -0
  2. package/morph-idm/Workflows/test-consent-selection/test-flow-with-sub.json +1 -1
  3. package/morph-idm/Workflows/test-consent-selection/test-flow-with-two-sub.json +2 -2
  4. package/morph-idm/Workflows/token-process/token/src/mappings/StateMintTokenCallSessionStartMapping.csx +8 -33
  5. package/morph-idm/Workflows/token-process/token/token.json +1 -1
  6. package/package.json +1 -1
  7. package/vnext.config.json +1 -1
  8. package/burgan-tech-morph-idm-runtime-0.0.6.tgz +0 -0
  9. package/morph-idm/Extensions/.gitkeep +0 -0
  10. package/morph-idm/Functions/.gitkeep +0 -0
  11. package/morph-idm/Functions/cert/check/execute/check.http +0 -106
  12. package/morph-idm/Functions/consent/check-consent-role/execute/check-consent-role.http +0 -89
  13. package/morph-idm/Functions/consent/get-consent-role-position/execute/get-consent-role-position.http +0 -55
  14. package/morph-idm/Functions/consent/get-position/execute/get-position.http +0 -38
  15. package/morph-idm/Functions/consent/get-roles/execute/get-roles.http +0 -163
  16. package/morph-idm/Functions/customer/execute/get-customer-by-filter.http +0 -126
  17. package/morph-idm/Functions/customer-management/get-firms-by-filter/execute/get-firms-by-filter.http +0 -91
  18. package/morph-idm/Functions/device-process/forget/execute/forget.http +0 -141
  19. package/morph-idm/Functions/device-process/get-device-list/execute/get-device-list.http +0 -138
  20. package/morph-idm/Functions/device-process/get-device-token-by-reference/execute/get-device-token-by-reference.http +0 -349
  21. package/morph-idm/Functions/device-process/remove/execute/remove.http +0 -150
  22. package/morph-idm/Functions/device-process/save/execute/save.http +0 -124
  23. package/morph-idm/Functions/feature-management/dynamic-config/.gitkeep +0 -0
  24. package/morph-idm/Functions/feature-management/dynamic-config/execute/dynamic-config-reads.http +0 -43
  25. package/morph-idm/Functions/feature-management/feature-flag/.gitkeep +0 -0
  26. package/morph-idm/Functions/feature-management/feature-management-ops/.gitkeep +0 -0
  27. package/morph-idm/Functions/organization/get-organizations/execute/get-organizations.http +0 -30
  28. package/morph-idm/Functions/organization/get-position-levels-by-scope/execute/get-position-levels-by-scope.http +0 -54
  29. package/morph-idm/Functions/session/logout/execute/logout.http +0 -91
  30. package/morph-idm/Functions/sso-flow/execute/session-transfer.http +0 -132
  31. package/morph-idm/Functions/sso-flow/token-direct/execute/token-direct-boarding.http +0 -222
  32. package/morph-idm/Functions/sso-flow/token-direct/execute/token-direct.http +0 -121
  33. package/morph-idm/Functions/transaction-limit/verify-limit-definition/execute/verify-limit-definition.http +0 -78
  34. package/morph-idm/Functions/user/execute/get-password-history-by-filter.http +0 -66
  35. package/morph-idm/Functions/user/execute/get-security-question-history-by-user.http +0 -85
  36. package/morph-idm/Functions/user/get-users-by-scope/execute/get-users-by-scope.http +0 -73
  37. package/morph-idm/Functions/user-login/get-last-successful-corporate-logon/execute/get-last-successful-corporate-logon.http +0 -49
  38. package/morph-idm/Functions/user-login/get-last-user-logins/execute/get-last-user-logins.http +0 -96
  39. package/morph-idm/Functions/user-login/get-user-logins/execute/get-user-logins.http +0 -78
  40. package/morph-idm/Functions/zeebe-approval/get-starter-instance-id/execute/get-starter-instance-id.http +0 -64
  41. package/morph-idm/Schemas/feature-management/database-variables/.gitkeep +0 -0
  42. package/morph-idm/Schemas/feature-management/dynamic-config/.gitkeep +0 -0
  43. package/morph-idm/Schemas/feature-management/feature-flag/.gitkeep +0 -0
  44. package/morph-idm/Tasks/.gitkeep +0 -0
  45. package/morph-idm/Tasks/feature-management/database-variables/.gitkeep +0 -0
  46. package/morph-idm/Tasks/feature-management/dynamic-config/.gitkeep +0 -0
  47. package/morph-idm/Tasks/feature-management/feature-flag/.gitkeep +0 -0
  48. package/morph-idm/Tasks/feature-management/feature-management-shared/.gitkeep +0 -0
  49. package/morph-idm/TestCases/corporate-user-login-e2e.http +0 -872
  50. package/morph-idm/TestCases/limit-approval/approval-matrix-limit-definition.http +0 -182
  51. package/morph-idm/TestCases/limit-approval/approval-non-amount-subflow.http +0 -132
  52. package/morph-idm/TestCases/limit-approval/transaction-limit-definition-approval.http +0 -95
  53. package/morph-idm/TestCases/limit-definition/README.md +0 -130
  54. package/morph-idm/TestCases/limit-definition/approve-transaction.http +0 -149
  55. package/morph-idm/TestCases/limit-definition/approve.http +0 -143
  56. package/morph-idm/TestCases/limit-definition/daily-limit-definition.http +0 -399
  57. package/morph-idm/TestCases/limit-definition/transaction-limit-definition.http +0 -240
  58. package/morph-idm/TestCases/session-transfer-e2e.http +0 -344
  59. package/morph-idm/TestCases/session-transfer-e2e.sh +0 -272
  60. package/morph-idm/TestCases/sort-migration-verification.http +0 -428
  61. package/morph-idm/TestCases/test-123/.httpyac.json +0 -15
  62. package/morph-idm/TestCases/test-123/01-person.http +0 -78
  63. package/morph-idm/TestCases/test-123/02-user.http +0 -73
  64. package/morph-idm/TestCases/test-123/03-scope.http +0 -65
  65. package/morph-idm/TestCases/test-123/04-consent.http +0 -66
  66. package/morph-idm/TestCases/test-123/05-device.http +0 -86
  67. package/morph-idm/TestCases/test-123/06-user-login.http +0 -206
  68. package/morph-idm/TestCases/test-123/README.md +0 -112
  69. package/morph-idm/TestCases/test-123/cleanup.js +0 -49
  70. package/morph-idm/TestCases/test-123/cleanup.sh +0 -20
  71. package/morph-idm/TestCases/test-123/cleanup.sql +0 -45
  72. package/morph-idm/TestCases/test-123/http-client.env.json +0 -13
  73. package/morph-idm/TestCases/test-123/run-setup.sh +0 -42
  74. package/morph-idm/TestCases/test-12345/.httpyac.json +0 -16
  75. package/morph-idm/TestCases/test-12345/01-person.http +0 -79
  76. package/morph-idm/TestCases/test-12345/02-01-device-android.http +0 -258
  77. package/morph-idm/TestCases/test-12345/02-user.http +0 -97
  78. package/morph-idm/TestCases/test-12345/03-scope-2.http +0 -65
  79. package/morph-idm/TestCases/test-12345/03-scope.http +0 -65
  80. package/morph-idm/TestCases/test-12345/04-consent-1.http +0 -86
  81. package/morph-idm/TestCases/test-12345/04-consent-2.http +0 -66
  82. package/morph-idm/TestCases/test-12345/05-device.http +0 -261
  83. package/morph-idm/TestCases/test-12345/06-user-login copy.http +0 -266
  84. package/morph-idm/TestCases/test-12345/06-user-login.http +0 -266
  85. package/morph-idm/TestCases/test-12345/07-corporate-login.http +0 -282
  86. package/morph-idm/TestCases/test-auto-consent/.httpyac.json +0 -14
  87. package/morph-idm/TestCases/test-auto-consent/01-person.http +0 -66
  88. package/morph-idm/TestCases/test-auto-consent/02-user.http +0 -115
  89. package/morph-idm/TestCases/test-auto-consent/03-scope.http +0 -66
  90. package/morph-idm/TestCases/test-auto-consent/04-device.http +0 -56
  91. package/morph-idm/TestCases/test-auto-consent/05-user-login.http +0 -133
  92. package/morph-idm/TestCases/test-auto-consent/README.md +0 -36
  93. package/morph-idm/TestCases/test-auto-consent/cleanup.js +0 -47
  94. package/morph-idm/TestCases/test-auto-consent/run-setup.sh +0 -50
  95. package/morph-idm/TestCases/test-flows/test-flow-with-two-sub.http +0 -107
  96. package/morph-idm/TestCases/test-get-user-info/.httpyac.json +0 -9
  97. package/morph-idm/TestCases/test-get-user-info/get-user-info-ibweb-manual.http +0 -127
  98. package/morph-idm/TestCases/test-get-user-info/get-user-info.http +0 -282
  99. package/morph-idm/TestCases/test-login/.httpyac.json +0 -17
  100. package/morph-idm/TestCases/test-login/01-person.http +0 -79
  101. package/morph-idm/TestCases/test-login/02-01-device-android.http +0 -261
  102. package/morph-idm/TestCases/test-login/02-user.http +0 -97
  103. package/morph-idm/TestCases/test-login/03-scope.http +0 -65
  104. package/morph-idm/TestCases/test-login/04-consent-1.http +0 -86
  105. package/morph-idm/TestCases/test-login/05-device.http +0 -261
  106. package/morph-idm/TestCases/test-login/06-user-login copy.http +0 -266
  107. package/morph-idm/TestCases/test-login/06-user-login.http +0 -266
  108. package/morph-idm/TestCases/test-login/07-corporate-login.http +0 -282
  109. package/morph-idm/TestCases/test-login/README.md +0 -37
  110. package/morph-idm/TestCases/test-login/cleanup.js +0 -46
  111. package/morph-idm/TestCases/test-login/cleanup.sh +0 -20
  112. package/morph-idm/TestCases/test-login/run-setup.sh +0 -53
  113. package/morph-idm/TestCases/test-onefa-corporate/device-key.pem +0 -27
  114. package/morph-idm/TestCases/test-onefa-corporate/onefa-corporate-cert-management.http +0 -156
  115. package/morph-idm/TestCases/test-onefa-corporate/onefa-corporate-login-cert-token.http +0 -371
  116. package/morph-idm/TestCases/test-onefa-retail/onefa-retail-login-cert-token.http +0 -499
  117. package/morph-idm/TestCases/test-third-factor/.httpyac.json +0 -36
  118. package/morph-idm/TestCases/test-third-factor/lib/httpyac.sh +0 -35
  119. package/morph-idm/TestCases/test-third-factor/scenarios/0-clean-test-instance.js +0 -42
  120. package/morph-idm/TestCases/test-third-factor/scenarios/0-clean-test-instance.sh +0 -20
  121. package/morph-idm/TestCases/test-third-factor/scenarios/1-self-completed.sh +0 -25
  122. package/morph-idm/TestCases/test-third-factor/scenarios/2-native-without-device.sh +0 -34
  123. package/morph-idm/TestCases/test-third-factor/scenarios/3-native-wrong-otp.sh +0 -34
  124. package/morph-idm/TestCases/test-third-factor/scenarios/4-native-success-otp-after-wrong-otp.sh +0 -46
  125. package/morph-idm/TestCases/test-third-factor/scenarios/5-retry-count-exceed.sh +0 -37
  126. package/morph-idm/TestCases/test-third-factor/scenarios/http/06-third-factor-native-with-device.http +0 -56
  127. package/morph-idm/TestCases/test-third-factor/scenarios/http/07-third-factor-native-without-device.http +0 -91
  128. package/morph-idm/TestCases/test-third-factor/scenarios/http/08-third-factor-web-with-device.http +0 -117
  129. package/morph-idm/TestCases/test-third-factor/scenarios/http/09-third-factor-web-without-device.http +0 -164
  130. package/morph-idm/TestCases/test-third-factor/scenarios/run-third-factor-native-without-device-success-otp-after-resend.sh +0 -50
  131. package/morph-idm/TestCases/test-third-factor/scenarios/run-third-factor-native-without-device-success-otp-resend-after-timeout-otp.sh +0 -50
  132. package/morph-idm/TestCases/test-third-factor/scenarios/run-third-factor-native-without-device-timeout-otp.sh +0 -48
  133. package/morph-idm/TestCases/test-third-factor/setup/01-person.http +0 -157
  134. package/morph-idm/TestCases/test-third-factor/setup/02-user.http +0 -105
  135. package/morph-idm/TestCases/test-third-factor/setup/03-device.http +0 -70
  136. package/morph-idm/TestCases/test-third-factor/setup/04-native-client.http +0 -126
  137. package/morph-idm/TestCases/test-third-factor/setup/05-web-client.http +0 -126
  138. package/morph-idm/TestCases/test-third-factor/setup/cleanup.js +0 -51
  139. package/morph-idm/TestCases/test-third-factor/setup/cleanup.sh +0 -20
  140. package/morph-idm/TestCases/test-third-factor/setup/run-setup.sh +0 -34
  141. package/morph-idm/TestCases/token-mint-parity/RESULT.md +0 -48
  142. package/morph-idm/TestCases/token-sync-race.sh +0 -72
  143. package/morph-idm/TestCases/user-login-apisix.postman_collection.json +0 -1114
  144. package/morph-idm/TestCases/user-login-boweb-e2e.http +0 -123
  145. package/morph-idm/TestCases/user-login-e2e.http +0 -730
  146. package/morph-idm/TestCases/user-login-e2e.sh +0 -122
  147. package/morph-idm/Views/.gitkeep +0 -0
  148. package/morph-idm/Workflows/.gitkeep +0 -0
  149. package/morph-idm/Workflows/anti-phishing-image/anti-phishing-image-change/execute/anti-phishing-image.http +0 -370
  150. package/morph-idm/Workflows/anti-phishing-image/anti-phishing-image-definition/execute/anti-phishing-image-definition.http +0 -200
  151. package/morph-idm/Workflows/anti-phishing-image/anti-phishing-image-definition/execute/get-security-images.http +0 -51
  152. package/morph-idm/Workflows/approval/execute/approval-corporate-customers-non-amount.http +0 -159
  153. package/morph-idm/Workflows/approval/execute/approval-corporate-customers-time-deposit.http +0 -147
  154. package/morph-idm/Workflows/approval/execute/approval-human-task-mobile.http +0 -149
  155. package/morph-idm/Workflows/approval/execute/approval-limit-management.http +0 -277
  156. package/morph-idm/Workflows/approval/execute/approval-new-reject.http +0 -67
  157. package/morph-idm/Workflows/approval/execute/approval-new.http +0 -999
  158. package/morph-idm/Workflows/approval/execute/approval-super-authority.http +0 -158
  159. package/morph-idm/Workflows/approval-matrix/execute/approval-matrix-corporate-customers-non-amount.http +0 -70
  160. package/morph-idm/Workflows/approval-matrix/execute/approval-matrix-corporate-customers-time-deposit.http +0 -74
  161. package/morph-idm/Workflows/approval-matrix/execute/approval-matrix-migrate-position-levels.http +0 -295
  162. package/morph-idm/Workflows/approval-matrix/execute/approval-matrix-new-run.http +0 -296
  163. package/morph-idm/Workflows/approval-matrix/execute/approval-matrix-upsert-super-authorization.http +0 -129
  164. package/morph-idm/Workflows/cert/execute/cert-cn-length.http +0 -90
  165. package/morph-idm/Workflows/cert/execute/cert.http +0 -162
  166. package/morph-idm/Workflows/cert-management/execute/cert-management.http +0 -90
  167. package/morph-idm/Workflows/channel-contract/execute/channel-contract-approval.http +0 -246
  168. package/morph-idm/Workflows/client/execute/client-AmorphieClient.http +0 -118
  169. package/morph-idm/Workflows/client/execute/client-IbWeb-session-transfer.http +0 -35
  170. package/morph-idm/Workflows/client/execute/client-OpenBanking.http +0 -411
  171. package/morph-idm/Workflows/client/execute/client-Trade.http +0 -112
  172. package/morph-idm/Workflows/client/execute/client-source-app.http +0 -88
  173. package/morph-idm/Workflows/client/execute/client-update.http +0 -795
  174. package/morph-idm/Workflows/client/execute/client.http +0 -766
  175. package/morph-idm/Workflows/client/execute/vnext-target.http +0 -416
  176. package/morph-idm/Workflows/client-credentials/execute/client-credentials.http +0 -117
  177. package/morph-idm/Workflows/consent/execute/README.md +0 -145
  178. package/morph-idm/Workflows/consent/execute/consent-manual-activation.http +0 -135
  179. package/morph-idm/Workflows/consent/execute/create-consent.http +0 -801
  180. package/morph-idm/Workflows/consent-management/consent-management.http +0 -267
  181. package/morph-idm/Workflows/consent-selection/execute/consent-selection.http +0 -200
  182. package/morph-idm/Workflows/deblock-sim-card/execute/MOBIL-ENTEGRASYON-GOREVLERI.md +0 -339
  183. package/morph-idm/Workflows/deblock-sim-card/execute/TEST-SENARYOLARI.md +0 -202
  184. package/morph-idm/Workflows/deblock-sim-card/execute/approve-contract-documents.sh +0 -63
  185. package/morph-idm/Workflows/deblock-sim-card/execute/contract-debug.sh +0 -101
  186. package/morph-idm/Workflows/deblock-sim-card/execute/deblock-sim-card-workflow.http +0 -290
  187. package/morph-idm/Workflows/device-process/device/execute/device-android.http +0 -262
  188. package/morph-idm/Workflows/device-process/device/execute/device-huawei.http +0 -219
  189. package/morph-idm/Workflows/device-process/device/execute/device-ios.http +0 -319
  190. package/morph-idm/Workflows/device-process/device/execute/device-migration.http +0 -105
  191. package/morph-idm/Workflows/device-process/device/execute/device-web.http +0 -284
  192. package/morph-idm/Workflows/device-process/device/execute/device.http +0 -269
  193. package/morph-idm/Workflows/device-process/device/execute/search.http +0 -39
  194. package/morph-idm/Workflows/device-process/device-assign/execute/device-assign.http +0 -478
  195. package/morph-idm/Workflows/device-process/device-manager/execute/device-manager.http +0 -214
  196. package/morph-idm/Workflows/device-process/device-register/execute/device-register.http +0 -566
  197. package/morph-idm/Workflows/device-process/device-unpair/execute/device-unpair.http +0 -207
  198. package/morph-idm/Workflows/feature-management/database-variables/.gitkeep +0 -0
  199. package/morph-idm/Workflows/feature-management/database-variables/execute/database-variables-lifecycle.http +0 -225
  200. package/morph-idm/Workflows/feature-management/dcs-eval/execute/dcs-eval.http +0 -28
  201. package/morph-idm/Workflows/feature-management/dynamic-config/.gitkeep +0 -0
  202. package/morph-idm/Workflows/feature-management/dynamic-config/execute/dynamic-config-evaluate.http +0 -186
  203. package/morph-idm/Workflows/feature-management/dynamic-config/execute/dynamic-config-lifecycle.http +0 -263
  204. package/morph-idm/Workflows/feature-management/feature-flag/.gitkeep +0 -0
  205. package/morph-idm/Workflows/feature-management/feature-flag/execute/feature-flag-evaluate.http +0 -245
  206. package/morph-idm/Workflows/feature-management/feature-flag/execute/feature-flag-lifecycle.http +0 -246
  207. package/morph-idm/Workflows/feature-management/feature-flag/execute/feature-flag-ops.http +0 -116
  208. package/morph-idm/Workflows/feature-management/feature-flag/execute/feature-flag-reads.http +0 -47
  209. package/morph-idm/Workflows/fraud/execute/fraud-push.http +0 -1016
  210. package/morph-idm/Workflows/get-roles/execute/get-roles.http +0 -367
  211. package/morph-idm/Workflows/introspection/execute/introspection.http +0 -69
  212. package/morph-idm/Workflows/ivr/execute/ivr-check-password.http +0 -55
  213. package/morph-idm/Workflows/ivr/execute/ivr-check-user.http +0 -56
  214. package/morph-idm/Workflows/ivr/execute/ivr-create-agent-consent.http +0 -59
  215. package/morph-idm/Workflows/ivr/execute/ivr-get-agent-company.http +0 -30
  216. package/morph-idm/Workflows/ivr/execute/ivr-revoke-agent-consent.http +0 -30
  217. package/morph-idm/Workflows/ivr/execute/ivr-set-password.http +0 -87
  218. package/morph-idm/Workflows/notification/push-notification/execute/push-notification.http +0 -261
  219. package/morph-idm/Workflows/organization/execute/create-organization-yedek.http +0 -415
  220. package/morph-idm/Workflows/organization/execute/create-organization.http +0 -346
  221. package/morph-idm/Workflows/organization/execute/retail-organization.http +0 -161
  222. package/morph-idm/Workflows/otp-auth-code/execute/otp-auth-code.http +0 -743
  223. package/morph-idm/Workflows/person/execute/person-123.http +0 -149
  224. package/morph-idm/Workflows/person/execute/person-migration.http +0 -143
  225. package/morph-idm/Workflows/person/execute/person.http +0 -149
  226. package/morph-idm/Workflows/person/firm-cdc-dispatch/execute/person-firm-cdc-dispatch.http +0 -266
  227. package/morph-idm/Workflows/remember-password/execute/remember-password.http +0 -203
  228. package/morph-idm/Workflows/role/execute/role.http +0 -142
  229. package/morph-idm/Workflows/scope/execute/scope-24-7-access.http +0 -131
  230. package/morph-idm/Workflows/scope/execute/scope-business-hours.http +0 -138
  231. package/morph-idm/Workflows/scope/execute/scope-corporate.http +0 -165
  232. package/morph-idm/Workflows/scope/execute/scope-individual-1234567890-1234567890.http +0 -132
  233. package/morph-idm/Workflows/scope/execute/scope-lifecycle-test.http +0 -133
  234. package/morph-idm/Workflows/scope/execute/scope-multi-systems.http +0 -159
  235. package/morph-idm/Workflows/scope/execute/scope-openbanking-account.http +0 -134
  236. package/morph-idm/Workflows/scope/execute/scope-openbanking-login.http +0 -135
  237. package/morph-idm/Workflows/scope/execute/scope-openbanking-payment.http +0 -134
  238. package/morph-idm/Workflows/scope/execute/scope-restricted.http +0 -143
  239. package/morph-idm/Workflows/scope-group/execute/create-scope-group.http +0 -224
  240. package/morph-idm/Workflows/security-check/execute/security-check-test.http +0 -88
  241. package/morph-idm/Workflows/security-check-test/execute/security-check-test.http +0 -51
  242. package/morph-idm/Workflows/security-question/security-question-change/execute/security-question-change.http +0 -324
  243. package/morph-idm/Workflows/security-question/security-question-definition/execute/security-question-definition.http +0 -372
  244. package/morph-idm/Workflows/security-question/security-question-reset/execute/security-question-reset.http +0 -97
  245. package/morph-idm/Workflows/shield-decrypt/execute/shield-decrypt.http +0 -77
  246. package/morph-idm/Workflows/shield-encrypt/execute/shield-encrypt.http +0 -80
  247. package/morph-idm/Workflows/shield-sign/execute/shield-sign.http +0 -79
  248. package/morph-idm/Workflows/shield-verify-request-signature/execute/generate-request-signature.js +0 -54
  249. package/morph-idm/Workflows/shield-verify-request-signature/execute/shield-verify-request-signature.http +0 -135
  250. package/morph-idm/Workflows/shield-verify-signature/execute/shield-verify-signature.http +0 -108
  251. package/morph-idm/Workflows/sim-block/sim-block-backoffice/execute/sim-block-backoffice.http +0 -183
  252. package/morph-idm/Workflows/simple-subflow/execute/simple-subflow.http +0 -50
  253. package/morph-idm/Workflows/sso/authorize/execute/authorize.http +0 -160
  254. package/morph-idm/Workflows/sso/authorize-route/execute/authorize-route.http +0 -169
  255. package/morph-idm/Workflows/sso/pre-login/execute/pre-login.http +0 -273
  256. package/morph-idm/Workflows/sso/token-direct/execute/token-direct.http +0 -272
  257. package/morph-idm/Workflows/sso/token-route/execute/token-route.http +0 -207
  258. package/morph-idm/Workflows/sso-flow/execute/sso-flow-auth-code.http +0 -89
  259. package/morph-idm/Workflows/sso-flow/execute/sso-flow-login.http +0 -163
  260. package/morph-idm/Workflows/sso-flow/execute/sso-flow-test-base.http +0 -178
  261. package/morph-idm/Workflows/test-consent-selection/execute/test-consent-selection.http +0 -68
  262. package/morph-idm/Workflows/test-consent-selection/execute/test-flow-with-sub.http +0 -50
  263. package/morph-idm/Workflows/test-consent-selection/execute/test-flow.http +0 -140
  264. package/morph-idm/Workflows/test-consent-selection/execute/test-sync-subprocess.http +0 -63
  265. package/morph-idm/Workflows/test-consent-selection/execute/test-user-validation.http +0 -126
  266. package/morph-idm/Workflows/third-factor/execute/third-factor.http +0 -183
  267. package/morph-idm/Workflows/third-factor-main/execute/execute/third-factor-main.http +0 -229
  268. package/morph-idm/Workflows/token-process/session/execute/session.http +0 -361
  269. package/morph-idm/Workflows/token-process/session-revoke-others/execute/session-revoke-others.http +0 -94
  270. package/morph-idm/Workflows/token-process/token/execute/README.md +0 -454
  271. package/morph-idm/Workflows/token-process/token/execute/device-key.pem +0 -27
  272. package/morph-idm/Workflows/token-process/token/execute/generate-onefa-assertion.js +0 -47
  273. package/morph-idm/Workflows/token-process/token/execute/onefa-token.http +0 -285
  274. package/morph-idm/Workflows/token-process/token/execute/setup-roles-for-token-claims.http +0 -425
  275. package/morph-idm/Workflows/token-process/token/execute/token-sync-race.http +0 -49
  276. package/morph-idm/Workflows/token-process/token/execute/token.http +0 -676
  277. package/morph-idm/Workflows/token-process/token-password-grant/execute/token-password-grant.http +0 -163
  278. package/morph-idm/Workflows/transaction-limit/cascade-approve-daily/execute/transaction-limit-cascade-approve-daily.http +0 -125
  279. package/morph-idm/Workflows/transaction-limit/cascade-approve-transaction/execute/transaction-limit-cascade-approve-transaction.http +0 -120
  280. package/morph-idm/Workflows/transaction-limit/cascade-daily/execute/transaction-limit-cascade-daily.http +0 -198
  281. package/morph-idm/Workflows/transaction-limit/cascade-transaction/execute/transaction-limit-cascade.http +0 -173
  282. package/morph-idm/Workflows/transaction-limit/definition/execute/transaction-limit-definition.http +0 -867
  283. package/morph-idm/Workflows/transaction-limit/definition-passivate/execute/transaction-limit-definition-passivate.http +0 -224
  284. package/morph-idm/Workflows/transaction-limit/definition-verify/execute/transaction-limit-definition-verify.http +0 -102
  285. package/morph-idm/Workflows/transaction-limit/execute/seed-corporate-customers-limits.sh +0 -178
  286. package/morph-idm/Workflows/transaction-limit/execute/transaction-limit-management.http +0 -984
  287. package/morph-idm/Workflows/transaction-limit/remaining/execute/transaction-limit-remaining.http +0 -103
  288. package/morph-idm/Workflows/transaction-limit/resolve/execute/transaction-limit-resolve.http +0 -96
  289. package/morph-idm/Workflows/transaction-limit/scope-bank-limit/execute/transaction-limit-scope-bank-limit.http +0 -84
  290. package/morph-idm/Workflows/transaction-limit/user-bank-limits/execute/transaction-limit-user-bank-limits.http +0 -87
  291. package/morph-idm/Workflows/transaction-limit/verify/execute/transaction-limit-verify.http +0 -212
  292. package/morph-idm/Workflows/user/create/execute/user-create-corporate.http +0 -51
  293. package/morph-idm/Workflows/user/create/execute/user-create.http +0 -135
  294. package/morph-idm/Workflows/user/get-users-by-scope/execute/get-users-by-scope.http +0 -210
  295. package/morph-idm/Workflows/user-corporate/firm-query/execute/firm-query.http +0 -87
  296. package/morph-idm/Workflows/user-corporate/onboard-dispatch/execute/user-corporate-onboard-dispatch.http +0 -105
  297. package/morph-idm/Workflows/user-corporate/provision/execute/user-corporate-provision.http +0 -631
  298. package/morph-idm/Workflows/user-corporate/provision/user-corporate-provision.flowchart.drawio +0 -88
  299. package/morph-idm/Workflows/user-corporate/remove/execute/user-corporate-remove.http +0 -152
  300. package/morph-idm/Workflows/user-corporate/rollback/execute/user-corporate-rollback.http +0 -97
  301. package/morph-idm/Workflows/user-corporate/update-provision/execute/user-corporate-update-provision.http +0 -449
  302. package/morph-idm/Workflows/user-corporate/user-corporate-create/execute/user-corporate-create.http +0 -173
  303. package/morph-idm/Workflows/user-corporate/user-corporate-update/execute/user-corporate-update.http +0 -117
  304. package/morph-idm/Workflows/user-login/execute/README-LOGIN.md +0 -535
  305. package/morph-idm/Workflows/user-login/execute/user-login-comprehensive-coverage.http +0 -1761
  306. package/morph-idm/Workflows/user-login/execute/user-login-device-assign.http +0 -497
  307. package/morph-idm/Workflows/user-login/execute/user-login.http +0 -910
  308. package/morph-idm/Workflows/user-login-approvement/execute/login-notification-otp.http +0 -86
  309. package/morph-idm/Workflows/user-login-approvement/execute/login-notification-push.http +0 -82
  310. package/morph-idm/Workflows/user-login-approvement/execute/login-notification-registered-device.http +0 -111
  311. package/morph-idm/Workflows/user-login-approvement/execute/user-login-approvement-comprehensive.http +0 -1267
  312. package/morph-idm/Workflows/user-management/execute/user-management.http +0 -284
  313. package/morph-idm/Workflows/user-note/execute/user-note-backoffice.http +0 -290
  314. package/morph-idm/Workflows/user-otp-setting/execute/user-otp-setting-backoffice.http +0 -128
  315. package/morph-idm/Workflows/user-password-process/user-change-password/execute/user-change-password.http +0 -576
  316. package/morph-idm/Workflows/user-password-process/user-password/execute/user-password.http +0 -58
  317. package/morph-idm/Workflows/user-password-process/user-password-force-change/execute/user-password-force-change.http +0 -31
  318. package/morph-idm/Workflows/user-password-process/user-password-reset/execute/user-password-reset.http +0 -213
  319. package/morph-idm/Workflows/user-status/user-status-change/execute/user-status-change.http +0 -124
  320. package/morph-idm/Workflows/user-status/user-status-change-backoffice/execute/user-status-change-backoffice.http +0 -197
  321. package/morph-idm/Workflows/user-validation/execute/user-validation-standalone.http +0 -331
  322. package/morph-idm/Workflows/user-validation/execute/user-validation.http +0 -696
  323. package/morph-idm/Workflows/zeebe-approval/execute/zeebe-approval-corporate-customers-non-amount.http +0 -195
  324. package/morph-idm/Workflows/zeebe-approval/execute/zeebe-approval-new.http +0 -275
@@ -1,576 +0,0 @@
1
- ### Variables
2
- @workflow = user-change-password
3
- @testUserKey = 57781544056
4
- @personKey = person-change-pwd-test-24
5
- @apiBaseUrl = https://test-morph-idm-api.burgan.com.tr
6
-
7
- ### ---- Ortam (tek satırdan değiştir) ----
8
- # {{baseUrl}} = lokal (http://localhost:4251)
9
- # {{baseUrl1}} = TEST (https://test-vnext-morph-idm.apps.nonprod.ebt.bank)
10
- @env = {{baseUrl1}}
11
- # Lokale dönmek için: @env = {{baseUrl}}
12
-
13
- # KİMLİK: userKey body'deki "key"den DEĞİL, start isteğinin token-claim
14
- # header'larından çözülür (src/ResolveUserKeyMapping.csx):
15
- # bireysel : act_sub == sub → userKey = act_sub
16
- # kurumsal : act_sub != sub → userKey = act_sub-sub
17
- # Header'lar YALNIZ start isteğinde okunur; submit/approve'da gerekmez.
18
- # İkisinden biri eksikse mapping throw eder, instance fault olur.
19
- @act_sub = {{testUserKey}}
20
- @sub = {{testUserKey}}
21
- # Kurumsal denemek için: @sub = 20183007 → userKey = 57781544056-20183007
22
-
23
-
24
- ###############################################################################
25
- # SETUP - Test kullanıcısı oluştur (bilinen şifreyle)
26
- ###############################################################################
27
-
28
- ### S1. FIXTURE: başlangıç şifresi hash'i (morph-idm-api). NOT: akışın check-password state'i artık API'ye gitmez;
29
- ### kontrol zinciri (eski şifre, tekrar, kurallar, son 5 geçmiş) ve yeni Argon2id hash vNext içinde PasswordHelper ile çalışır.
30
- ### Bu adım yalnız SETUP kaydını hazırlar; alternatif: user-password-reset akışıyla fixture üretilebilir.
31
- # pin:1 + length:6 → plaintext "000001", gerçek PBKDF2 hash döner
32
- # @name generatePassword
33
- POST {{apiBaseUrl}}/api/User/password/generate
34
- Content-Type: application/json
35
-
36
- {
37
- "pin": 1,
38
- "length": 6
39
- }
40
-
41
- ###
42
- @initialPassword = {{generatePassword.response.body.password}}
43
- @initialPasswordId = {{generatePassword.response.body.salt}}
44
- @initialPasswordHash = {{generatePassword.response.body.hashedPassword}}
45
-
46
- ### S2. Person oluştur (kullanıcı için zorunlu)
47
- # @name createPerson
48
- POST {{env}}/api/{{apiVersion}}/{{domain}}/workflows/person/instances/start?sync=true
49
- Accept-Language: tr-TR
50
- X-Request-Id: {{$guid}}
51
- Content-Type: application/json
52
-
53
- {
54
- "key": "{{personKey}}",
55
- "tags": ["test", "change-password"],
56
- "attributes": {
57
- "personType": "retail-customers",
58
- "name": { "first": "Change", "last": "Test" }
59
- }
60
- }
61
-
62
- ### S3. User oluştur (person'a bağlı). NOT: şifre BURAYA yazılmaz; şifre kaydı
63
- ### ayrı bir instance'tır (user-password), S3b'de yazılıyor.
64
- # @name createUser
65
- POST {{env}}/api/{{apiVersion}}/{{domain}}/workflows/user/instances/start?sync=true
66
- Accept-Language: tr-TR
67
- X-Request-Id: {{$guid}}
68
- Content-Type: application/json
69
-
70
- {
71
- "key": "{{testUserKey}}",
72
- "tags": ["test", "change-password"],
73
- "attributes": {
74
- "type": "person",
75
- "person": {
76
- "domain": "morph-idm",
77
- "workflow": "person",
78
- "key": "{{personKey}}",
79
- "version": "1.0.0"
80
- }
81
- }
82
- }
83
-
84
- ###
85
- @userInstanceId = {{createUser.response.body.id}}
86
- ### Şifre kaydının holder key'i = {userKey}-{userInstanceId}
87
- @holderKey = {{testUserKey}}-{{userInstanceId}}
88
-
89
- ### S3b. S1'de üretilen şifreyi user-password kaydına yaz.
90
- ### Bu adım olmadan oldPassword hiçbir şeyle eşleşmez (hep invalid_old_password alırsın).
91
- POST {{env}}/api/{{apiVersion}}/{{domain}}/workflows/user-password-set/instances/start?sync=true
92
- Accept-Language: tr-TR
93
- X-Request-Id: {{$guid}}
94
- Content-Type: application/json
95
-
96
- {
97
- "key": "{{holderKey}}",
98
- "tags": ["test", "seed", "password"],
99
- "attributes": {
100
- "source": "initial",
101
- "passwordEntry": {
102
- "type": "Password",
103
- "salt": "{{initialPasswordId}}",
104
- "mustResetPassword": false,
105
- "failCount": 0,
106
- "source": {
107
- "password": "{{initialPasswordHash}}",
108
- "algorithm": "pbkdf2-hmacsha256",
109
- "lastUpdatedDate": "{{$datetime iso8601}}"
110
- }
111
- }
112
- }
113
- }
114
-
115
- ### S4. User state kontrol (active olmalı)
116
- GET {{env}}/api/{{apiVersion}}/{{domain}}/workflows/user/instances/{{userInstanceId}}/functions/state
117
- Accept-Language: tr-TR
118
- X-Request-Id: {{$guid}}
119
-
120
- ### S5. Şifre kaydı kontrol (user-password-set "completed" olmalı)
121
- GET {{env}}/api/{{apiVersion}}/{{domain}}/workflows/user-password-set/instances/{{holderKey}}/functions/state
122
- Accept-Language: tr-TR
123
- X-Request-Id: {{$guid}}
124
-
125
- ###############################################################################
126
- # HAPPY PATH - Şifre değiştirme başarılı
127
- # oldPassword: "{{initialPassword}}" (S1'de üretildi, "000001")
128
- # newPassword: "481627"
129
- ###############################################################################
130
-
131
- ### 1. Workflow'u boş body ile başlat (draft -> get-user -> password-form otomatik akar)
132
- # @name startInstance
133
- # userKey artık body/key'den DEĞİL, token-claim header'larından türetiliyor (act_sub/sub).
134
- # Bireysel: act_sub == sub → userKey = act_sub. Kurumsal: act_sub != sub → userKey = act_sub-sub.
135
- POST {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
136
- Accept-Language: tr-TR
137
- X-Request-Id: {{$guid}}
138
- act_sub: {{act_sub}}
139
- sub: {{sub}}
140
- Content-Type: application/json
141
-
142
- {
143
- "key": "{{testUserKey}}",
144
- "tags": ["test", "change-password"],
145
- "attributes": {}
146
- }
147
-
148
- ###
149
- @instanceId = {{startInstance.response.body.id}}
150
-
151
- ### 1b. State kontrol (password-form beklenir; draft/get-user görürsen 1-2 sn sonra tekrar çek)
152
- GET {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/state
153
- Accept-Language: tr-TR
154
- X-Request-Id: {{$guid}}
155
-
156
- ### 1c. Şifre bilgilerini gönder (password-form -> update-password-confirm)
157
- PATCH {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/submit?sync=true
158
- Accept-Language: tr-TR
159
- X-Request-Id: {{$guid}}
160
- Content-Type: application/json
161
-
162
- {
163
- "attributes": {
164
- "oldPassword": "{{initialPassword}}",
165
- "newPassword": "481627",
166
- "newPasswordConfirm": "481627"
167
- }
168
- }
169
-
170
- ### 2. State kontrol (update-password-confirm state'inde beklemeli)
171
- GET {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/state
172
- Accept-Language: tr-TR
173
- X-Request-Id: {{$guid}}
174
-
175
- ### 2b. Instance data kontrol — get-user adımının çalıştığını doğrula
176
- # Beklenen: userKey={{testUserKey}} (tire-sub YOK → bireysel), userFound=true, userInstanceId dolu
177
- GET {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/data
178
- Accept-Language: tr-TR
179
- X-Request-Id: {{$guid}}
180
-
181
- ### 3. Onayla → check-password → third-factor → update-password otomatik çalışır
182
- PATCH {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/approve
183
- Accept-Language: tr-TR
184
- X-Request-Id: {{$guid}}
185
- Content-Type: application/json
186
-
187
- {}
188
-
189
- ### 4. Final state kontrol (success-end olmalı)
190
- GET {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/state
191
- Accept-Language: tr-TR
192
- X-Request-Id: {{$guid}}
193
-
194
- ### 5. Şifre gerçekten değişti mi — holder kaydına bak (lastUpdatedDate güncel olmalı)
195
- GET {{env}}/api/{{apiVersion}}/{{domain}}/workflows/user-password/instances/{{holderKey}}/functions/data
196
- Accept-Language: tr-TR
197
- X-Request-Id: {{$guid}}
198
-
199
- ###############################################################################
200
- # HATA YOLU - Yanlış eski şifre → error-popup → retry
201
- ###############################################################################
202
-
203
- ### 1b. Boş body ile yeni workflow başlat (password-form'a kadar otomatik akar)
204
- # @name startErrorInstance
205
- # Kimlik header'lardan gelir; aşağıdaki "key" sadece instance adıdır.
206
- POST {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
207
- Accept-Language: tr-TR
208
- X-Request-Id: {{$guid}}
209
- act_sub: {{act_sub}}
210
- sub: {{sub}}
211
- Content-Type: application/json
212
-
213
- {
214
- "key": "change-pwd-test-21-{{$timestamp}}",
215
- "tags": ["test", "change-password", "error"],
216
- "attributes": {}
217
- }
218
-
219
- ###
220
- @errorInstanceId = {{startErrorInstance.response.body.id}}
221
-
222
- ### 1b-2. Yanlış eski şifreyle gönder
223
- PATCH {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{errorInstanceId}}/transitions/submit?sync=true
224
- Accept-Language: tr-TR
225
- X-Request-Id: {{$guid}}
226
- Content-Type: application/json
227
-
228
- {
229
- "attributes": {
230
- "oldPassword": "000000",
231
- "newPassword": "481627",
232
- "newPasswordConfirm": "481627"
233
- }
234
- }
235
-
236
- ### 2b. Onayla → check-password başarısız olur → error-popup state
237
- PATCH {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{errorInstanceId}}/transitions/approve?sync=true
238
- Accept-Language: tr-TR
239
- X-Request-Id: {{$guid}}
240
- Content-Type: application/json
241
-
242
- {}
243
-
244
- ### 3b. State kontrol (error-popup olmalı)
245
- GET {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{errorInstanceId}}/functions/state
246
- Accept-Language: tr-TR
247
- X-Request-Id: {{$guid}}
248
-
249
- ### 4b. error-popup'tan TEK çıkış: retry-confirmation → password-form
250
- ### (NOT: "error-popup-cancel" diye bir transition yoktur)
251
- PATCH {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{errorInstanceId}}/transitions/retry-confirmation?sync=true
252
- Accept-Language: tr-TR
253
- X-Request-Id: {{$guid}}
254
- Content-Type: application/json
255
-
256
- {}
257
-
258
- ### 4b-2. password-form'a döndü: bu kez DOĞRU eski şifreyle gönder
259
- PATCH {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{errorInstanceId}}/transitions/submit?sync=true
260
- Accept-Language: tr-TR
261
- X-Request-Id: {{$guid}}
262
- Content-Type: application/json
263
-
264
- {
265
- "attributes": {
266
- "oldPassword": "{{initialPassword}}",
267
- "newPassword": "481627",
268
- "newPasswordConfirm": "481627"
269
- }
270
- }
271
-
272
- ### 5b. Tekrar onayla → success-end
273
- PATCH {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{errorInstanceId}}/transitions/approve
274
- Accept-Language: tr-TR
275
- X-Request-Id: {{$guid}}
276
- Content-Type: application/json
277
-
278
- {}
279
-
280
- ###############################################################################
281
- # ONAY EKRANINDAN GERİ DÖNÜŞ (confirmation-cancel)
282
- # NOT: Bu akışta "cancel" transition'ı ve "cancelled-end" state'i YOKTUR.
283
- # update-password-confirm → confirmation-cancel → password-form (akış sürer).
284
- ###############################################################################
285
-
286
- ### 1c. Boş body ile başlat (password-form'a kadar otomatik akar)
287
- # @name startCancelInstance
288
- POST {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
289
- Accept-Language: tr-TR
290
- X-Request-Id: {{$guid}}
291
- act_sub: {{act_sub}}
292
- sub: {{sub}}
293
- Content-Type: application/json
294
-
295
- {
296
- "key": "change-pwd-cancel-test-{{$timestamp}}",
297
- "tags": ["test", "change-password", "cancel"],
298
- "attributes": {}
299
- }
300
-
301
- ###
302
- @cancelInstanceId = {{startCancelInstance.response.body.id}}
303
-
304
- ### 1c-2. Şifre bilgilerini gönder (-> update-password-confirm)
305
- PATCH {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{cancelInstanceId}}/transitions/submit?sync=true
306
- Accept-Language: tr-TR
307
- X-Request-Id: {{$guid}}
308
- Content-Type: application/json
309
-
310
- {
311
- "attributes": {
312
- "oldPassword": "{{initialPassword}}",
313
- "newPassword": "481627",
314
- "newPasswordConfirm": "481627"
315
- }
316
- }
317
-
318
- ### 2c. Vazgeç → password-form'a geri döner
319
- PATCH {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{cancelInstanceId}}/transitions/confirmation-cancel?sync=true
320
- Accept-Language: tr-TR
321
- X-Request-Id: {{$guid}}
322
- Content-Type: application/json
323
-
324
- {}
325
-
326
- ### 3c. State kontrol (password-form olmalı)
327
- GET {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{cancelInstanceId}}/functions/state
328
- Accept-Language: tr-TR
329
- X-Request-Id: {{$guid}}
330
-
331
- ###############################################################################
332
- # KULLANICI BULUNAMADI YOLU - Olmayan kimlik → user-not-found-end
333
- # Kimlik header'lardan gelir: aşağıdaki act_sub/sub ile eşleşen active user yok.
334
- # Sayısal (TCKN benzeri) kimlik kullan; çok uzun key'lerde runtime start'a 500 dönüyor.
335
- ###############################################################################
336
-
337
- ### 1d. Boş body ile başlat → get-user kullanıcıyı bulamaz
338
- # @name startNotFoundInstance
339
- POST {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
340
- Accept-Language: tr-TR
341
- X-Request-Id: {{$guid}}
342
- act_sub: 99988877766
343
- sub: 99988877766
344
- Content-Type: application/json
345
-
346
- {
347
- "key": "olmayan-kullanici-{{$timestamp}}",
348
- "tags": ["test", "change-password", "not-found"],
349
- "attributes": {}
350
- }
351
-
352
- ###
353
- @notFoundInstanceId = {{startNotFoundInstance.response.body.id}}
354
-
355
- ### NOT: Bu yolda password-form'a hiç gelinmez, akış get-user'dan doğrudan
356
- ### user-not-found-end'e düşer. Bu yüzden submit atılmaz.
357
-
358
- ### 2d. State kontrol (user-not-found-end olmalı)
359
- GET {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{notFoundInstanceId}}/functions/state
360
- Accept-Language: tr-TR
361
- X-Request-Id: {{$guid}}
362
-
363
- ### 3d. Instance data kontrol (userFound=false olmalı)
364
- GET {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{notFoundInstanceId}}/functions/data
365
- Accept-Language: tr-TR
366
- X-Request-Id: {{$guid}}
367
-
368
- ###############################################################################
369
- # ŞİFRE UYUŞMAZLIĞI YOLU - newPassword ≠ newPasswordConfirm → error-popup
370
- ###############################################################################
371
-
372
- ### 1e. Boş body ile başlat (password-form'a kadar otomatik akar)
373
- # @name startMismatchInstance
374
- POST {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
375
- Accept-Language: tr-TR
376
- X-Request-Id: {{$guid}}
377
- act_sub: {{act_sub}}
378
- sub: {{sub}}
379
- Content-Type: application/json
380
-
381
- {
382
- "key": "chg-pwd-mismatch-{{$timestamp}}",
383
- "tags": ["test", "change-password", "mismatch"],
384
- "attributes": {}
385
- }
386
-
387
- ###
388
- @mismatchInstanceId = {{startMismatchInstance.response.body.id}}
389
-
390
- ### 1e-2. Onay şifresi uyuşmuyor
391
- PATCH {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{mismatchInstanceId}}/transitions/submit?sync=true
392
- Accept-Language: tr-TR
393
- X-Request-Id: {{$guid}}
394
- Content-Type: application/json
395
-
396
- {
397
- "attributes": {
398
- "oldPassword": "{{initialPassword}}",
399
- "newPassword": "481627",
400
- "newPasswordConfirm": "999999"
401
- }
402
- }
403
-
404
- ### 2e. Onayla → check-password fail olur → error-popup
405
- PATCH {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{mismatchInstanceId}}/transitions/approve?sync=true
406
- Accept-Language: tr-TR
407
- X-Request-Id: {{$guid}}
408
- Content-Type: application/json
409
-
410
- {}
411
-
412
- ### 3e. State kontrol (error-popup olmalı)
413
- GET {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{mismatchInstanceId}}/functions/state
414
- Accept-Language: tr-TR
415
- X-Request-Id: {{$guid}}
416
-
417
- ### 4e. Data kontrol (checkPasswordSuccess=false, checkPasswordError dolu olmalı)
418
- GET {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{mismatchInstanceId}}/functions/data
419
- Accept-Language: tr-TR
420
- X-Request-Id: {{$guid}}
421
-
422
- ###############################################################################
423
- # AYNI ŞİFRE YOLU - Eski şifreyle aynı yeni şifre → error-popup
424
- ###############################################################################
425
-
426
- ### 1f. Boş body ile başlat (password-form'a kadar otomatik akar)
427
- # @name startSamePasswordInstance
428
- POST {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
429
- Accept-Language: tr-TR
430
- X-Request-Id: {{$guid}}
431
- act_sub: {{act_sub}}
432
- sub: {{sub}}
433
- Content-Type: application/json
434
-
435
- {
436
- "key": "chg-pwd-same-{{$timestamp}}",
437
- "tags": ["test", "change-password", "same-password"],
438
- "attributes": {}
439
- }
440
-
441
- ###
442
- @samePasswordInstanceId = {{startSamePasswordInstance.response.body.id}}
443
-
444
- ### 1f-2. Yeni şifre eski şifreyle aynı
445
- PATCH {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{samePasswordInstanceId}}/transitions/submit?sync=true
446
- Accept-Language: tr-TR
447
- X-Request-Id: {{$guid}}
448
- Content-Type: application/json
449
-
450
- {
451
- "attributes": {
452
- "oldPassword": "{{initialPassword}}",
453
- "newPassword": "{{initialPassword}}",
454
- "newPasswordConfirm": "{{initialPassword}}"
455
- }
456
- }
457
-
458
- ### 2f. Onayla → check-password fail olur → error-popup
459
- PATCH {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{samePasswordInstanceId}}/transitions/approve?sync=true
460
- Accept-Language: tr-TR
461
- X-Request-Id: {{$guid}}
462
- Content-Type: application/json
463
-
464
- {}
465
-
466
- ### 3f. State kontrol (error-popup olmalı)
467
- GET {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{samePasswordInstanceId}}/functions/state
468
- Accept-Language: tr-TR
469
- X-Request-Id: {{$guid}}
470
-
471
- ### 4f. Data kontrol (checkPasswordSuccess=false, checkPasswordError dolu olmalı)
472
- GET {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{samePasswordInstanceId}}/functions/data
473
- Accept-Language: tr-TR
474
- X-Request-Id: {{$guid}}
475
-
476
- ###############################################################################
477
- # ESKİ ŞİFRESİ BİLİNEN KULLANICI İLE ŞİFRE DEĞİŞTİRME
478
- #
479
- # SETUP gerekmez — hazır (ör. TEST ortamındaki) bir kullanıcıyla doğrudan koşar.
480
- # Tek şart: kullanıcının user instance'ı "active" olmalı ve DÜZ şifresini biliyor
481
- # olmalısın (hash'ten geri dönülemez).
482
- #
483
- # Aşağıdaki 3 değişkeni doldurup G1 → G5 arasını sırayla koş.
484
- ###############################################################################
485
-
486
- # TEST ortamında hazır bekleyen kullanıcı (doğrulandı 2026-11-11):
487
- # user instance : 157f77cf-54ce-41ca-8539-4aaf1afa6c88 (state: active)
488
- # holder key : 660151test-157f77cf-54ce-41ca-8539-4aaf1afa6c88 (algorithm: argon2id)
489
- # şifre geçmişi : 123456 → 482915 → 517384 (güncel: 517384)
490
- @knownUserKey = 660151test
491
- @knownOldPassword = 517384
492
- @knownNewPassword = 529174
493
- # Yeni şifre kuralları: 6 hane, sadece rakam, 3 aynı rakam yok, artan/azalan dizi yok,
494
- # ABABAB / ABCABC / AABBCC yok, doğum tarihi (ddMMyy) olamaz, SON 5 ŞİFREDEN BİRİ OLAMAZ.
495
- # Bu kullanıcı için 123456 / 482915 / 517384 artık KULLANILAMAZ (geçmişte var).
496
- # Güvenli örnekler: 529174, 713958, 815926, 481627
497
- # Her başarılı koşudan sonra @knownOldPassword'ü yeni şifreyle güncelle.
498
-
499
- ### G0. (opsiyonel) Kullanıcı hazır mı — active instance var mı, id'si ne?
500
- # items boş dönerse akış user-not-found-end'e düşer.
501
- GET {{env}}/api/{{apiVersion}}/{{domain}}/workflows/user/instances?pageSize=1&filter={"and":[{"key":{"eq":"{{knownUserKey}}"}},{"status":{"eq":"A"}}]}
502
- Accept-Language: tr-TR
503
- X-Request-Id: {{$guid}}
504
-
505
- ### G0b. (opsiyonel) Şifre kaydı var mı — holder key = {{knownUserKey}}-{G0'daki id}
506
- # Kayıt yoksa oldPassword hiçbir şeyle eşleşmez (hep invalid_old_password).
507
- @knownHolderKey = {{knownUserKey}}-157f77cf-54ce-41ca-8539-4aaf1afa6c88
508
- GET {{env}}/api/{{apiVersion}}/{{domain}}/workflows/user-password/instances?pageSize=1&filter={"and":[{"key":{"eq":"{{knownHolderKey}}"}},{"status":{"eq":"A"}}]}
509
- Accept-Language: tr-TR
510
- X-Request-Id: {{$guid}}
511
-
512
- ### G1. Start — BİREYSEL: act_sub == sub == kullanıcının TCKN'si
513
- # @name knownStart
514
- POST {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
515
- Accept-Language: tr-TR
516
- X-Request-Id: {{$guid}}
517
- act_sub: {{knownUserKey}}
518
- sub: {{knownUserKey}}
519
- Content-Type: application/json
520
-
521
- {
522
- "key": "chg-pwd-known-{{$timestamp}}",
523
- "tags": ["test", "change-password", "bireysel"],
524
- "attributes": {}
525
- }
526
-
527
- ###
528
- @knownInstanceId = {{knownStart.response.body.id}}
529
-
530
- ### G2. State — "password-form" beklenir
531
- GET {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{knownInstanceId}}/functions/state
532
- Accept-Language: tr-TR
533
- X-Request-Id: {{$guid}}
534
-
535
- ### G3. Submit — bilinen eski şifre + yeni şifre (-> update-password-confirm)
536
- PATCH {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{knownInstanceId}}/transitions/submit?sync=true
537
- Accept-Language: tr-TR
538
- X-Request-Id: {{$guid}}
539
- Content-Type: application/json
540
-
541
- {
542
- "attributes": {
543
- "oldPassword": "{{knownOldPassword}}",
544
- "newPassword": "{{knownNewPassword}}",
545
- "newPasswordConfirm": "{{knownNewPassword}}"
546
- }
547
- }
548
-
549
- ### G4. Approve — 202 döner (asenkron); check-password → third-factor → update-password
550
- PATCH {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{knownInstanceId}}/transitions/approve
551
- Accept-Language: tr-TR
552
- X-Request-Id: {{$guid}}
553
- Content-Type: application/json
554
-
555
- {}
556
-
557
- ### G5. State — "success-end" beklenir (birkaç saniye sürebilir, tekrar çek)
558
- GET {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{knownInstanceId}}/functions/state
559
- Accept-Language: tr-TR
560
- X-Request-Id: {{$guid}}
561
-
562
- ### G6. Data — doğrulama
563
- # userKey = {{knownUserKey}} (tire-sub YOK → bireysel), userFound=true,
564
- # checkPasswordSuccess=true, savePasswordSuccess=true
565
- # Hata durumunda: state=error-popup, checkPasswordError.errorCode (ör. invalid_old_password)
566
- GET {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{knownInstanceId}}/functions/data
567
- Accept-Language: tr-TR
568
- X-Request-Id: {{$guid}}
569
-
570
- ### G7. Hata aldıysan: error-popup'tan tek çıkış — password-form'a dön, G3'ü tekrar koş
571
- PATCH {{env}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{knownInstanceId}}/transitions/retry-confirmation?sync=true
572
- Accept-Language: tr-TR
573
- X-Request-Id: {{$guid}}
574
- Content-Type: application/json
575
-
576
- {}
@@ -1,58 +0,0 @@
1
-
2
- @apiVersion = v1
3
- @domain = morph-idm
4
- @workflow = user-password
5
- # userKey = TCKN (the user-password flow is keyed by user)
6
- @userKey = user-test-3
7
- @instanceKey = {{userKey}}
8
-
9
- ### Step 1: Start a user-password instance (records ONE password entry).
10
- # Normally started as a SubProcess by user-change-password / user-password-reset
11
- # via the call-user-password-flow task. This demonstrates the same start body directly.
12
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
13
- Content-Type: application/json
14
-
15
- {
16
- "key": "{{instanceKey}}",
17
- "tags": ["test", "user-password"],
18
- "attributes": {
19
- "passwordEntry": {
20
- "type": "Password",
21
- "salt": "pwd-001",
22
- "mustResetPassword": false,
23
- "failCount": 0,
24
- "source": {
25
- "password": "hashed-value-here",
26
- "algorithm": "pbkdf2-hmacsha256"
27
- }
28
- }
29
- }
30
- }
31
-
32
- ### Step 2: Get current state (should auto-advance store-password -> completed)
33
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceKey}}/functions/state
34
-
35
- ### Step 3: Get instance data (expect isSuccess=true, normalized passwordEntry with source.lastUpdatedDate)
36
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceKey}}/functions/data
37
-
38
- ### Variant: temp password from a reset (initialPassword + mustResetPassword=true)
39
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
40
- Content-Type: application/json
41
-
42
- {
43
- "key": "{{userKey}}",
44
- "tags": ["test", "user-password", "reset"],
45
- "attributes": {
46
- "passwordEntry": {
47
- "type": "Password",
48
- "salt": "pwd-temp-001",
49
- "initialPassword": "Ab3!xY9z",
50
- "mustResetPassword": true,
51
- "failCount": 0,
52
- "source": {
53
- "password": "hashed-temp-value",
54
- "algorithm": "pbkdf2-hmacsha256"
55
- }
56
- }
57
- }
58
- }
@@ -1,31 +0,0 @@
1
- @baseUrl = http://localhost:4251
2
- @apiVersion = v1
3
- @domain = morph-idm
4
- @workflow = user-password-force-change
5
- # userKey = TCKN (force-change is keyed by user; the user-password store SubProcess uses the same key)
6
- @userKey = 12345678901
7
-
8
- ### Step 1: Start a forced password change (normally started as a SubProcess by user-login).
9
- # Body: newPassword + newPasswordConfirm only (start schema force-change-password-input has
10
- # additionalProperties:false). userId for the backend check defaults to the instance key (userKey).
11
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
12
- Content-Type: application/json
13
-
14
- {
15
- "key": "{{userKey}}",
16
- "tags": ["test", "force-change"],
17
- "attributes": {
18
- "newPassword": "Yeni!Sifre123",
19
- "newPasswordConfirm": "Yeni!Sifre123"
20
- }
21
- }
22
-
23
- ### Step 2: State (expect completed on success, failed-end on validation/store failure)
24
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{userKey}}/functions/state
25
-
26
- ### Step 3: Data (expect isSuccess=true)
27
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{userKey}}/functions/data
28
-
29
- ### Step 4: Verify the stored record landed in the user-password store flow (key = userKey)
30
- # Expect passwordEntry with mustResetPassword=false (forced change satisfied)
31
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-password/instances/{{userKey}}/functions/data