@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,743 +0,0 @@
1
- ### otp-auth-code — uctan uca test
2
- ### TCKN + telefon -> OTP gonder -> dogrula -> authorization code akisina devret.
3
- ### Kodu bu akis URETMEZ; cagirdigi akisin dondurdugu kimligi authorizationCode'da tasir.
4
- ###
5
- ### @baseUrl REST Client ortamindan gelir (.vscode/settings.json).
6
- ### Mock yok: gercek Asgard (MorphIdm:AsgardService:BaseUrl) ve Messaging Gateway kullanilir.
7
- ### otpCode functions/data yanitinda DUZ durur; @otp'yi oradan guncelleyin (gercek telefon sart degil).
8
- ### KEY'LER SABIT: {{$timestamp}} kullanmayin (POST bir instance acar, PATCH baskasini arar);
9
- ### her denemede @degiskenin sonundaki sayiyi artirin.
10
-
11
- @apiVersion = 1
12
- @domain = morph-idm
13
- @workflow = otp-auth-code
14
- @otp = 000000
15
- @clientId = IbWeb
16
- @baseUrl = https://test-vnext-morph-idm.apps.nonprod.ebt.bank
17
-
18
- ### PKCE cifti (RFC 7636 ornegi, yalnizca test): challenge = BASE64URL(SHA256(verifier))
19
- @codeVerifier = dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk
20
- @codeChallenge = E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM
21
-
22
- ### ZORUNLU: processName, tckn, scopeGroup + kosullu userProfile (edinim ya da kurumsal)
23
- ### scope = Musteri No, zorunlulugu processName'e bagli:
24
- ### bireysel -> zorunlu degil, gonderilse bile yok sayilir
25
- ### kurumsal + consent-verification -> zorunlu degil (effectiveScope = tckn)
26
- ### kurumsal + baska processName -> ZORUNLU; yoksa start 400 / SCOPE_REQUIRED
27
- ### Gonderildiginde resolve-scope'ta okunur; kayit yoksa SCOPE_NOT_FOUND (SMS gitmez).
28
- ### VARSAYILANLI: otpAttempt=3 otpDuration=120 otpMaxDeliveryAttempts=3 language=tr-TR
29
- ### OPSIYONEL: otpPageTitle OTP ekraninin basligidir; verilmezse extension bos string doner.
30
- ### DEVIR PAKETI (okunmaz, iletilir): clientId redirectUri nonce codeChallenge(+Method) consent
31
- ###
32
- ### REDEEM (bu akis yapmaz; POST {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/functions/token-direct):
33
- ### codeChallenge YOKSA -> grant_type=urn:ietf:params:oauth:grant-type:boarding (verifier gerekmez)
34
- ### codeChallenge VARSA -> grant_type=authorization_code + code_verifier
35
- ### Ikisini karistirmak 473 verir. Kod bozdurulmadan test yarim kalir.
36
- ###
37
- ### clientId START'ta GONDERILMELI. Sema onu opsiyonel gosteriyor ama kod bozdurulurken
38
- ### token akisi client dogrulamasi yapiyor: clientId yoksa redeem 470 "Invalid Authorization
39
- ### Code" verir ve token instance'i client-validation-failed'e duser. (Dogrulandi.)
40
- ###
41
- ### SONUC KONTRATI: her final state'te reason DOLUDUR ve tek basina kesme nedenini anlatir
42
- ### (key; kullaniciya gosterilecek metin errorMessage'da). Basarida
43
- ### AUTH_CODE_ISSUED, simbloke alinmis basarili akista AUTH_CODE_ISSUED_SIM_BLOCK, hatada
44
- ### errorCode'un kendisi. Tam liste: Schemas/otp-auth-code/otp-auth-code-result.json
45
- ###
46
- ### MANUEL DURAKLAR (view gorunur, cevap beklenir — hicbiri auto degil):
47
- ### otp-entry -> otp-verify-continue (state view: otp-general-view)
48
- ### otp-entry -> otp-code-timeout (view YOK - istemci sayaci)
49
- ### otp-verification-failure -> otp-popup-retry (state view: otp-general-retry-type-popup-view)
50
- ### otp-expired -> resend-otp (otp-general-resend-otp-popup-view)
51
- ### sim-block-confirmation -> channel-switched |
52
- ### sim-block-declined (otp-general-sim-block-popup-view)
53
- ###
54
- ### Redeem'de 500 "token-direct produced no result" gorursen sebebi scope degil: code alanina
55
- ### cozulmemis {{...}} degiskeni gitmis. Once ilgili "# @name ..." istegini kosun ki
56
- ### authorizationCode dolsun. code bos ya da hic yoksa 400 gelir, cozulmemis degiskende 500.
57
-
58
-
59
- ### ═════════════════════ EDINIM — ANA SENARYO (bireysel) ═════════════════════
60
- @edinim = edinim-3
61
-
62
- ### 1) Instance baslat
63
- # @name start
64
- POST {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=false
65
- Content-Type: application/json
66
-
67
- {
68
- "key": "{{edinim}}",
69
- "tags": ["otp-auth-code", "edinim"],
70
- "attributes": {
71
- "processName": "consent-verification",
72
- "clientId": "{{clientId}}",
73
- "tckn": "41809307440",
74
- "scopeGroup": "retail-customers",
75
- "userProfile": {
76
- "phone": { "countryCode": 90, "prefix": 533, "number": "6870042" }
77
- },
78
- "otpAttempt": 3,
79
- "otpDuration": 120,
80
- "otpPageTitle": "Kimlik Dogrulama"
81
- }
82
- }
83
-
84
- ###
85
- @instanceId = {{start.response.body.id}}
86
-
87
- ### 2) State — "otp-entry" beklenir
88
- ### Zincir: initialize-otp-request -> resolve-scope -> route-profile-not-found
89
- ### -> resolve-otp-recipient -> prepare-delivery -> send-otp -> otp-entry
90
- ### Edinimde Asgard HIC cagrilmaz (resolve-profile / evaluate-asgard-result atlanir).
91
- ### Baska state: scope-not-found-end | recipient-missing-end | otp-delivery-failed-end
92
- ### sim-block-confirmation (simbloke onayi bekliyor — asagidaki SIMBLOKE bolumu)
93
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/state
94
-
95
- ### 3) Veri — isAcquisitionProcess=true, otpPhoneSource=request, scopeSource=tckn-fallback,
96
- ### asgardFetchStatus=SKIPPED, asgardProfileFound=null, otpRecipient=+905336870042, otpRecipientType=phone, otpRecipientVerified=true,
97
- ### otpCode dolu, otpSent=true, otpRouteDecision=SENT, otpRemainingAttempts=3, otpConsumed=false
98
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/data
99
-
100
- ### 4) Kodu gonder ( @otp = yukaridaki otpCode )
101
- PATCH {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/otp-verify-continue
102
- Content-Type: application/json
103
-
104
- { "attributes": { "otpValue": "{{otp}}" } }
105
-
106
- ### 5) State — "auth-code-issued" beklenir
107
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/state
108
-
109
- ### 6) Sonuc — success=true, reason=AUTH_CODE_ISSUED, authorizationCode dolu, errorCode=null
110
- # @name edinimSonuc
111
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{edinim}}/functions/data
112
-
113
- ###
114
- @edinimCode = {{edinimSonuc.response.body.data.authorizationCode}}
115
-
116
- ### 7) Kod bir token instance'i mi? — "waiting-redeem" beklenir
117
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/token/instances/{{edinimCode}}/functions/state
118
-
119
- ### 8) Bozdur — PKCE yok, boarding grant. Beklenen: 200 + token
120
- POST {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/functions/token-direct
121
- Content-Type: application/json
122
- X-Request-Id: {{$guid}}
123
-
124
- {
125
- "grant_type": "urn:ietf:params:oauth:grant-type:boarding",
126
- "code": "{{edinimCode}}"
127
- }
128
-
129
- ### 9) token instance "issued" olmali
130
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/token/instances/{{edinimCode}}/functions/state
131
-
132
- ### 10) OLUMSUZ — ayni kod ikinci kez. Beklenen: 470
133
- POST {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/functions/token-direct
134
- Content-Type: application/json
135
- X-Request-Id: {{$guid}}
136
-
137
- {
138
- "grant_type": "urn:ietf:params:oauth:grant-type:boarding",
139
- "code": "{{edinimCode}}"
140
- }
141
-
142
-
143
- ### ═════════════════════ EDINIM — KURUMSAL (scope opsiyonel) ═════════════════════
144
- ### Musteri No biliniyorsa gonderilir ve dogrulanir; bilinmiyorsa gonderilmez (asagidaki
145
- ### "KURUMSAL, SCOPE YOK" senaryosu edinimin normal yoludur).
146
- @edinimKurumsal = edinim-kurumsal-1
147
- @kurumsalMusteriNo = 20183007
148
-
149
- POST {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
150
- Content-Type: application/json
151
-
152
- {
153
- "key": "{{edinimKurumsal}}",
154
- "tags": ["otp-auth-code", "edinim", "kurumsal"],
155
- "attributes": {
156
- "processName": "consent-verification",
157
- "clientId": "{{clientId}}",
158
- "tckn": "11111111111",
159
- "scopeGroup": "corporate-customers",
160
- "scope": "{{kurumsalMusteriNo}}",
161
- "userProfile": {
162
- "phone": { "countryCode": 90, "prefix": 533, "number": "6870042" }
163
- },
164
- "otpAttempt": 3,
165
- "otpDuration": 120
166
- }
167
- }
168
-
169
- ### customerKind=corporate, scopeSource=request, scopeFetchStatus=found, scopeSnapshot dolu,
170
- ### asgardFetchStatus=SKIPPED, otpSent=true
171
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{edinimKurumsal}}/functions/data
172
-
173
- PATCH {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{edinimKurumsal}}/transitions/otp-verify-continue
174
- Content-Type: application/json
175
-
176
- { "attributes": { "otpValue": "{{otp}}" } }
177
- ###
178
- # @name kurumsalSonuc
179
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{edinimKurumsal}}/functions/data
180
-
181
- ###
182
- @kurumsalCode = {{kurumsalSonuc.response.body.data.authorizationCode}}
183
-
184
- ### Bozdurma yolu ana senaryoyla ayni. Token'da beklenen:
185
- ### sub / customer_no = {{kurumsalMusteriNo}}, act_sub = tckn (bireyselde ikisi de tckn).
186
- ### userKey = act_sub + "-" + sub = tckn-{{kurumsalMusteriNo}}; birlesik deger claim OLARAK
187
- ### TASINMAZ, tuketici birlestirir (ResolveUserKeyMapping / UserGetMapping kalibi).
188
- ### Bireyselde act_sub == sub oldugu icin userKey tek parca kalir (tckn).
189
- POST {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/functions/token-direct
190
- Content-Type: application/json
191
- X-Request-Id: {{$guid}}
192
-
193
- {
194
- "grant_type": "urn:ietf:params:oauth:grant-type:boarding",
195
- "code": "{{kurumsalCode}}"
196
- }
197
-
198
-
199
- ### ═════════════════ OLUMSUZ — KURUMSAL, OLMAYAN SCOPE ═════════════════
200
- ### Beklenen: scope-not-found-end, reason=errorCode=SCOPE_NOT_FOUND, SMS GITMEZ.
201
- @olmayanScope = kurumsal-olmayan-scope-1
202
-
203
- POST {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
204
- Content-Type: application/json
205
-
206
- {
207
- "key": "{{olmayanScope}}",
208
- "tags": ["otp-auth-code", "olumsuz", "kurumsal"],
209
- "attributes": {
210
- "processName": "consent-verification",
211
- "clientId": "{{clientId}}",
212
- "tckn": "11111111111",
213
- "scopeGroup": "corporate-customers",
214
- "scope": "0000000",
215
- "userProfile": {
216
- "phone": { "countryCode": 90, "prefix": 533, "number": "6870042" }
217
- }
218
- }
219
- }
220
-
221
- ### State — scope-not-found-end
222
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{olmayanScope}}/functions/state
223
-
224
- ### Veri — scopeFetchStatus=not-found, errorCode=SCOPE_NOT_FOUND, otpSent yok
225
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{olmayanScope}}/functions/data
226
-
227
-
228
- ### ═════════════════ KURUMSAL, SCOPE YOK (edinimin normal yolu) ═════════════════
229
- ### Cagiranin elinde firma Musteri No'su yok. Beklenen: istek KABUL edilir, akis otp-entry'ye
230
- ### ilerler, scopeSource=tckn-fallback, effectiveScope=tckn ve token'da sub = act_sub = tckn.
231
- ### Firma bagi bu akista kurulmaz; kayit tamamlandiktan sonra kurulur.
232
- @kurumsalScopesuz = kurumsal-scopesuz-1
233
-
234
- POST {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
235
- Content-Type: application/json
236
-
237
- {
238
- "key": "{{kurumsalScopesuz}}",
239
- "tags": ["otp-auth-code", "edinim", "kurumsal"],
240
- "attributes": {
241
- "processName": "consent-verification",
242
- "clientId": "{{clientId}}",
243
- "tckn": "11111111111",
244
- "scopeGroup": "corporate-customers",
245
- "userProfile": {
246
- "phone": { "countryCode": 90, "prefix": 533, "number": "6870042" }
247
- }
248
- }
249
- }
250
-
251
- ### State — otp-entry beklenir (scope-not-found-end DEGIL)
252
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{kurumsalScopesuz}}/functions/state
253
-
254
- ### Veri — customerKind=corporate, scopeSource=tckn-fallback, effectiveScope=tckn, otpSent=true
255
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{kurumsalScopesuz}}/functions/data
256
-
257
-
258
- ### ═════════════ OLUMSUZ — KURUMSAL + EDINIM DISI, SCOPE YOK ═════════════
259
- ### Beklenen: start 400, instance ACILMAZ. Sema baypas edilirse akis scope-not-found-end'e
260
- ### duser: reason=errorCode=SCOPE_REQUIRED, scopeSource=missing, SMS gitmez.
261
- @kurumsalScopesuzEdinimDisi = kurumsal-scopesuz-edinim-disi-1
262
-
263
- POST {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
264
- Content-Type: application/json
265
-
266
- {
267
- "key": "{{kurumsalScopesuzEdinimDisi}}",
268
- "tags": ["otp-auth-code", "olumsuz", "kurumsal", "edinim-disi"],
269
- "attributes": {
270
- "processName": "consent-view",
271
- "clientId": "{{clientId}}",
272
- "tckn": "11111111111",
273
- "scopeGroup": "corporate-customers",
274
- "userProfile": {
275
- "phone": { "countryCode": 90, "prefix": 533, "number": "6870042" }
276
- }
277
- }
278
- }
279
-
280
- ### Kontrol — 400 alindiysa instance yoktur, bu istek 404 dondurur.
281
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{kurumsalScopesuzEdinimDisi}}/functions/state
282
-
283
- ### Ayni istek scope ILE — normal akis: scopeSource=request, scopeFetchStatus=found
284
- @kurumsalEdinimDisi = kurumsal-edinim-disi-1
285
-
286
- POST {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
287
- Content-Type: application/json
288
-
289
- {
290
- "key": "{{kurumsalEdinimDisi}}",
291
- "tags": ["otp-auth-code", "kurumsal", "edinim-disi"],
292
- "attributes": {
293
- "processName": "consent-view",
294
- "clientId": "{{clientId}}",
295
- "tckn": "11111111111",
296
- "scopeGroup": "corporate-customers",
297
- "scope": "{{kurumsalMusteriNo}}",
298
- "userProfile": {
299
- "phone": { "countryCode": 90, "prefix": 533, "number": "6870042" }
300
- }
301
- }
302
- }
303
-
304
- ### Veri — scopeSource=request, scopeFetchStatus=found, effectiveScope={{kurumsalMusteriNo}}
305
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{kurumsalEdinimDisi}}/functions/data
306
-
307
-
308
- ### ═════════════════ EDINIM + DEVIR PAKETI — PKCE'LI YOL ═════════════════
309
- ### codeChallenge gonderildigi icin boarding kisayolu GECERSIZ; redeem'de verifier zorunlu.
310
- ### Bireysel: scope yok -> effectiveScope=tckn, scopeSource=tckn-fallback.
311
- @edinimTam = edinim-tam-1
312
-
313
- POST {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
314
- Content-Type: application/json
315
-
316
- {
317
- "key": "{{edinimTam}}",
318
- "tags": ["otp-auth-code", "edinim", "devir-paketi"],
319
- "attributes": {
320
- "processName": "consent-verification",
321
- "clientId": "{{clientId}}",
322
- "tckn": "11111111111",
323
- "scopeGroup": "retail-customers",
324
- "userProfile": {
325
- "phone": { "countryCode": 90, "prefix": 533, "number": "6870042" }
326
- },
327
- "otpAttempt": 3,
328
- "otpDuration": 120,
329
- "language": "tr-TR",
330
- "correlationId": "corr-edinim-tam-1",
331
-
332
- "redirectUri": "https://client.example.com/callback",
333
- "nonce": "nonce-value",
334
- "codeChallenge": "{{codeChallenge}}",
335
- "codeChallengeMethod": "S256"
336
- }
337
- }
338
-
339
- PATCH {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{edinimTam}}/transitions/otp-verify-continue
340
- Content-Type: application/json
341
-
342
- { "attributes": { "otpValue": "{{otp}}" } }
343
-
344
- ### correlationId sonuca aynen tasinmali
345
- # @name tamSonuc
346
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{edinimTam}}/functions/data
347
-
348
- ###
349
- @tamCode = {{tamSonuc.response.body.data.authorizationCode}}
350
-
351
- ### "waiting-redeem" beklenir
352
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/token/instances/{{tamCode}}/functions/state
353
-
354
- ### OLUMSUZ — PKCE'li kodu boarding ile bozdurma. Beklenen: 473.
355
- ### Token DONERSE PKCE guvencesi delinmis demektir, raporlayin.
356
- POST {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/functions/token-direct
357
- Content-Type: application/json
358
- X-Request-Id: {{$guid}}
359
-
360
- {
361
- "grant_type": "urn:ietf:params:oauth:grant-type:boarding",
362
- "code": "{{tamCode}}"
363
- }
364
-
365
- ### OLUMSUZ — yanlis verifier. Beklenen: 473
366
- POST {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/functions/token-direct
367
- Content-Type: application/json
368
- X-Request-Id: {{$guid}}
369
-
370
- {
371
- "grant_type": "authorization_code",
372
- "code": "{{tamCode}}",
373
- "code_verifier": "bu-verifier-challenge-ile-uyusmuyor-0000000000"
374
- }
375
-
376
- ### DOGRU YOL — authorization_code + gercek verifier. Beklenen: 200 + token
377
- POST {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/functions/token-direct
378
- Content-Type: application/json
379
- X-Request-Id: {{$guid}}
380
-
381
- {
382
- "grant_type": "authorization_code",
383
- "code": "{{tamCode}}",
384
- "code_verifier": "{{codeVerifier}}"
385
- }
386
-
387
- ### "issued" beklenir
388
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/token/instances/{{tamCode}}/functions/state
389
-
390
-
391
- ### ═════════════════ GIRIS HAKKI — 3 yanlis giris ═════════════════
392
- ### Gonderim hak yakmaz; yanlis giris ve sure dolmasi yakar. Yanlis giriste otpCode DEGISMEZ.
393
- ###
394
- ### DIKKAT: Her yanlis giristen sonra akis "otp-verification-failure" state'inde DURUR ve
395
- ### otp-general-retry-type-popup-view gosterilir. Giris ekranina donmek icin popup'taki
396
- ### "Tekrar Dene" butonunun tetikledigi otp-popup-retry PATCH'i GEREKLIDIR. Eskiden bu gecis
397
- ### auto idi, state'te durulmuyordu ve popup hic gorunmuyordu. Bu gecis hak DUSURMEZ.
398
- ### 3. yanlis giris istisna: hak bittigi icin popup'a girilmez, dogrudan final state'e dusulur.
399
- @hak = hak-1
400
-
401
- POST {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
402
- Content-Type: application/json
403
-
404
- {
405
- "key": "{{hak}}",
406
- "tags": ["otp-auth-code", "hak"],
407
- "attributes": {
408
- "processName": "consent-verification",
409
- "clientId": "{{clientId}}",
410
- "tckn": "11111111111",
411
- "scopeGroup": "retail-customers",
412
- "userProfile": { "phone": { "countryCode": 90, "prefix": 533, "number": "6870042" } },
413
- "otpAttempt": 3,
414
- "otpDuration": 300
415
- }
416
- }
417
-
418
- ### otpRemainingAttempts=3 (2 DEGIL)
419
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{hak}}/functions/data
420
-
421
- ### yanlis 1/3 -> remaining=2, otpSessionSeq hala 1
422
- PATCH {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{hak}}/transitions/otp-verify-continue
423
- Content-Type: application/json
424
-
425
- { "attributes": { "otpValue": "000000" } }
426
-
427
- ### State "otp-verification-failure" beklenir (otp-entry DEGIL). Popup burada gosterilir.
428
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{hak}}/functions/state
429
-
430
- ### otpWrongAttemptMessage dolu, otpRemainingAttempts=2 — popup'in bagladigi alanlar
431
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{hak}}/functions/data
432
-
433
- ### Popup: "Tekrar Dene" -> giris ekranina don. Hak DUSMEZ, kod DEGISMEZ.
434
- PATCH {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{hak}}/transitions/otp-popup-retry
435
- Content-Type: application/json
436
-
437
- { "attributes": {} }
438
-
439
- ### yanlis 2/3 -> remaining=1
440
- PATCH {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{hak}}/transitions/otp-verify-continue
441
- Content-Type: application/json
442
-
443
- { "attributes": { "otpValue": "000000" } }
444
-
445
- ### remaining=1, otpSessionSeq=1, otpSendCount=1, otpCode ilkiyle AYNI, state=otp-verification-failure
446
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{hak}}/functions/data
447
-
448
- ### Popup: "Tekrar Dene" (2. kez)
449
- PATCH {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{hak}}/transitions/otp-popup-retry
450
- Content-Type: application/json
451
-
452
- { "attributes": {} }
453
-
454
- ### yanlis 3/3 -> hak bitti. Popup YOK: dogrudan final state'e dusulur.
455
- PATCH {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{hak}}/transitions/otp-verify-continue
456
- Content-Type: application/json
457
-
458
- { "attributes": { "otpValue": "000000" } }
459
-
460
- ### state=otp-verification-failed-end, reason=OTP_ATTEMPTS_EXHAUSTED,
461
- ### errorCode=OTP_ATTEMPTS_EXHAUSTED, remaining=0
462
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{hak}}/functions/data
463
-
464
-
465
- ### ═════════════════ SURE DOLMASI — yeni kod hak yakmaz ═════════════════
466
- @sure = sure-1
467
-
468
- POST {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
469
- Content-Type: application/json
470
-
471
- {
472
- "key": "{{sure}}",
473
- "tags": ["otp-auth-code", "sure"],
474
- "attributes": {
475
- "processName": "consent-verification",
476
- "clientId": "{{clientId}}",
477
- "tckn": "11111111111",
478
- "scopeGroup": "retail-customers",
479
- "userProfile": { "phone": { "countryCode": 90, "prefix": 533, "number": "6870042" } },
480
- "otpAttempt": 3,
481
- "otpDuration": 30
482
- }
483
- }
484
-
485
- ### SURE DOLMASININ IKI YOLU VAR, IKISI DE otp-expiry-router'a gider ve AYNI sonucu verir:
486
- ### 1) otp-code-expired - TIMER, sunucu tarafi, kendiliginden atesler (asagidaki adim bunu bekler)
487
- ### 2) otp-code-timeout - MANUEL, istemci (mobil) sayaci dolunca cagirir; beklemeye gerek kalmaz
488
- ### Ikisi bir arada durur: istemci cagirmazsa timer yine atesler, instance asili kalmaz.
489
- ### Timer once atesledi ise otp-code-timeout PATCH'i hata doner (state artik otp-entry degil);
490
- ### istemci bunu hata saymamali, state'i sorgulayip devam etmeli - sonuc ayni.
491
- ### Sayac otpExpiresAtUtc'ye gore kurulmali: erken cagri giris hakkini erken yakar.
492
- ### Manuel yolda otpExpirySource=client-timer ve otpClientTimeoutWasEarly yazilir; timer
493
- ### yolunda otpExpirySource HIC yazilmaz (timer transition'i mapping tasiyamaz).
494
- ###
495
- ### 30+ sn bekleyin. State "otp-expired" (otp-expired-end DEGIL)
496
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{sure}}/functions/state
497
-
498
- ### remaining=2, otpExpiryRetryAvailable=true, otpConsumed=true
499
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{sure}}/functions/data
500
-
501
- ### Yeni kod iste ( yeni SMS gelir, @otp'yi guncelleyin )
502
- PATCH {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{sure}}/transitions/resend-otp
503
- Content-Type: application/json
504
-
505
- { "attributes": {} }
506
-
507
- ### otpSessionSeq=2, otpConsumed=false, otpCode FARKLI, remaining=2 (hak yakmadi)
508
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{sure}}/functions/data
509
-
510
- ### Yeni kodla dogrula -> success=true, reason=AUTH_CODE_ISSUED
511
- PATCH {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{sure}}/transitions/otp-verify-continue
512
- Content-Type: application/json
513
-
514
- { "attributes": { "otpValue": "{{otp}}" } }
515
-
516
- ###
517
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{sure}}/functions/data
518
-
519
-
520
- ### ═════════════════ SURE DOLMASI — ISTEMCI TETIKLEMELI (beklemeden) ═════════════════
521
- ### Mobil sayaci dolunca otp-code-timeout cagirir; timer'i beklemeye gerek yok.
522
- ### otpDuration=300 verildi ki sunucu timer'i devreye girmeden manuel yol test edilebilsin.
523
- @istemciTimeout = istemci-timeout-1
524
-
525
- POST {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
526
- Content-Type: application/json
527
-
528
- {
529
- "key": "{{istemciTimeout}}",
530
- "tags": ["otp-auth-code", "client-timeout"],
531
- "attributes": {
532
- "processName": "consent-verification",
533
- "clientId": "{{clientId}}",
534
- "tckn": "11111111111",
535
- "scopeGroup": "retail-customers",
536
- "userProfile": { "phone": { "countryCode": 90, "prefix": 533, "number": "6870042" } },
537
- "otpAttempt": 3,
538
- "otpDuration": 300
539
- }
540
- }
541
-
542
- ### State "otp-entry" beklenir, remaining=3
543
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{istemciTimeout}}/functions/state
544
-
545
- ### Istemci sayaci doldu -> manuel timeout. ERKEN cagri: otpDuration 300 sn oldugu icin
546
- ### otpClientTimeoutWasEarly=true beklenir (hak yine yanar).
547
- PATCH {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{istemciTimeout}}/transitions/otp-code-timeout
548
- Content-Type: application/json
549
-
550
- { "attributes": {} }
551
-
552
- ### state=otp-expired (hak vardi), otp-general-resend-otp-popup-view gorunur.
553
- ### otpExpirySource=client-timer, otpClientTimeoutWasEarly=true, remaining=2, otpConsumed=true
554
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{istemciTimeout}}/functions/data
555
-
556
- ### Popup: yeni kod iste -> otp-entry'ye doner (hak yakmaz)
557
- PATCH {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{istemciTimeout}}/transitions/resend-otp
558
- Content-Type: application/json
559
-
560
- { "attributes": {} }
561
-
562
- ### state=otp-entry, otpSessionSeq=2, remaining=2
563
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{istemciTimeout}}/functions/data
564
-
565
-
566
- ### ═════════════════ SIMBLOKE -> ONAY -> FAST ═════════════════
567
- ### Gateway bu numara icin simbloke/blacklist hatasi donmeli. Hak tuketmez.
568
- ###
569
- ### DIKKAT: Simbloke artik SESSIZCE Fast'e dusmez. Akis "sim-block-confirmation" state'inde
570
- ### DURUR, otp-general-sim-block-popup-view gosterilir ve musterinin cevabi beklenir:
571
- ### channel-switched -> Fast ile devam (prepare-delivery, kanal Fast secilir)
572
- ### sim-block-declined -> akis biter, reason=SIM_BLOCK_CONSENT_DECLINED, SMS GITMEZ
573
- ### Onay verilmedigi surece SMS gonderilmez; @otp'yi ancak onaydan SONRA guncelleyin.
574
- ### Hata kodlari MorphIdm:Otp:BlacklistErrorCodes ile verilebilir.
575
- @simbloke = simbloke-1
576
-
577
- POST {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
578
- Content-Type: application/json
579
-
580
- {
581
- "key": "{{simbloke}}",
582
- "tags": ["otp-auth-code", "simbloke"],
583
- "attributes": {
584
- "processName": "consent-verification",
585
- "clientId": "{{clientId}}",
586
- "tckn": "11111111111",
587
- "scopeGroup": "corporate-customers",
588
- "scope": "{{kurumsalMusteriNo}}",
589
- "userProfile": { "phone": { "countryCode": 90, "prefix": 555, "number": "0000001" } },
590
- "otpAttempt": 3
591
- }
592
- }
593
-
594
- ### State "sim-block-confirmation" beklenir (otp-entry DEGIL). Onay popup'i burada gosterilir.
595
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{simbloke}}/functions/state
596
-
597
- ### simBlockDetected=true, simBlockDetectedOnChannel=otp, simBlockConsentRequired=true,
598
- ### simBlockNoticeMessage dolu, simBlockConsentDecision=null, remaining=3.
599
- ### SMS HENUZ GITMEDI: fastAttemptCount=0.
600
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{simbloke}}/functions/data
601
-
602
- ### Popup: "Onayla ve Devam Et" -> Fast ile gonderilir. Simdi SMS gelir, @otp'yi guncelleyin.
603
- PATCH {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{simbloke}}/transitions/channel-switched
604
- Content-Type: application/json
605
-
606
- { "attributes": {} }
607
-
608
- ### state=otp-entry, simBlockConsentDecision=approved, otpRequestedChannel=fast,
609
- ### deliveryProvider=fast, fastAttemptCount=1, remaining=3, deliveryFailureStreak=0
610
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{simbloke}}/functions/data
611
-
612
- PATCH {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{simbloke}}/transitions/otp-verify-continue
613
- Content-Type: application/json
614
-
615
- { "attributes": { "otpValue": "{{otp}}" } }
616
-
617
- ### success=true, reason=AUTH_CODE_ISSUED_SIM_BLOCK (AUTH_CODE_ISSUED DEGIL),
618
- ### deliveryProvider=fast, simBlockDetected=true (deliveryErrorCode=NONE olsa bile),
619
- ### simBlockConsentDecision=approved
620
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{simbloke}}/functions/data
621
-
622
-
623
- ### ═════════════════ SIMBLOKE — ONAY VERILMEDI ═════════════════
624
- ### Ayni simbloke numarasi, bu kez popup'ta ret. SMS hic gonderilmez.
625
- @simblokeRet = simbloke-ret-1
626
-
627
- POST {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
628
- Content-Type: application/json
629
-
630
- {
631
- "key": "{{simblokeRet}}",
632
- "tags": ["otp-auth-code", "simbloke", "ret"],
633
- "attributes": {
634
- "processName": "consent-verification",
635
- "clientId": "{{clientId}}",
636
- "tckn": "11111111111",
637
- "scopeGroup": "corporate-customers",
638
- "scope": "{{kurumsalMusteriNo}}",
639
- "userProfile": { "phone": { "countryCode": 90, "prefix": 555, "number": "0000001" } },
640
- "otpAttempt": 3
641
- }
642
- }
643
-
644
- ### State "sim-block-confirmation" beklenir
645
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{simblokeRet}}/functions/state
646
-
647
- ### Popup: "Onaylamiyorum" -> akis sonlanir
648
- PATCH {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{simblokeRet}}/transitions/sim-block-declined
649
- Content-Type: application/json
650
-
651
- { "attributes": {} }
652
-
653
- ### state=sim-block-declined-end, success=false, reason=SIM_BLOCK_CONSENT_DECLINED,
654
- ### errorCode=SIM_BLOCK_CONSENT_DECLINED, simBlockConsentDecision=declined,
655
- ### fastAttemptCount=0 (hic Fast gonderimi olmadi), authorizationCode=null
656
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{simblokeRet}}/functions/data
657
-
658
-
659
- ### ═════════════════ EDINIM DISI — contact oncelikli ═════════════════
660
- ### processName consent-verification DISINDA. Bu kolda Asgard sorgulanir.
661
-
662
- ### Contact ile uyusmayan numara -> PHONE_MISMATCH, SMS GITMEZ, kod uretilmez.
663
- ### Asgard'da kaydi olan bir TCKN + kayittakinden FARKLI numara verin.
664
- @mismatch = mismatch-1
665
-
666
- POST {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
667
- Content-Type: application/json
668
-
669
- {
670
- "key": "{{mismatch}}",
671
- "tags": ["otp-auth-code", "edinim-disi"],
672
- "attributes": {
673
- "processName": "consent-view",
674
- "clientId": "{{clientId}}",
675
- "tckn": "11111111111",
676
- "scopeGroup": "retail-customers",
677
- "userProfile": { "phone": { "countryCode": 90, "prefix": 555, "number": "9998877" } }
678
- }
679
- }
680
-
681
- ### reason=errorCode=PHONE_MISMATCH, phoneMatch=false, otpSent bulunmamali
682
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{mismatch}}/functions/data
683
-
684
- ### Contact ile uyusan numara -> alici contact
685
- @contact = contact-1
686
-
687
- POST {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
688
- Content-Type: application/json
689
-
690
- {
691
- "key": "{{contact}}",
692
- "tags": ["otp-auth-code", "edinim-disi"],
693
- "attributes": {
694
- "processName": "consent-view",
695
- "clientId": "{{clientId}}",
696
- "tckn": "11111111111",
697
- "scopeGroup": "retail-customers",
698
- "userProfile": { "phone": { "countryCode": 90, "prefix": 533, "number": "6870042" } }
699
- }
700
- }
701
-
702
- ### asgardRouteDecision=FOUND, otpPhoneSourceApplied=contact, phoneMatch=true
703
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{contact}}/functions/data
704
-
705
-
706
- ### ═════════════════ GECERSIZ RIZA -> CONSENT_REQUIRED ═════════════════
707
- ### Riza YOKLUGU kesmez; iletilip okunamamasi keser.
708
- @riza = riza-1
709
-
710
- POST {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
711
- Content-Type: application/json
712
-
713
- {
714
- "key": "{{riza}}",
715
- "tags": ["otp-auth-code", "riza"],
716
- "attributes": {
717
- "processName": "consent-verification",
718
- "clientId": "{{clientId}}",
719
- "tckn": "11111111111",
720
- "scopeGroup": "retail-customers",
721
- "userProfile": { "phone": { "countryCode": 90, "prefix": 533, "number": "6870042" } },
722
- "consent": { "id": "bulunmayan-consent-0000" }
723
- }
724
- }
725
-
726
- PATCH {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{riza}}/transitions/otp-verify-continue
727
- Content-Type: application/json
728
-
729
- { "attributes": { "otpValue": "{{otp}}" } }
730
-
731
- ### consentSupplied=true, consentResolved=false, reason=errorCode=CONSENT_REQUIRED
732
- GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{riza}}/functions/data
733
-
734
-
735
- ### ═════════════════ TESHIS ═════════════════
736
- ### AUTHORIZATION_CODE_FAILED -> instance datasindaki tokenRaw: devredilen akisin ham yaniti
737
- ### (kod tokenData.subFlowInstanceId altinda).
738
- ### Bozdurma patlarsa hata token akisindadir: GET .../workflows/token/instances/<code>/functions/state
739
- ### waiting-redeem -> redeem tetiklenmemis | pkce-invalid -> verifier/PKCE yolu yanlis
740
- ### mint-failed -> token uretimi patlamis, otp tarafi degil
741
- ### Derleme/calisma hatalari instance kaydinda (local):
742
- ### docker exec vnext-postgres psql -U postgres -d vNext_Morph_idm -tAc \
743
- ### "SELECT \"Incidents\" FROM otp_auth_code.\"Instances\" WHERE \"Key\"='<key>';"