@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,1761 +0,0 @@
1
- ###############################################################################
2
- # user-login – Kapsamlı Test Dosyası (Tüm State & Transition Senaryoları)
3
- ###############################################################################
4
- #
5
- # Runtime: {{baseUrl}}, {{apiVersion}}, {{domain}} → http-client.env.json / IDE
6
- # Örnek: baseUrl=http://localhost:4251 apiVersion=1 domain=morph-idm
7
- #
8
- # --- State Özeti (workflow: user-login.json) ---
9
- # | State | Tip | Çıkış transition'ları |
10
- # |--------------------------|---------|-----------------------------------------------------------------|
11
- # | pre-login | initial | login(user,t:0) → client-validation |
12
- # | client-validation | active | corporate-scope-missing(auto)→scope-invalid-end; |
13
- # | | | client-valid(auto)→grant-validation; |
14
- # | | | client-invalid(auto,default)→client-invalid-end |
15
- # | grant-validation | active | grant-valid(auto)→user-validation; |
16
- # | | | grant-invalid(auto,default)→grant-invalid-end |
17
- # | user-validation | active | user-found(auto)→check-password; |
18
- # | | | user-not-found(auto,default)→user-not-found-end |
19
- # | check-password | active | password-valid-no-fail-count(auto)→check-status; |
20
- # | | | password-valid-has-fail-count(auto)→reset-fail-count-check; |
21
- # | | | password-invalid(auto,default)→user-invalid-end |
22
- # | check-status | active | status-active(auto)→user-fetch; |
23
- # | | | status-not-active(auto,default)→user-status-fail |
24
- # | reset-fail-count-check | active | proceed-to-check-status(auto,default)→check-status |
25
- # | user-fetch | active | user-refetched(auto)→login-approvement; |
26
- # | | | user-fetch-default(auto,default)→login-approvement |
27
- # | login-approvement | subflow | notification-completed(auto)→scope-fetch; |
28
- # | | | notification-failed(auto,default)→notification-failed-end |
29
- # | scope-fetch | active | scope-count-mismatch(auto)→scope-count-mismatch-end; |
30
- # | | | scope-fetched(auto)→consent-selection; |
31
- # | | | scope-not-fetched(auto,default)→scope-fetch-failed-end |
32
- # | consent-selection | subflow | consent-selected(auto)→security-check; |
33
- # | | | consent-selection-failed(auto,default)→consent-invalid-end |
34
- # | security-check | subflow | security-complete(auto)→ensure-certificate; |
35
- # | | | security-failed(auto,default)→security-failed-end |
36
- # | ensure-certificate | active | proceed-to-request-token(auto,default)→request-token; |
37
- # | request-token | active | token-success(auto)→login-success; |
38
- # | | | token-failed(auto,default)→token-failed-end |
39
- # | login-success | final | — |
40
- # | user-invalid-end (child) | final | subflow biter → parent user-invalid(auto)→pre-login (loginFailed, popup)|
41
- # | locked-end | final | — |
42
- # | client-invalid-end | final | — |
43
- # | grant-invalid-end | final | — |
44
- # | user-not-found-end | final | — |
45
- # | user-status-fail | final | — |
46
- # | scope-fetch-failed-end | final | — |
47
- # | scope-count-mismatch-end | final | — |
48
- # | scope-invalid-end | final | — |
49
- # | consent-invalid-end | final | — |
50
- # | token-failed-end | final | — |
51
- # | notification-failed-end | final | — |
52
- # | security-failed-end | final | — |
53
- #
54
- # --- ÖNEMLİ: İki Adımlı Login Pattern ---
55
- #
56
- # pre-login state'inde sadece user trigger (triggerType:0) olan "login"
57
- # transition'ı var. Bu yüzden akış:
58
- #
59
- # 1) POST /instances/start → instance oluşturulur, pre-login'e düşer
60
- # 2) PATCH /transitions/login → pre-login → client-validation'a geçer
61
- #
62
- # Start body'sindeki attributes instance data olarak yazılır.
63
- # Login transition'ı (schema:null) attributes ile ek veri gönderebilir
64
- # veya boş attributes ile sadece tetikleme yapabilir.
65
- #
66
- # --- Akış Diyagramı ---
67
- # START → pre-login ──(login)──→ client-validation
68
- # ├─ client-invalid → client-invalid-end ✗
69
- # ├─ corporate-scope-missing → scope-invalid-end ✗
70
- # └─ client-valid → grant-validation
71
- # ├─ grant-invalid → grant-invalid-end ✗
72
- # └─ grant-valid → user-validation
73
- # ├─ user-not-found → user-not-found-end ✗
74
- # └─ user-found → check-password
75
- # ├─ password-invalid → check-retry-limit
76
- # │ ├─ max-retries-reached → locked-end ✗
77
- # │ └─ retries-remaining → user-invalid-end → parent pre-login (loginFailed=true, popup) → login (yeni subflow)
78
- # ├─ password-valid-has-fail-count → reset-fail-count-check → check-status
79
- # └─ password-valid-no-fail-count → check-status
80
- # ├─ status-not-active → user-status-fail ✗
81
- # └─ status-active → user-fetch → login-approvement (subflow)
82
- # ├─ notification-failed → notification-failed-end ✗
83
- # └─ notification-completed → scope-fetch
84
- # ├─ scope-not-fetched → scope-fetch-failed-end ✗
85
- # ├─ scope-count-mismatch → scope-count-mismatch-end ✗
86
- # └─ scope-fetched → consent-selection (subflow)
87
- # ├─ consent-selection-failed → consent-invalid-end ✗
88
- # └─ consent-selected → security-check (subflow)
89
- # ├─ security-failed → security-failed-end ✗
90
- # └─ security-complete → ensure-certificate (best-effort cert-management)
91
- # → proceed-to-request-token → request-token
92
- # ├─ token-failed → token-failed-end ✗
93
- # └─ token-success → login-success ✓
94
- #
95
- # Notlar:
96
- # - PATCH gövdeleri her zaman { "attributes": { ... } } formatında olmalı.
97
- # - login-approvement, consent-selection, security-check SubFlow state'leridir.
98
- # Bu subflow'lardaki user transition'ları (verify-otp, approve-push, vb.)
99
- # ana workflow instance id üzerinden çağrılır.
100
- # - sync=true ile senkron çalıştırma yapılır.
101
- # - ensure-certificate: cert-management subprocess (best-effort); hata olsa da token adımına devam edilir. İdeal veri: userName, deviceId, installationId.
102
- #
103
- ###############################################################################
104
-
105
- @domain = morph-idm
106
- @workflow = user-login
107
-
108
- ###############################################################################
109
- # A. HAPPY PATH – Başarılı Login (Tüm doğrulamalardan geçer)
110
- # START → draft → device-register (start-time) → pre-login → (login) → client-validation → grant-validation
111
- # → user-validation → check-password → check-status → user-fetch
112
- # → login-approvement → scope-fetch → consent-selection
113
- # → security-check → ensure-certificate → request-token → login-success ✓
114
- ###############################################################################
115
-
116
- ### A1 – Start: Instance oluştur (draft -> device-register [IbWeb: deviceId/installationId olduğu gibi;
117
- ### sm1 çifti zaten kayıtlı -> already-registered] -> pre-login). deviceInfo yalnızca header'lardan.
118
- # @name startHappyPath
119
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
120
- Accept-Language: tr-TR
121
- X-Request-Id: {{$guid}}
122
- X-Device-Id: device-iphone-12-john
123
- X-Token-Id: {{$guid}}
124
- X-Device-Info: Mobile Banking App iOS/2.0
125
- X-Forwarded-For: 192.168.1.100
126
- Sec-CH-UA: "Chromium";v="130", "Google Chrome";v="130", "Not?A_Brand";v="99"
127
- Sec-CH-UA-Platform: "Windows"
128
- Sec-CH-UA-Platform-Version: "15.0.0"
129
- Sec-CH-UA-Mobile: ?0
130
- user_reference: 12340
131
- Content-Type: application/json
132
-
133
- {
134
- "key": "login-happy-{{$timestamp}}-{{$randomInt 1000 9999}}",
135
- "tags": ["coverage", "happy-path", "login-success"],
136
- "attributes": {
137
- "clientId": "IbWeb",
138
- "grantType": "authorization_code",
139
- "scopes": ["IbCustomer"],
140
- "scope" : "1234",
141
- "userName": "1234",
142
- "password": "AQAAAAEAACcQAAAAEMGEIyJUHOS6ZicxMY/yOvmBmizkzIeGsNbuwheBbFwvDGzqKMXYKzt6mG15eErOZw==",
143
- "consentId": "consent-john-doe-mobile-banking-customer-123",
144
- "deviceId": "sm1",
145
- "installationId": "sm1",
146
- "loginMethod": "password",
147
- "ipAddress": "192.168.1.100",
148
- "userAgent": "Mobile Banking App iOS/2.0",
149
- "loginTimestamp": "{{$datetime iso8601}}",
150
- "codeChallenge": "yqvaFgKSIL_-BDqEL8DlnlWuJ8BFr_OE6ZZRhdRj6uk",
151
- "codeChallengeMethod": "S256",
152
- "sessionMetadata": {
153
- "deviceFingerprint": "abc123xyz789",
154
- "geolocation": {
155
- "country": "TR",
156
- "city": "Istanbul",
157
- "latitude": 41.0082,
158
- "longitude": 28.9784
159
- }
160
- }
161
- }
162
- }
163
-
164
- ### A2 – State kontrol: pre-login'de olmalı
165
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startHappyPath.response.body.id}}/functions/state
166
- Accept-Language: tr-TR
167
- X-Request-Id: {{$guid}}
168
- X-Device-Id: {{$guid}}
169
- X-Token-Id: {{$guid}}
170
- user_reference: 12340
171
-
172
- ### A3 – Login transition: pre-login → client-validation (akışı başlat)
173
- # @name loginHappyPath
174
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startHappyPath.response.body.id}}/transitions/login?sync=true
175
- Accept-Language: tr-TR
176
- X-Request-Id: {{$guid}}
177
- X-Device-Id: device-iphone-12-john
178
- X-Token-Id: {{$guid}}
179
- X-Device-Info: Mobile Banking App iOS/2.0
180
- X-Forwarded-For: 192.168.1.100
181
- user_reference: 12340
182
- Content-Type: application/json
183
-
184
- {
185
- "attributes": {}
186
- }
187
-
188
- ### F5 – Retry Login: Doğru şifre ile tekrar dene (pre-login → login; loginFailed=false, yeni user-validation subflow)
189
- # pre-login'in kendi login transition'ı (triggerType:0), schema: user-login-credentials-remembered
190
- # @name retryLoginCorrectPassword
191
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startHappyPath.response.body.id}}/transitions/login?sync=true
192
- Accept-Language: tr-TR
193
- X-Request-Id: {{$guid}}
194
- X-Device-Id: device-iphone-12-john
195
- X-Token-Id: {{$guid}}
196
- X-Device-Info: Mobile Banking App iOS/2.0
197
- X-Forwarded-For: 192.168.1.100
198
- user_reference: 12340
199
- Content-Type: application/json
200
-
201
- {
202
- "attributes": {
203
- "userName": "1234",
204
- "password": "123456"
205
- }
206
- }
207
-
208
- ### I7 – Approve Push: Kullanıcı push onaylar
209
- # @name approvePushIbWeb
210
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startHappyPath.response.body.id}}/transitions/approve-push?sync=true
211
- Accept-Language: tr-TR
212
- X-Request-Id: {{$guid}}
213
- X-Device-Id: device-iphone-12-john
214
- X-Token-Id: {{$guid}}
215
- X-Device-Info: Mobile Banking App iOS/2.0
216
- X-Forwarded-For: 192.168.1.100
217
- user_reference: 12340
218
- Content-Type: application/json
219
-
220
- {
221
- "attributes": {
222
- "pushReference": "push-ref-{{$guid}}"
223
- }
224
- }
225
-
226
- ### A4 – Login sonrası: State kontrol
227
- # Beklenen: login-success veya subflow bekliyor (login-approvement, consent-selection, security-check)
228
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startHappyPath.response.body.id}}/functions/state
229
- Accept-Language: tr-TR
230
- X-Request-Id: {{$guid}}
231
- X-Device-Id: {{$guid}}
232
- X-Token-Id: {{$guid}}
233
- user_reference: 12340
234
-
235
- ### A5 – Login sonrası: Instance data
236
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startHappyPath.response.body.id}}/functions/data
237
- Accept-Language: tr-TR
238
- X-Request-Id: {{$guid}}
239
- X-Device-Id: {{$guid}}
240
- X-Token-Id: {{$guid}}
241
- user_reference: 12340
242
-
243
- ###############################################################################
244
- # B. CLIENT INVALID – Geçersiz client → client-invalid-end ✗
245
- # START → pre-login → (login) → client-validation → client-invalid-end
246
- ###############################################################################
247
-
248
- ### B1 – Start: Varolmayan client ile instance oluştur
249
- # @name startInvalidClient
250
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
251
- Accept-Language: tr-TR
252
- X-Request-Id: {{$guid}}
253
- X-Device-Id: device-unknown
254
- X-Token-Id: {{$guid}}
255
- X-Device-Info: Unknown Client/1.0
256
- X-Forwarded-For: 192.168.1.200
257
- user_reference: 12340
258
- Content-Type: application/json
259
-
260
- {
261
- "key": "login-invalid-client-{{$timestamp}}-{{$randomInt 1000 9999}}",
262
- "tags": ["coverage", "fail-path", "client-invalid"],
263
- "attributes": {
264
- "clientId": "non-existent-client-xyz",
265
- "grantType": "authorization_code",
266
- "scopes": ["openid"],
267
- "userName": "1234",
268
- "password": "encrypted-pass-123",
269
- "deviceId": "device-unknown",
270
- "loginMethod": "password"
271
- }
272
- }
273
-
274
- ### B2 – Login transition: pre-login → client-validation → client-invalid-end
275
- # @name loginInvalidClient
276
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startInvalidClient.response.body.id}}/transitions/login?sync=true
277
- Accept-Language: tr-TR
278
- X-Request-Id: {{$guid}}
279
- X-Device-Id: device-unknown
280
- X-Token-Id: {{$guid}}
281
- X-Device-Info: Unknown Client/1.0
282
- X-Forwarded-For: 192.168.1.200
283
- user_reference: 12340
284
- Content-Type: application/json
285
-
286
- {
287
- "attributes": {}
288
- }
289
-
290
- ### B3 – Client invalid: State kontrol
291
- # Beklenen: client-invalid-end
292
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startInvalidClient.response.body.id}}/functions/state
293
- Accept-Language: tr-TR
294
- X-Request-Id: {{$guid}}
295
- X-Device-Id: {{$guid}}
296
- X-Token-Id: {{$guid}}
297
- user_reference: 12340
298
-
299
- ### B4 – Client invalid: Instance data
300
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startInvalidClient.response.body.id}}/functions/data
301
- Accept-Language: tr-TR
302
- X-Request-Id: {{$guid}}
303
- X-Device-Id: {{$guid}}
304
- X-Token-Id: {{$guid}}
305
- user_reference: 12340
306
-
307
- ###############################################################################
308
- # C. CORPORATE SCOPE MISSING – Corporate scope group ama scope eksik
309
- # START → pre-login → (login) → client-validation → scope-invalid-end ✗
310
- # CorporateScopeMissingRule: scopeGroup=corporate-customers && scope boş
311
- ###############################################################################
312
-
313
- ### C1 – Start: Corporate client, scope eksik
314
- # @name startCorporateScopeMissing
315
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
316
- Accept-Language: tr-TR
317
- X-Request-Id: {{$guid}}
318
- X-Device-Id: device-corporate
319
- X-Token-Id: {{$guid}}
320
- X-Device-Info: Corporate Portal/1.0
321
- X-Forwarded-For: 10.0.0.50
322
- user_reference: 99887766554
323
- Content-Type: application/json
324
-
325
- {
326
- "key": "login-corp-scope-missing-{{$timestamp}}-{{$randomInt 1000 9999}}",
327
- "tags": ["coverage", "fail-path", "corporate-scope-missing"],
328
- "attributes": {
329
- "clientId": "IbWeb",
330
- "grantType": "authorization_code",
331
- "scopeGroup": "corporate-customers",
332
- "userName": "corporate-user-001",
333
- "password": "encrypted-corp-pass",
334
- "deviceId": "device-corporate",
335
- "loginMethod": "password"
336
- }
337
- }
338
-
339
- ### C2 – Login transition: pre-login → client-validation → scope-invalid-end
340
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startCorporateScopeMissing.response.body.id}}/transitions/login?sync=true
341
- Accept-Language: tr-TR
342
- X-Request-Id: {{$guid}}
343
- X-Device-Id: device-corporate
344
- X-Token-Id: {{$guid}}
345
- X-Device-Info: Corporate Portal/1.0
346
- X-Forwarded-For: 10.0.0.50
347
- user_reference: 99887766554
348
- Content-Type: application/json
349
-
350
- {
351
- "attributes": {}
352
- }
353
-
354
- ### C3 – Corporate scope missing: State kontrol
355
- # Beklenen: scope-invalid-end
356
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startCorporateScopeMissing.response.body.id}}/functions/state
357
- Accept-Language: tr-TR
358
- X-Request-Id: {{$guid}}
359
- X-Device-Id: {{$guid}}
360
- X-Token-Id: {{$guid}}
361
- user_reference: 99887766554
362
-
363
- ###############################################################################
364
- # D. GRANT INVALID – Geçersiz grant type → grant-invalid-end ✗
365
- # START → pre-login → (login) → client-validation → grant-validation
366
- # → grant-invalid-end
367
- ###############################################################################
368
-
369
- ### D1 – Start: Client geçerli, grant type desteklenmiyor
370
- # @name startInvalidGrant
371
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
372
- Accept-Language: tr-TR
373
- X-Request-Id: {{$guid}}
374
- X-Device-Id: device-test
375
- X-Token-Id: {{$guid}}
376
- X-Device-Info: Test Client/1.0
377
- X-Forwarded-For: 192.168.1.150
378
- user_reference: 12340
379
- Content-Type: application/json
380
-
381
- {
382
- "key": "login-invalid-grant-{{$timestamp}}-{{$randomInt 1000 9999}}",
383
- "tags": ["coverage", "fail-path", "grant-invalid"],
384
- "attributes": {
385
- "clientId": "IbWeb",
386
- "grantType": "implicit",
387
- "scopes": ["openid"],
388
- "userName": "1234",
389
- "password": "encrypted-pass-123",
390
- "deviceId": "device-test",
391
- "loginMethod": "password"
392
- }
393
- }
394
-
395
- ### D2 – Login transition: akışı başlat
396
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startInvalidGrant.response.body.id}}/transitions/login?sync=true
397
- Accept-Language: tr-TR
398
- X-Request-Id: {{$guid}}
399
- X-Device-Id: device-test
400
- X-Token-Id: {{$guid}}
401
- X-Device-Info: Test Client/1.0
402
- X-Forwarded-For: 192.168.1.150
403
- user_reference: 12340
404
- Content-Type: application/json
405
-
406
- {
407
- "attributes": {}
408
- }
409
-
410
- ### D3 – Grant invalid: State kontrol
411
- # Beklenen: grant-invalid-end
412
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startInvalidGrant.response.body.id}}/functions/state
413
- Accept-Language: tr-TR
414
- X-Request-Id: {{$guid}}
415
- X-Device-Id: {{$guid}}
416
- X-Token-Id: {{$guid}}
417
- user_reference: 12340
418
-
419
- ### D4 – Grant invalid: Instance data
420
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startInvalidGrant.response.body.id}}/functions/data
421
- Accept-Language: tr-TR
422
- X-Request-Id: {{$guid}}
423
- X-Device-Id: {{$guid}}
424
- X-Token-Id: {{$guid}}
425
- user_reference: 12340
426
-
427
- ###############################################################################
428
- # E. USER NOT FOUND – Kullanıcı bulunamadı → user-not-found-end ✗
429
- # START → pre-login → (login) → client-validation → grant-validation
430
- # → user-validation → user-not-found-end
431
- ###############################################################################
432
-
433
- ### E1 – Start: Varolmayan kullanıcı
434
- # @name startUserNotFound
435
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
436
- Accept-Language: tr-TR
437
- X-Request-Id: {{$guid}}
438
- X-Device-Id: device-test
439
- X-Token-Id: {{$guid}}
440
- X-Device-Info: Test Client/1.0
441
- X-Forwarded-For: 192.168.1.150
442
- user_reference: 12340
443
- Content-Type: application/json
444
-
445
- {
446
- "key": "login-user-not-found-{{$timestamp}}-{{$randomInt 1000 9999}}",
447
- "tags": ["coverage", "fail-path", "user-not-found"],
448
- "attributes": {
449
- "clientId": "IbWeb",
450
- "grantType": "authorization_code",
451
- "scopes": ["IbCustomer"],
452
- "userName": "non-existent-user-xyz-999",
453
- "password": "encrypted-pass-123",
454
- "deviceId": "device-test",
455
- "loginMethod": "password"
456
- }
457
- }
458
-
459
- ### E2 – Login transition: akışı başlat
460
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startUserNotFound.response.body.id}}/transitions/login?sync=true
461
- Accept-Language: tr-TR
462
- X-Request-Id: {{$guid}}
463
- X-Device-Id: device-test
464
- X-Token-Id: {{$guid}}
465
- X-Device-Info: Test Client/1.0
466
- X-Forwarded-For: 192.168.1.150
467
- user_reference: 12340
468
- Content-Type: application/json
469
-
470
- {
471
- "attributes": {}
472
- }
473
-
474
- ### E3 – User not found: State kontrol
475
- # Beklenen: user-not-found-end
476
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startUserNotFound.response.body.id}}/functions/state
477
- Accept-Language: tr-TR
478
- X-Request-Id: {{$guid}}
479
- X-Device-Id: {{$guid}}
480
- X-Token-Id: {{$guid}}
481
- user_reference: 12340
482
-
483
- ### E4 – User not found: Instance data
484
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startUserNotFound.response.body.id}}/functions/data
485
- Accept-Language: tr-TR
486
- X-Request-Id: {{$guid}}
487
- X-Device-Id: {{$guid}}
488
- X-Token-Id: {{$guid}}
489
- user_reference: 12340
490
-
491
- ###############################################################################
492
- # F. PASSWORD INVALID + RETRY – Yanlış şifre → child user-invalid-end → parent pre-login
493
- # (loginFailed=true, view: user-login-login-invalid-credentials popup) → login → yeni user-validation
494
- ###############################################################################
495
-
496
- ### F1 – Start: Geçerli kullanıcı, yanlış şifre
497
- # @name startInvalidPassword
498
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
499
- Accept-Language: tr-TR
500
- X-Request-Id: {{$guid}}
501
- X-Device-Id: device-iphone-12-john
502
- X-Token-Id: {{$guid}}
503
- X-Device-Info: Mobile Banking App iOS/2.0
504
- X-Forwarded-For: 192.168.1.100
505
- user_reference: 12340
506
- Content-Type: application/json
507
-
508
- {
509
- "key": "login-invalid-pass-{{$timestamp}}-{{$randomInt 1000 9999}}",
510
- "tags": ["coverage", "fail-path", "password-invalid", "retry"],
511
- "attributes": {
512
- "clientId": "IbWeb",
513
- "grantType": "authorization_code",
514
- "scopes": ["IbCustomer"],
515
- "userName": "1234",
516
- "password": "WRONG_PASSWORD_ENCRYPTED_DATA",
517
- "deviceId": "device-iphone-12-john",
518
- "loginMethod": "password",
519
- "ipAddress": "192.168.1.100"
520
- }
521
- }
522
-
523
- ### F2 – Login transition: akışı başlat (yanlış şifre ile)
524
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startInvalidPassword.response.body.id}}/transitions/login?sync=true
525
- Accept-Language: tr-TR
526
- X-Request-Id: {{$guid}}
527
- X-Device-Id: device-iphone-12-john
528
- X-Token-Id: {{$guid}}
529
- X-Device-Info: Mobile Banking App iOS/2.0
530
- X-Forwarded-For: 192.168.1.100
531
- user_reference: 12340
532
- Content-Type: application/json
533
-
534
- {
535
- "attributes": {}
536
- }
537
-
538
- ### F3 – Password invalid: State kontrol (user-invalid-end beklenir)
539
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startInvalidPassword.response.body.id}}/functions/state
540
- Accept-Language: tr-TR
541
- X-Request-Id: {{$guid}}
542
- X-Device-Id: {{$guid}}
543
- X-Token-Id: {{$guid}}
544
- user_reference: 12340
545
-
546
- ### F4 – Password invalid: Instance data (failCount kontrol)
547
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startInvalidPassword.response.body.id}}/functions/data
548
- Accept-Language: tr-TR
549
- X-Request-Id: {{$guid}}
550
- X-Device-Id: {{$guid}}
551
- X-Token-Id: {{$guid}}
552
- user_reference: 12340
553
-
554
- ### F5 – Retry Login: Doğru şifre ile tekrar dene (pre-login → login; loginFailed=false, yeni user-validation subflow)
555
- # pre-login'in kendi login transition'ı (triggerType:0), schema: user-login-credentials-remembered
556
- # @name retryLoginCorrectPassword
557
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startInvalidPassword.response.body.id}}/transitions/login?sync=true
558
- Accept-Language: tr-TR
559
- X-Request-Id: {{$guid}}
560
- X-Device-Id: device-iphone-12-john
561
- X-Token-Id: {{$guid}}
562
- X-Device-Info: Mobile Banking App iOS/2.0
563
- X-Forwarded-For: 192.168.1.100
564
- user_reference: 12340
565
- Content-Type: application/json
566
-
567
- {
568
- "attributes": {
569
- "userName": "1234",
570
- "password": "AQAAAAEAACcQAAAAEMGEIyJUHOS6ZicxMY/yOvmBmizkzIeGsNbuwheBbFwvDGzqKMXYKzt6mG15eErOZw=="
571
- }
572
- }
573
-
574
- ### F6 – Retry sonrası: State kontrol
575
- # Beklenen: password-valid-has-fail-count yolundan reset-fail-count-check → check-status
576
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startInvalidPassword.response.body.id}}/functions/state
577
- Accept-Language: tr-TR
578
- X-Request-Id: {{$guid}}
579
- X-Device-Id: {{$guid}}
580
- X-Token-Id: {{$guid}}
581
- user_reference: 12340
582
-
583
- ### F7 – Retry sonrası: Instance data
584
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startInvalidPassword.response.body.id}}/functions/data
585
- Accept-Language: tr-TR
586
- X-Request-Id: {{$guid}}
587
- X-Device-Id: {{$guid}}
588
- X-Token-Id: {{$guid}}
589
- user_reference: 12340
590
-
591
- ###############################################################################
592
- # G. MAX RETRIES → LOCKED – 5 başarısız deneme → hesap kilitlendi ✗
593
- # check-password → user-invalid-end → max-retries-reached → locked-end
594
- ###############################################################################
595
-
596
- ### G1 – Start: Hesap kilitleme testi
597
- # @name startMaxRetries
598
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
599
- Accept-Language: tr-TR
600
- X-Request-Id: {{$guid}}
601
- X-Device-Id: device-locked-test
602
- X-Token-Id: {{$guid}}
603
- X-Device-Info: Test Client/1.0
604
- X-Forwarded-For: 192.168.1.100
605
- user_reference: 12340
606
- Content-Type: application/json
607
-
608
- {
609
- "key": "login-locked-{{$timestamp}}-{{$randomInt 1000 9999}}",
610
- "tags": ["coverage", "fail-path", "max-retries", "locked"],
611
- "attributes": {
612
- "clientId": "IbWeb",
613
- "grantType": "authorization_code",
614
- "scopes": ["IbCustomer"],
615
- "userName": "1234",
616
- "password": "WRONG_PASSWORD_1",
617
- "deviceId": "device-locked-test",
618
- "loginMethod": "password",
619
- "ipAddress": "192.168.1.100"
620
- }
621
- }
622
-
623
- ### G2 – Login transition: ilk yanlış şifre denemesi (failCount=1)
624
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startMaxRetries.response.body.id}}/transitions/login?sync=true
625
- Accept-Language: tr-TR
626
- X-Request-Id: {{$guid}}
627
- X-Device-Id: device-locked-test
628
- X-Token-Id: {{$guid}}
629
- X-Device-Info: Test Client/1.0
630
- X-Forwarded-For: 192.168.1.100
631
- user_reference: 12340
632
- Content-Type: application/json
633
-
634
- {
635
- "attributes": {}
636
- }
637
-
638
- ### G3 – State kontrol: user-invalid-end beklenir
639
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startMaxRetries.response.body.id}}/functions/state
640
- Accept-Language: tr-TR
641
- X-Request-Id: {{$guid}}
642
- X-Device-Id: {{$guid}}
643
- X-Token-Id: {{$guid}}
644
- user_reference: 12340
645
-
646
- ### G4 – Retry 1: Yanlış şifre tekrar (failCount=2)
647
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startMaxRetries.response.body.id}}/transitions/login?sync=true
648
- Accept-Language: tr-TR
649
- X-Request-Id: {{$guid}}
650
- X-Device-Id: device-locked-test
651
- X-Token-Id: {{$guid}}
652
- X-Device-Info: Test Client/1.0
653
- X-Forwarded-For: 192.168.1.100
654
- user_reference: 12340
655
- Content-Type: application/json
656
-
657
- {
658
- "attributes": {
659
- "userName": "1234",
660
- "password": "WRONG_PASSWORD_2"
661
- }
662
- }
663
-
664
- ### G5 – Retry 2: Yanlış şifre tekrar (failCount=3)
665
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startMaxRetries.response.body.id}}/transitions/login?sync=true
666
- Accept-Language: tr-TR
667
- X-Request-Id: {{$guid}}
668
- X-Device-Id: device-locked-test
669
- X-Token-Id: {{$guid}}
670
- X-Device-Info: Test Client/1.0
671
- X-Forwarded-For: 192.168.1.100
672
- user_reference: 12340
673
- Content-Type: application/json
674
-
675
- {
676
- "attributes": {
677
- "userName": "1234",
678
- "password": "WRONG_PASSWORD_3"
679
- }
680
- }
681
-
682
- ### G6 – Retry 3: Yanlış şifre tekrar (failCount=4)
683
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startMaxRetries.response.body.id}}/transitions/login?sync=true
684
- Accept-Language: tr-TR
685
- X-Request-Id: {{$guid}}
686
- X-Device-Id: device-locked-test
687
- X-Token-Id: {{$guid}}
688
- X-Device-Info: Test Client/1.0
689
- X-Forwarded-For: 192.168.1.100
690
- user_reference: 12340
691
- Content-Type: application/json
692
-
693
- {
694
- "attributes": {
695
- "userName": "1234",
696
- "password": "WRONG_PASSWORD_4"
697
- }
698
- }
699
-
700
- ### G7 – Retry 4: Yanlış şifre tekrar (failCount=5 → locked-end)
701
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startMaxRetries.response.body.id}}/transitions/login?sync=true
702
- Accept-Language: tr-TR
703
- X-Request-Id: {{$guid}}
704
- X-Device-Id: device-locked-test
705
- X-Token-Id: {{$guid}}
706
- X-Device-Info: Test Client/1.0
707
- X-Forwarded-For: 192.168.1.100
708
- user_reference: 12340
709
- Content-Type: application/json
710
-
711
- {
712
- "attributes": {
713
- "userName": "1234",
714
- "password": "WRONG_PASSWORD_5"
715
- }
716
- }
717
-
718
- ### G8 – Locked: State kontrol
719
- # Beklenen: locked-end (passwordFailCount >= 5)
720
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startMaxRetries.response.body.id}}/functions/state
721
- Accept-Language: tr-TR
722
- X-Request-Id: {{$guid}}
723
- X-Device-Id: {{$guid}}
724
- X-Token-Id: {{$guid}}
725
- user_reference: 12340
726
-
727
- ### G9 – Locked: Instance data (failCount = 5 kontrol)
728
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startMaxRetries.response.body.id}}/functions/data
729
- Accept-Language: tr-TR
730
- X-Request-Id: {{$guid}}
731
- X-Device-Id: {{$guid}}
732
- X-Token-Id: {{$guid}}
733
- user_reference: 12340
734
-
735
- ###############################################################################
736
- # H. USER STATUS NOT ACTIVE – Kullanıcı aktif değil → user-status-fail ✗
737
- # → check-password → check-status → user-status-fail
738
- # (user instance'ında status.type != 20 olmalı)
739
- ###############################################################################
740
-
741
- ### H1 – Start: Pasif kullanıcı login denemesi
742
- # @name startInactiveUser
743
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
744
- Accept-Language: tr-TR
745
- X-Request-Id: {{$guid}}
746
- X-Device-Id: device-test
747
- X-Token-Id: {{$guid}}
748
- X-Device-Info: Test Client/1.0
749
- X-Forwarded-For: 192.168.1.100
750
- user_reference: 12340
751
- Content-Type: application/json
752
-
753
- {
754
- "key": "login-inactive-user-{{$timestamp}}-{{$randomInt 1000 9999}}",
755
- "tags": ["coverage", "fail-path", "user-status-inactive"],
756
- "attributes": {
757
- "clientId": "IbWeb",
758
- "grantType": "authorization_code",
759
- "scopes": ["IbCustomer"],
760
- "userName": "inactive-user-001",
761
- "password": "encrypted-valid-password",
762
- "deviceId": "device-test",
763
- "loginMethod": "password",
764
- "ipAddress": "192.168.1.100"
765
- }
766
- }
767
-
768
- ### H2 – Login transition: akışı başlat
769
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startInactiveUser.response.body.id}}/transitions/login?sync=true
770
- Accept-Language: tr-TR
771
- X-Request-Id: {{$guid}}
772
- X-Device-Id: device-test
773
- X-Token-Id: {{$guid}}
774
- X-Device-Info: Test Client/1.0
775
- X-Forwarded-For: 192.168.1.100
776
- user_reference: 12340
777
- Content-Type: application/json
778
-
779
- {
780
- "attributes": {}
781
- }
782
-
783
- ### H3 – Inactive user: State kontrol
784
- # Beklenen: user-status-fail
785
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startInactiveUser.response.body.id}}/functions/state
786
- Accept-Language: tr-TR
787
- X-Request-Id: {{$guid}}
788
- X-Device-Id: {{$guid}}
789
- X-Token-Id: {{$guid}}
790
- user_reference: 12340
791
-
792
- ### H4 – Inactive user: Instance data
793
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startInactiveUser.response.body.id}}/functions/data
794
- Accept-Language: tr-TR
795
- X-Request-Id: {{$guid}}
796
- X-Device-Id: {{$guid}}
797
- X-Token-Id: {{$guid}}
798
- user_reference: 12340
799
-
800
- ###############################################################################
801
- # I. IbWeb LOGIN + PUSH APPROVE – Push Notification Flow
802
- # → login-approvement (subflow) → push-waiting → approve-push → devam
803
- ###############################################################################
804
-
805
- ### I1 – Start: IbWeb client
806
- # @name startIbWebPush
807
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
808
- Accept-Language: tr-TR
809
- X-Request-Id: {{$guid}}
810
- X-Device-Id: device-iphone-12-john
811
- X-Token-Id: {{$guid}}
812
- X-Device-Info: Internet Banking Web/3.0
813
- X-Forwarded-For: 192.168.1.100
814
- user_reference: 12340
815
- Content-Type: application/json
816
-
817
- {
818
- "key": "login-ibweb-push-{{$timestamp}}-{{$randomInt 1000 9999}}",
819
- "tags": ["coverage", "push-flow", "ibweb"],
820
- "attributes": {
821
- "clientId": "IbWeb",
822
- "grantType": "authorization_code",
823
- "scopes": ["IbCustomer"],
824
- "scope" : "1234",
825
- "userName": "1234",
826
- "password": "AQAAAAEAACcQAAAAEMGEIyJUHOS6ZicxMY/yOvmBmizkzIeGsNbuwheBbFwvDGzqKMXYKzt6mG15eErOZw==",
827
- "deviceId": "sm1",
828
- "installationId": "sm1",
829
- "loginMethod": "password",
830
- "ipAddress": "192.168.1.100",
831
- "userAgent": "Internet Banking Web/3.0",
832
- "loginTimestamp": "{{$datetime iso8601}}",
833
- "codeChallenge": "yqvaFgKSIL_-BDqEL8DlnlWuJ8BFr_OE6ZZRhdRj6uk",
834
- "codeChallengeMethod": "S256"
835
- }
836
- }
837
-
838
- ### I2 – Login transition: pre-login → client-validation → ... → login-approvement (subflow)
839
- # @name loginIbWebPush
840
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startIbWebPush.response.body.id}}/transitions/login?sync=true
841
- Accept-Language: tr-TR
842
- X-Request-Id: {{$guid}}
843
- X-Device-Id: device-iphone-12-john
844
- X-Token-Id: {{$guid}}
845
- X-Device-Info: Internet Banking Web/3.0
846
- X-Forwarded-For: 192.168.1.100
847
- user_reference: 12340
848
- Content-Type: application/json
849
-
850
- {
851
- "attributes": {}
852
- }
853
-
854
- ### I3 – Retry Login: Doğru şifre ile tekrar dene (login-approvement → push-waiting)
855
- # @name retryLoginIbWebPush
856
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startIbWebPush.response.body.id}}/transitions/login?sync=true
857
- Accept-Language: tr-TR
858
- X-Request-Id: {{$guid}}
859
- X-Device-Id: device-iphone-12-john
860
- X-Token-Id: {{$guid}}
861
- X-Device-Info: Mobile Banking App iOS/2.0
862
- X-Forwarded-For: 192.168.1.100
863
- user_reference: 12340
864
- Content-Type: application/json
865
-
866
- {
867
- "attributes": {
868
- "userName": "1234",
869
- "password": "123456789012"
870
- }
871
- }
872
-
873
- ### I3 – IbWeb: State kontrol (SubFlow aktif olmalı)
874
- # @name getIbWebState
875
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startIbWebPush.response.body.id}}/functions/state
876
- Accept-Language: tr-TR
877
- X-Request-Id: {{$guid}}
878
- X-Device-Id: {{$guid}}
879
- X-Token-Id: {{$guid}}
880
- user_reference: 12340
881
-
882
- ### I4 – IbWeb: SubFlow bilgileri
883
- ###
884
- @ibWebSubFlowName = {{getIbWebState.response.body.activeCorrelations[0].subFlowName}}
885
- @ibWebSubFlowInstanceId = {{getIbWebState.response.body.activeCorrelations[0].subFlowInstanceId}}
886
-
887
- ### I5 – IbWeb: SubFlow state
888
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{ibWebSubFlowName}}/instances/{{ibWebSubFlowInstanceId}}/functions/state
889
- Accept-Language: tr-TR
890
- X-Request-Id: {{$guid}}
891
- X-Device-Id: {{$guid}}
892
- X-Token-Id: {{$guid}}
893
- user_reference: 12340
894
-
895
- ### I6 – IbWeb: SubFlow data
896
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{ibWebSubFlowName}}/instances/{{ibWebSubFlowInstanceId}}/functions/data
897
- Accept-Language: tr-TR
898
- X-Request-Id: {{$guid}}
899
- X-Device-Id: {{$guid}}
900
- X-Token-Id: {{$guid}}
901
- user_reference: 12340
902
-
903
- ### I7 – Approve Push: Kullanıcı push onaylar
904
- # @name approvePushIbWeb
905
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startIbWebPush.response.body.id}}/transitions/approve-push?sync=true
906
- Accept-Language: tr-TR
907
- X-Request-Id: {{$guid}}
908
- X-Device-Id: device-iphone-12-john
909
- X-Token-Id: {{$guid}}
910
- X-Device-Info: Mobile Banking App iOS/2.0
911
- X-Forwarded-For: 192.168.1.100
912
- user_reference: 12340
913
- Content-Type: application/json
914
-
915
- {
916
- "attributes": {
917
- "pushReference": "push-ref-{{$guid}}"
918
- }
919
- }
920
-
921
- ### I8 – Push onay sonrası: State kontrol
922
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startIbWebPush.response.body.id}}/functions/state
923
- Accept-Language: tr-TR
924
- X-Request-Id: {{$guid}}
925
- X-Device-Id: {{$guid}}
926
- X-Token-Id: {{$guid}}
927
- user_reference: 12340
928
-
929
- ### I9 – Push onay sonrası: Instance data
930
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startIbWebPush.response.body.id}}/functions/data
931
- Accept-Language: tr-TR
932
- X-Request-Id: {{$guid}}
933
- X-Device-Id: {{$guid}}
934
- X-Token-Id: {{$guid}}
935
- user_reference: 12340
936
-
937
- ###############################################################################
938
- # J. PUSH REJECT – Push bildirimi reddedildi
939
- ###############################################################################
940
-
941
- ### J1 – Start: IbWeb login (push red testi)
942
- # @name startPushReject
943
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
944
- Accept-Language: tr-TR
945
- X-Request-Id: {{$guid}}
946
- X-Device-Id: device-iphone-12-john
947
- X-Token-Id: {{$guid}}
948
- X-Device-Info: Internet Banking Web/3.0
949
- X-Forwarded-For: 192.168.1.100
950
- user_reference: 12340
951
- Content-Type: application/json
952
-
953
- {
954
- "key": "login-push-reject-{{$timestamp}}-{{$randomInt 1000 9999}}",
955
- "tags": ["coverage", "push-reject"],
956
- "attributes": {
957
- "clientId": "IbWeb",
958
- "grantType": "authorization_code",
959
- "scopes": ["IbCustomer"],
960
- "userName": "1234",
961
- "password": "AQAAAAEAACcQAAAAEMGEIyJUHOS6ZicxMY/yOvmBmizkzIeGsNbuwheBbFwvDGzqKMXYKzt6mG15eErOZw==",
962
- "deviceId": "i1",
963
- "installationId": "installation-ios-001",
964
- "loginMethod": "password",
965
- "ipAddress": "192.168.1.100"
966
- }
967
- }
968
-
969
- ### J2 – Login transition: akışı başlat
970
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startPushReject.response.body.id}}/transitions/login?sync=true
971
- Accept-Language: tr-TR
972
- X-Request-Id: {{$guid}}
973
- X-Device-Id: device-iphone-12-john
974
- X-Token-Id: {{$guid}}
975
- X-Device-Info: Internet Banking Web/3.0
976
- X-Forwarded-For: 192.168.1.100
977
- user_reference: 12340
978
- Content-Type: application/json
979
-
980
- {
981
- "attributes": {}
982
- }
983
-
984
- ### J3 – Reject Push: Kullanıcı push reddeder
985
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startPushReject.response.body.id}}/transitions/reject-push?sync=true
986
- Accept-Language: tr-TR
987
- X-Request-Id: {{$guid}}
988
- X-Device-Id: device-iphone-12-john
989
- X-Token-Id: {{$guid}}
990
- X-Device-Info: Mobile Banking App iOS/2.0
991
- X-Forwarded-For: 192.168.1.100
992
- user_reference: 12340
993
- Content-Type: application/json
994
-
995
- {
996
- "attributes": {
997
- "approved": false,
998
- "rejectionReason": "user_declined"
999
- }
1000
- }
1001
-
1002
- ### J4 – Push reject sonrası: State kontrol
1003
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startPushReject.response.body.id}}/functions/state
1004
- Accept-Language: tr-TR
1005
- X-Request-Id: {{$guid}}
1006
- X-Device-Id: {{$guid}}
1007
- X-Token-Id: {{$guid}}
1008
- user_reference: 12340
1009
-
1010
- ###############################################################################
1011
- # K. PUSH TIMEOUT → OTP FALLBACK
1012
- # Push süresi doldu, OTP akışına düşer
1013
- ###############################################################################
1014
-
1015
- ### K1 – Start: IbWeb login (push timeout testi)
1016
- # @name startPushTimeout
1017
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
1018
- Accept-Language: tr-TR
1019
- X-Request-Id: {{$guid}}
1020
- X-Device-Id: device-iphone-12-john
1021
- X-Token-Id: {{$guid}}
1022
- X-Device-Info: Internet Banking Web/3.0
1023
- X-Forwarded-For: 192.168.1.100
1024
- user_reference: 12340
1025
- Content-Type: application/json
1026
-
1027
- {
1028
- "key": "login-push-timeout-{{$timestamp}}-{{$randomInt 1000 9999}}",
1029
- "tags": ["coverage", "push-timeout", "otp-fallback"],
1030
- "attributes": {
1031
- "clientId": "IbWeb",
1032
- "grantType": "authorization_code",
1033
- "scopes": ["IbCustomer"],
1034
- "userName": "1234",
1035
- "password": "AQAAAAEAACcQAAAAEMGEIyJUHOS6ZicxMY/yOvmBmizkzIeGsNbuwheBbFwvDGzqKMXYKzt6mG15eErOZw==",
1036
- "deviceId": "i1",
1037
- "installationId": "installation-ios-001",
1038
- "loginMethod": "password",
1039
- "ipAddress": "192.168.1.100"
1040
- }
1041
- }
1042
-
1043
- ### K2 – Login transition: akışı başlat
1044
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startPushTimeout.response.body.id}}/transitions/login?sync=true
1045
- Accept-Language: tr-TR
1046
- X-Request-Id: {{$guid}}
1047
- X-Device-Id: device-iphone-12-john
1048
- X-Token-Id: {{$guid}}
1049
- X-Device-Info: Internet Banking Web/3.0
1050
- X-Forwarded-For: 192.168.1.100
1051
- user_reference: 12340
1052
- Content-Type: application/json
1053
-
1054
- {
1055
- "attributes": {}
1056
- }
1057
-
1058
- ### K3 – Push Timeout: Push süresi doldu → OTP'ye düş
1059
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startPushTimeout.response.body.id}}/transitions/push-timeout?sync=true
1060
- Accept-Language: tr-TR
1061
- X-Request-Id: {{$guid}}
1062
- X-Device-Id: device-iphone-12-john
1063
- X-Token-Id: {{$guid}}
1064
- X-Device-Info: Mobile Banking App iOS/2.0
1065
- X-Forwarded-For: 192.168.1.100
1066
- user_reference: 12340
1067
- Content-Type: application/json
1068
-
1069
- {
1070
- "attributes": {
1071
- "reason": "Push notification expired after 2 minutes",
1072
- "fallbackToOtp": true
1073
- }
1074
- }
1075
-
1076
- ### K4 – Push timeout sonrası: State kontrol (OTP bekleniyor olmalı)
1077
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startPushTimeout.response.body.id}}/functions/state
1078
- Accept-Language: tr-TR
1079
- X-Request-Id: {{$guid}}
1080
- X-Device-Id: {{$guid}}
1081
- X-Token-Id: {{$guid}}
1082
- user_reference: 12340
1083
-
1084
- ### K5 – Verify OTP: Push timeout sonrası OTP doğrula
1085
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startPushTimeout.response.body.id}}/transitions/verify-otp?sync=true
1086
- Accept-Language: tr-TR
1087
- X-Request-Id: {{$guid}}
1088
- X-Device-Id: device-iphone-12-john
1089
- X-Token-Id: {{$guid}}
1090
- X-Device-Info: Mobile Banking App iOS/2.0
1091
- X-Forwarded-For: 192.168.1.100
1092
- user_reference: 12340
1093
- Content-Type: application/json
1094
-
1095
- {
1096
- "attributes": {
1097
- "otpReference": "270896"
1098
- }
1099
- }
1100
-
1101
- ### K6 – OTP sonrası: State kontrol
1102
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startPushTimeout.response.body.id}}/functions/state
1103
- Accept-Language: tr-TR
1104
- X-Request-Id: {{$guid}}
1105
- X-Device-Id: {{$guid}}
1106
- X-Token-Id: {{$guid}}
1107
- user_reference: 12340
1108
-
1109
- ###############################################################################
1110
- # L. OTP FLOW – Yeni cihaz, OTP doğrulama
1111
- ###############################################################################
1112
-
1113
- ### L1 – Start: Yeni cihaz ile login (OTP akışı)
1114
- # @name startOtpFlow
1115
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
1116
- Accept-Language: tr-TR
1117
- X-Request-Id: {{$guid}}
1118
- X-Device-Id: new-device-{{$guid}}
1119
- X-Token-Id: {{$guid}}
1120
- X-Device-Info: New Device Browser/1.0
1121
- X-Forwarded-For: 192.168.1.200
1122
- user_reference: 12340
1123
- Content-Type: application/json
1124
-
1125
- {
1126
- "key": "login-otp-{{$timestamp}}-{{$randomInt 1000 9999}}",
1127
- "tags": ["coverage", "otp-flow", "new-device"],
1128
- "attributes": {
1129
- "clientId": "IbWeb",
1130
- "grantType": "authorization_code",
1131
- "scopes": ["IbCustomer"],
1132
- "userName": "1234",
1133
- "password": "AQAAAAEAACcQAAAAEMGEIyJUHOS6ZicxMY/yOvmBmizkzIeGsNbuwheBbFwvDGzqKMXYKzt6mG15eErOZw==",
1134
- "deviceId": "new-device-not-registered",
1135
- "loginMethod": "password",
1136
- "ipAddress": "192.168.1.200",
1137
- "userAgent": "New Device Browser/1.0",
1138
- "loginTimestamp": "{{$datetime iso8601}}",
1139
- "codeChallenge": "yqvaFgKSIL_-BDqEL8DlnlWuJ8BFr_OE6ZZRhdRj6uk",
1140
- "codeChallengeMethod": "S256",
1141
- "sessionMetadata": {
1142
- "deviceFingerprint": "new-fingerprint-xyz",
1143
- "isNewDevice": true
1144
- }
1145
- }
1146
- }
1147
-
1148
- ### L2 – Login transition: akışı başlat
1149
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startOtpFlow.response.body.id}}/transitions/login?sync=true
1150
- Accept-Language: tr-TR
1151
- X-Request-Id: {{$guid}}
1152
- X-Device-Id: new-device-{{$guid}}
1153
- X-Token-Id: {{$guid}}
1154
- X-Device-Info: New Device Browser/1.0
1155
- X-Forwarded-For: 192.168.1.200
1156
- user_reference: 12340
1157
- Content-Type: application/json
1158
-
1159
- {
1160
- "attributes": {}
1161
- }
1162
-
1163
- ### L3 – OTP flow: State kontrol (otp-waiting beklenir)
1164
- # @name getOtpFlowState
1165
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startOtpFlow.response.body.id}}/functions/state
1166
- Accept-Language: tr-TR
1167
- X-Request-Id: {{$guid}}
1168
- X-Device-Id: {{$guid}}
1169
- X-Token-Id: {{$guid}}
1170
- user_reference: 12340
1171
-
1172
- ### L4 – Verify OTP: OTP kodunu doğrula
1173
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startOtpFlow.response.body.id}}/transitions/verify-otp?sync=true
1174
- Accept-Language: tr-TR
1175
- X-Request-Id: {{$guid}}
1176
- X-Device-Id: new-device-{{$guid}}
1177
- X-Token-Id: {{$guid}}
1178
- X-Device-Info: New Device Browser/1.0
1179
- X-Forwarded-For: 192.168.1.200
1180
- user_reference: 12340
1181
- Content-Type: application/json
1182
-
1183
- {
1184
- "attributes": {
1185
- "otpReference": "270896"
1186
- }
1187
- }
1188
-
1189
- ### L5 – OTP doğrulama sonrası: State kontrol
1190
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startOtpFlow.response.body.id}}/functions/state
1191
- Accept-Language: tr-TR
1192
- X-Request-Id: {{$guid}}
1193
- X-Device-Id: {{$guid}}
1194
- X-Token-Id: {{$guid}}
1195
- user_reference: 12340
1196
-
1197
- ### L6 – OTP doğrulama sonrası: Instance data
1198
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startOtpFlow.response.body.id}}/functions/data
1199
- Accept-Language: tr-TR
1200
- X-Request-Id: {{$guid}}
1201
- X-Device-Id: {{$guid}}
1202
- X-Token-Id: {{$guid}}
1203
- user_reference: 12340
1204
-
1205
- ###############################################################################
1206
- # M. OTP TIMEOUT – OTP süresi doldu
1207
- ###############################################################################
1208
-
1209
- ### M1 – Start: OTP timeout testi
1210
- # @name startOtpTimeout
1211
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
1212
- Accept-Language: tr-TR
1213
- X-Request-Id: {{$guid}}
1214
- X-Device-Id: new-device-timeout
1215
- X-Token-Id: {{$guid}}
1216
- X-Device-Info: New Device Browser/1.0
1217
- X-Forwarded-For: 192.168.1.200
1218
- user_reference: 12340
1219
- Content-Type: application/json
1220
-
1221
- {
1222
- "key": "login-otp-timeout-{{$timestamp}}-{{$randomInt 1000 9999}}",
1223
- "tags": ["coverage", "otp-timeout"],
1224
- "attributes": {
1225
- "clientId": "IbWeb",
1226
- "grantType": "authorization_code",
1227
- "scopes": ["IbCustomer"],
1228
- "userName": "1234",
1229
- "password": "AQAAAAEAACcQAAAAEMGEIyJUHOS6ZicxMY/yOvmBmizkzIeGsNbuwheBbFwvDGzqKMXYKzt6mG15eErOZw==",
1230
- "deviceId": "new-device-timeout",
1231
- "loginMethod": "password",
1232
- "ipAddress": "192.168.1.200"
1233
- }
1234
- }
1235
-
1236
- ### M2 – Login transition: akışı başlat
1237
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startOtpTimeout.response.body.id}}/transitions/login?sync=true
1238
- Accept-Language: tr-TR
1239
- X-Request-Id: {{$guid}}
1240
- X-Device-Id: new-device-timeout
1241
- X-Token-Id: {{$guid}}
1242
- X-Device-Info: New Device Browser/1.0
1243
- X-Forwarded-For: 192.168.1.200
1244
- user_reference: 12340
1245
- Content-Type: application/json
1246
-
1247
- {
1248
- "attributes": {}
1249
- }
1250
-
1251
- ### M3 – OTP Timeout: otp-timeout artık scheduled bir transition (OtpTimeoutTimer.csx,
1252
- ### otpGeneratedAt + 180sn dolunca runtime otomatik tetikler → otp-resend state'i).
1253
- ### Manuel PATCH geçerli değildir; timer'ın ateşlenmesini bekleyin.
1254
- # PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startOtpTimeout.response.body.id}}/transitions/otp-timeout?sync=true
1255
- # Accept-Language: tr-TR
1256
- # X-Request-Id: {{$guid}}
1257
- # X-Device-Id: new-device-timeout
1258
- # X-Token-Id: {{$guid}}
1259
- # X-Device-Info: New Device Browser/1.0
1260
- # X-Forwarded-For: 192.168.1.200
1261
- # user_reference: 12340
1262
- # Content-Type: application/json
1263
- #
1264
- # {
1265
- # "attributes": {}
1266
- # }
1267
-
1268
- ### M4 – OTP timeout sonrası: State kontrol
1269
- ### Beklenen: "otp-resend" (timer ateşlendikten, yani OTP gönderiminden ~180sn sonra)
1270
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startOtpTimeout.response.body.id}}/functions/state
1271
- Accept-Language: tr-TR
1272
- X-Request-Id: {{$guid}}
1273
- X-Device-Id: {{$guid}}
1274
- X-Token-Id: {{$guid}}
1275
- user_reference: 12340
1276
-
1277
- ### M5 – Resend OTP: Yeni kod iste (otp-resend → otp-send → otp-waiting)
1278
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startOtpTimeout.response.body.id}}/transitions/resend-otp?sync=true
1279
- Accept-Language: tr-TR
1280
- X-Request-Id: {{$guid}}
1281
- X-Device-Id: new-device-timeout
1282
- X-Token-Id: {{$guid}}
1283
- X-Device-Info: New Device Browser/1.0
1284
- X-Forwarded-For: 192.168.1.200
1285
- user_reference: 12340
1286
- Content-Type: application/json
1287
-
1288
- {
1289
- "attributes": {}
1290
- }
1291
-
1292
- ###############################################################################
1293
- # N. SECURITY CHECK – Güvenlik sorusu ve anti-phishing image
1294
- # → security-check (subflow) → set-security-question → set-security-image
1295
- ###############################################################################
1296
-
1297
- ### N1 – Start: Güvenlik verisi eksik kullanıcı login
1298
- # @name startSecurityCheck
1299
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
1300
- Accept-Language: tr-TR
1301
- X-Request-Id: {{$guid}}
1302
- X-Device-Id: device-iphone-12-john
1303
- X-Token-Id: {{$guid}}
1304
- X-Device-Info: Mobile Banking App iOS/2.0
1305
- X-Forwarded-For: 192.168.1.100
1306
- user_reference: 12340
1307
- Content-Type: application/json
1308
-
1309
- {
1310
- "key": "login-security-{{$timestamp}}-{{$randomInt 1000 9999}}",
1311
- "tags": ["coverage", "security-check", "security-question"],
1312
- "attributes": {
1313
- "clientId": "IbWeb",
1314
- "grantType": "authorization_code",
1315
- "scopes": ["IbCustomer"],
1316
- "userName": "1234",
1317
- "password": "AQAAAAEAACcQAAAAEMGEIyJUHOS6ZicxMY/yOvmBmizkzIeGsNbuwheBbFwvDGzqKMXYKzt6mG15eErOZw==",
1318
- "deviceId": "i1",
1319
- "installationId": "installation-ios-001",
1320
- "loginMethod": "password",
1321
- "ipAddress": "192.168.1.100",
1322
- "codeChallenge": "yqvaFgKSIL_-BDqEL8DlnlWuJ8BFr_OE6ZZRhdRj6uk",
1323
- "codeChallengeMethod": "S256"
1324
- }
1325
- }
1326
-
1327
- ### N2 – Login transition: akışı başlat
1328
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startSecurityCheck.response.body.id}}/transitions/login?sync=true
1329
- Accept-Language: tr-TR
1330
- X-Request-Id: {{$guid}}
1331
- X-Device-Id: device-iphone-12-john
1332
- X-Token-Id: {{$guid}}
1333
- X-Device-Info: Mobile Banking App iOS/2.0
1334
- X-Forwarded-For: 192.168.1.100
1335
- user_reference: 12340
1336
- Content-Type: application/json
1337
-
1338
- {
1339
- "attributes": {}
1340
- }
1341
-
1342
- ### N3 – Security check: State kontrol (security-check subflow aktif olmalı)
1343
- # @name getSecurityCheckState
1344
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startSecurityCheck.response.body.id}}/functions/state
1345
- Accept-Language: tr-TR
1346
- X-Request-Id: {{$guid}}
1347
- X-Device-Id: {{$guid}}
1348
- X-Token-Id: {{$guid}}
1349
- user_reference: 12340
1350
-
1351
- ### N4 – Set Security Question: Güvenlik sorusunu ayarla
1352
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startSecurityCheck.response.body.id}}/transitions/set-security-question?sync=true
1353
- Accept-Language: tr-TR
1354
- X-Request-Id: {{$guid}}
1355
- X-Device-Id: device-iphone-12-john
1356
- X-Token-Id: {{$guid}}
1357
- X-Device-Info: Mobile Banking App iOS/2.0
1358
- X-Forwarded-For: 192.168.1.100
1359
- user_reference: 12340
1360
- Content-Type: application/json
1361
-
1362
- {
1363
- "attributes": {
1364
- "securityQuestion": "İlk evcil hayvanınızın adı nedir?",
1365
- "securityAnswer": "Pamuk"
1366
- }
1367
- }
1368
-
1369
- ### N5 – Security question sonrası: State kontrol
1370
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startSecurityCheck.response.body.id}}/functions/state
1371
- Accept-Language: tr-TR
1372
- X-Request-Id: {{$guid}}
1373
- X-Device-Id: {{$guid}}
1374
- X-Token-Id: {{$guid}}
1375
- user_reference: 12340
1376
-
1377
- ### N6 – Set Security Image: Anti-phishing görseli seç
1378
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startSecurityCheck.response.body.id}}/transitions/set-security-image?sync=true
1379
- Accept-Language: tr-TR
1380
- X-Request-Id: {{$guid}}
1381
- X-Device-Id: device-iphone-12-john
1382
- X-Token-Id: {{$guid}}
1383
- X-Device-Info: Mobile Banking App iOS/2.0
1384
- X-Forwarded-For: 192.168.1.100
1385
- user_reference: 12340
1386
- Content-Type: application/json
1387
-
1388
- {
1389
- "attributes": {
1390
- "securityImage": "sunset-beach-palm",
1391
- "securityImageCategory": "nature"
1392
- }
1393
- }
1394
-
1395
- ### N7 – Security image sonrası: State kontrol
1396
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startSecurityCheck.response.body.id}}/functions/state
1397
- Accept-Language: tr-TR
1398
- X-Request-Id: {{$guid}}
1399
- X-Device-Id: {{$guid}}
1400
- X-Token-Id: {{$guid}}
1401
- user_reference: 12340
1402
-
1403
- ### N8 – Security check: Instance data
1404
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startSecurityCheck.response.body.id}}/functions/data
1405
- Accept-Language: tr-TR
1406
- X-Request-Id: {{$guid}}
1407
- X-Device-Id: {{$guid}}
1408
- X-Token-Id: {{$guid}}
1409
- user_reference: 12340
1410
-
1411
- ###############################################################################
1412
- # O. CORPORATE LOGIN – Corporate customers, scope ile login
1413
- # scopeGroup=corporate-customers + scope="corp-branch-001" set edilmiş
1414
- # CorporateScopeMissingRule FALSE döner → client-valid yolundan devam
1415
- ###############################################################################
1416
-
1417
- ### O1 – Start: Corporate kullanıcı login (scope ile)
1418
- # @name startCorporateLogin
1419
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
1420
- Accept-Language: tr-TR
1421
- X-Request-Id: {{$guid}}
1422
- X-Device-Id: device-corporate-001
1423
- X-Token-Id: {{$guid}}
1424
- X-Device-Info: Corporate Portal/1.0
1425
- X-Forwarded-For: 10.0.0.50
1426
- # Stored raw as geoLocation at draft; get-last-successful-corporate-logon returns it after login-success.
1427
- X-Location: Latitude: 41.0082, Longitude: 28.9784
1428
- user_reference: 99887766554
1429
- Content-Type: application/json
1430
-
1431
- {
1432
- "key": "login-corporate-{{$timestamp}}-{{$randomInt 1000 9999}}",
1433
- "tags": ["coverage", "corporate", "scope-group"],
1434
- "attributes": {
1435
- "clientId": "IbWeb",
1436
- "grantType": "authorization_code",
1437
- "scopes": ["CorporateCustomer"],
1438
- "scopeGroup": "corporate-customers",
1439
- "scope": "corp-branch-001",
1440
- "userName": "corporate-user-001",
1441
- "password": "AQAAAAEAACcQAAAAEMGEIyJUHOS6ZicxMY/yOvmBmizkzIeGsNbuwheBbFwvDGzqKMXYKzt6mG15eErOZw==",
1442
- "deviceId": "device-corporate-001",
1443
- "installationId": "installation-corp-001",
1444
- "loginMethod": "password",
1445
- "ipAddress": "10.0.0.50",
1446
- "codeChallenge": "yqvaFgKSIL_-BDqEL8DlnlWuJ8BFr_OE6ZZRhdRj6uk",
1447
- "codeChallengeMethod": "S256"
1448
- }
1449
- }
1450
-
1451
- ### O2 – Login transition: akışı başlat
1452
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startCorporateLogin.response.body.id}}/transitions/login?sync=true
1453
- Accept-Language: tr-TR
1454
- X-Request-Id: {{$guid}}
1455
- X-Device-Id: device-corporate-001
1456
- X-Token-Id: {{$guid}}
1457
- X-Device-Info: Corporate Portal/1.0
1458
- X-Forwarded-For: 10.0.0.50
1459
- user_reference: 99887766554
1460
- Content-Type: application/json
1461
-
1462
- {
1463
- "attributes": {}
1464
- }
1465
-
1466
- ### O3 – Corporate login: State kontrol
1467
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startCorporateLogin.response.body.id}}/functions/state
1468
- Accept-Language: tr-TR
1469
- X-Request-Id: {{$guid}}
1470
- X-Device-Id: {{$guid}}
1471
- X-Token-Id: {{$guid}}
1472
- user_reference: 99887766554
1473
-
1474
- ### O4 – Corporate login: Instance data
1475
- # userName corporate flow'da "corporate-user-001-corp-branch-001" olarak birleştirilmeli
1476
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startCorporateLogin.response.body.id}}/functions/data
1477
- Accept-Language: tr-TR
1478
- X-Request-Id: {{$guid}}
1479
- X-Device-Id: {{$guid}}
1480
- X-Token-Id: {{$guid}}
1481
- user_reference: 99887766554
1482
-
1483
- ###############################################################################
1484
- # P. CONSENT SELECTION SUBFLOW – Rıza seçimi testi
1485
- ###############################################################################
1486
-
1487
- ### P1 – Start: Consent selection testi
1488
- # @name startConsentTest
1489
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
1490
- Accept-Language: tr-TR
1491
- X-Request-Id: {{$guid}}
1492
- X-Device-Id: device-iphone-12-john
1493
- X-Token-Id: {{$guid}}
1494
- X-Device-Info: Mobile Banking App iOS/2.0
1495
- X-Forwarded-For: 192.168.1.100
1496
- user_reference: 12340
1497
- Content-Type: application/json
1498
-
1499
- {
1500
- "key": "login-consent-{{$timestamp}}-{{$randomInt 1000 9999}}",
1501
- "tags": ["coverage", "consent-selection"],
1502
- "attributes": {
1503
- "clientId": "IbWeb",
1504
- "grantType": "authorization_code",
1505
- "scopes": ["IbCustomer"],
1506
- "userName": "1234",
1507
- "password": "AQAAAAEAACcQAAAAEMGEIyJUHOS6ZicxMY/yOvmBmizkzIeGsNbuwheBbFwvDGzqKMXYKzt6mG15eErOZw==",
1508
- "consentId": "consent-john-doe-mobile-banking-customer-123",
1509
- "deviceId": "i1",
1510
- "installationId": "installation-ios-001",
1511
- "loginMethod": "password",
1512
- "ipAddress": "192.168.1.100",
1513
- "allowConsentSelection": true,
1514
- "codeChallenge": "yqvaFgKSIL_-BDqEL8DlnlWuJ8BFr_OE6ZZRhdRj6uk",
1515
- "codeChallengeMethod": "S256"
1516
- }
1517
- }
1518
-
1519
- ### P2 – Login transition: akışı başlat
1520
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startConsentTest.response.body.id}}/transitions/login?sync=true
1521
- Accept-Language: tr-TR
1522
- X-Request-Id: {{$guid}}
1523
- X-Device-Id: device-iphone-12-john
1524
- X-Token-Id: {{$guid}}
1525
- X-Device-Info: Mobile Banking App iOS/2.0
1526
- X-Forwarded-For: 192.168.1.100
1527
- user_reference: 12340
1528
- Content-Type: application/json
1529
-
1530
- {
1531
- "attributes": {}
1532
- }
1533
-
1534
- ### P3 – Consent test: State kontrol
1535
- # @name getConsentTestState
1536
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startConsentTest.response.body.id}}/functions/state
1537
- Accept-Language: tr-TR
1538
- X-Request-Id: {{$guid}}
1539
- X-Device-Id: {{$guid}}
1540
- X-Token-Id: {{$guid}}
1541
- user_reference: 12340
1542
-
1543
- ### P4 – Consent test: SubFlow bilgileri
1544
- ###
1545
- @consentSubFlowName = {{getConsentTestState.response.body.activeCorrelations[0].subFlowName}}
1546
- @consentSubFlowInstanceId = {{getConsentTestState.response.body.activeCorrelations[0].subFlowInstanceId}}
1547
-
1548
- ### P5 – Consent SubFlow: State kontrol
1549
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{consentSubFlowName}}/instances/{{consentSubFlowInstanceId}}/functions/state
1550
- Accept-Language: tr-TR
1551
- X-Request-Id: {{$guid}}
1552
- X-Device-Id: {{$guid}}
1553
- X-Token-Id: {{$guid}}
1554
- user_reference: 12340
1555
-
1556
- ### P6 – Consent SubFlow: Data kontrol
1557
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{consentSubFlowName}}/instances/{{consentSubFlowInstanceId}}/functions/data
1558
- Accept-Language: tr-TR
1559
- X-Request-Id: {{$guid}}
1560
- X-Device-Id: {{$guid}}
1561
- X-Token-Id: {{$guid}}
1562
- user_reference: 12340
1563
-
1564
- ###############################################################################
1565
- # Q. AUTHORIZATION CODE REDEEM – Login başarılı sonrası token alma
1566
- ###############################################################################
1567
-
1568
- ### Q1 – Start: Login sonrası redeem testi
1569
- # @name startForRedeem
1570
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
1571
- Accept-Language: tr-TR
1572
- X-Request-Id: {{$guid}}
1573
- X-Device-Id: device-iphone-12-john
1574
- X-Token-Id: {{$guid}}
1575
- X-Device-Info: Mobile Banking App iOS/2.0
1576
- X-Forwarded-For: 192.168.1.100
1577
- user_reference: 12340
1578
- Content-Type: application/json
1579
-
1580
- {
1581
- "key": "login-redeem-{{$timestamp}}-{{$randomInt 1000 9999}}",
1582
- "tags": ["coverage", "redeem", "token"],
1583
- "attributes": {
1584
- "clientId": "IbWeb",
1585
- "grantType": "authorization_code",
1586
- "scopes": ["IbCustomer"],
1587
- "userName": "1234",
1588
- "password": "AQAAAAEAACcQAAAAEMGEIyJUHOS6ZicxMY/yOvmBmizkzIeGsNbuwheBbFwvDGzqKMXYKzt6mG15eErOZw==",
1589
- "consentId": "consent-john-doe-mobile-banking-customer-123",
1590
- "deviceId": "i1",
1591
- "installationId": "installation-ios-001",
1592
- "loginMethod": "password",
1593
- "ipAddress": "192.168.1.100",
1594
- "codeChallenge": "yqvaFgKSIL_-BDqEL8DlnlWuJ8BFr_OE6ZZRhdRj6uk",
1595
- "codeChallengeMethod": "S256"
1596
- }
1597
- }
1598
-
1599
- ### Q2 – Login transition: akışı başlat
1600
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startForRedeem.response.body.id}}/transitions/login?sync=true
1601
- Accept-Language: tr-TR
1602
- X-Request-Id: {{$guid}}
1603
- X-Device-Id: device-iphone-12-john
1604
- X-Token-Id: {{$guid}}
1605
- X-Device-Info: Mobile Banking App iOS/2.0
1606
- X-Forwarded-For: 192.168.1.100
1607
- user_reference: 12340
1608
- Content-Type: application/json
1609
-
1610
- {
1611
- "attributes": {}
1612
- }
1613
-
1614
- ### Q3 – Instance data: authorizationCode al
1615
- # @name getRedeemData
1616
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startForRedeem.response.body.id}}/functions/data
1617
- Accept-Language: tr-TR
1618
- X-Request-Id: {{$guid}}
1619
- X-Device-Id: {{$guid}}
1620
- X-Token-Id: {{$guid}}
1621
- user_reference: 12340
1622
-
1623
- ###
1624
- @redeemAuthCode = {{getRedeemData.response.body.data.authCode.authorizationCode}}
1625
-
1626
- ### Q4 – Redeem Authorization Code
1627
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startForRedeem.response.body.id}}/transitions/redeem?sync=true
1628
- Accept-Language: tr-TR
1629
- X-Request-Id: {{$guid}}
1630
- X-Device-Id: admin-portal
1631
- X-Token-Id: {{$guid}}
1632
- X-Device-Info: Admin Portal/1.0
1633
- X-Forwarded-For: 192.168.1.100
1634
- user_reference: admin-001
1635
- Content-Type: application/json
1636
-
1637
- {
1638
- "attributes": {
1639
- "authorizationCode": "{{redeemAuthCode}}"
1640
- }
1641
- }
1642
-
1643
- ### Q5 – Redeem sonrası: State kontrol
1644
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startForRedeem.response.body.id}}/functions/state
1645
- Accept-Language: tr-TR
1646
- X-Request-Id: {{$guid}}
1647
- X-Device-Id: {{$guid}}
1648
- X-Token-Id: {{$guid}}
1649
- user_reference: 12340
1650
-
1651
- ### Q6 – Redeem sonrası: Instance data (tokenStatus kontrol)
1652
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startForRedeem.response.body.id}}/functions/data
1653
- Accept-Language: tr-TR
1654
- X-Request-Id: {{$guid}}
1655
- X-Device-Id: {{$guid}}
1656
- X-Token-Id: {{$guid}}
1657
- user_reference: 12340
1658
-
1659
- ###############################################################################
1660
- # R. MOBILE LOGIN – Mobil bankacılık client ile doğrudan login
1661
- ###############################################################################
1662
-
1663
- ### R1 – Start: Mobil bankacılık uygulaması login
1664
- # @name startMobileLogin
1665
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
1666
- Accept-Language: tr-TR
1667
- X-Request-Id: {{$guid}}
1668
- X-Device-Id: device-iphone-12-john
1669
- X-Token-Id: {{$guid}}
1670
- X-Device-Info: Mobile Banking App iOS/2.0
1671
- X-Forwarded-For: 192.168.1.100
1672
- user_reference: 12340
1673
- Content-Type: application/json
1674
-
1675
- {
1676
- "key": "login-mobile-{{$timestamp}}-{{$randomInt 1000 9999}}",
1677
- "tags": ["coverage", "mobile", "direct-flow"],
1678
- "attributes": {
1679
- "clientId": "MobileBanking",
1680
- "grantType": "authorization_code",
1681
- "scopes": ["MbCustomer"],
1682
- "userName": "1234",
1683
- "password": "AQAAAAEAACcQAAAAEMGEIyJUHOS6ZicxMY/yOvmBmizkzIeGsNbuwheBbFwvDGzqKMXYKzt6mG15eErOZw==",
1684
- "deviceId": "device-iphone-12-john",
1685
- "installationId": "installation-ios-001",
1686
- "loginMethod": "password",
1687
- "ipAddress": "192.168.1.100",
1688
- "userAgent": "Mobile Banking App iOS/2.0",
1689
- "loginTimestamp": "{{$datetime iso8601}}",
1690
- "codeChallenge": "yqvaFgKSIL_-BDqEL8DlnlWuJ8BFr_OE6ZZRhdRj6uk",
1691
- "codeChallengeMethod": "S256",
1692
- "sessionMetadata": {
1693
- "deviceFingerprint": "abc123xyz789",
1694
- "geolocation": {
1695
- "country": "TR",
1696
- "city": "Istanbul"
1697
- }
1698
- }
1699
- }
1700
- }
1701
-
1702
- ### R2 – Login transition: akışı başlat
1703
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startMobileLogin.response.body.id}}/transitions/login?sync=true
1704
- Accept-Language: tr-TR
1705
- X-Request-Id: {{$guid}}
1706
- X-Device-Id: device-iphone-12-john
1707
- X-Token-Id: {{$guid}}
1708
- X-Device-Info: Mobile Banking App iOS/2.0
1709
- X-Forwarded-For: 192.168.1.100
1710
- user_reference: 12340
1711
- Content-Type: application/json
1712
-
1713
- {
1714
- "attributes": {}
1715
- }
1716
-
1717
- ### R3 – Mobile login: State kontrol
1718
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startMobileLogin.response.body.id}}/functions/state
1719
- Accept-Language: tr-TR
1720
- X-Request-Id: {{$guid}}
1721
- X-Device-Id: {{$guid}}
1722
- X-Token-Id: {{$guid}}
1723
- user_reference: 12340
1724
-
1725
- ### R4 – Mobile login: Instance data
1726
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startMobileLogin.response.body.id}}/functions/data
1727
- Accept-Language: tr-TR
1728
- X-Request-Id: {{$guid}}
1729
- X-Device-Id: {{$guid}}
1730
- X-Token-Id: {{$guid}}
1731
- user_reference: 12340
1732
-
1733
- ###############################################################################
1734
- # S. UTILITY – Genel sorgulama istekleri
1735
- ###############################################################################
1736
-
1737
- ### S1 – Tüm login instance'larını listele
1738
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances
1739
- Accept-Language: tr-TR
1740
- X-Request-Id: {{$guid}}
1741
- X-Device-Id: {{$guid}}
1742
- X-Token-Id: {{$guid}}
1743
- user_reference: 12340
1744
-
1745
- ### S2 – Belirli instance key ile data sorgula
1746
- @queryInstanceKey = login-happy-1234-1234
1747
- ###
1748
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{queryInstanceKey}}/functions/data
1749
- Accept-Language: tr-TR
1750
- X-Request-Id: {{$guid}}
1751
- X-Device-Id: {{$guid}}
1752
- X-Token-Id: {{$guid}}
1753
- user_reference: 12340
1754
-
1755
- ### S3 – Belirli instance key ile state sorgula
1756
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{queryInstanceKey}}/functions/state
1757
- Accept-Language: tr-TR
1758
- X-Request-Id: {{$guid}}
1759
- X-Device-Id: {{$guid}}
1760
- X-Token-Id: {{$guid}}
1761
- user_reference: 12340