@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,272 +0,0 @@
1
- ### token-direct — saf vNext OAuth Token ucu (legacy köprüsüz; corporate banking girişi)
2
- ### baseUrl, apiVersion, domain come from .vscode/settings.json (rest-client.environmentVariables.$shared)
3
- ### Local runtime example: baseUrl=http://localhost:4251 apiVersion=v1 domain=morph-idm
4
- ###
5
- ### Yönlendirme kuralı (lookup YOK — bu uçta her şey vNext):
6
- ### grant_type=authorization_code + code → token instance'ının redeem trigger'ı doğrudan ateşlenir
7
- ### (bilinmeyen/tüketilmiş/süresi geçmiş kod → 470; PKCE verifier uyuşmazlığı → 473)
8
- ### grant_type=urn:ietf:params:oauth:grant-type:boarding + code → aynı redeem trigger; token flow'un
9
- ### redeem-route'u codeChallenge'sız mint edilmiş kodu PKCE'siz refresh-client-lookup'a (client
10
- ### clientId ile çekilir → clientSnapshot) ve oradan mint-token'a taşır (TrxBoardingRouteRule →
11
- ### TrxBoardingClientFoundRule). codeChallenge'lı kodda PKCE yine zorunlu (verifier yoksa 473).
12
- ### DİĞER her grant (refresh_token, password, client_credentials, onefa,
13
- ### urn:ietf:params:oauth:grant-type:burgan-credential...) → token flow start'ına
14
- ### delege edilir; token flow kendi start routing'iyle zinciri seçer
15
- ### (refresh başarısız → 401 invalid_token; diğer grant başarısız → 400 invalid_grant)
16
- ### burgan-credential için function X-Fingerprint header'ını `fingerprint` alanı olarak enjekte eder.
17
- ### device_id / installation_id body'de yoksa X-Device-Id / X-Installation-Id header'larından doldurulur;
18
- ### client_credentials + deviceId → access/refresh token `sub` = deviceId (act_sub = client_id), deviceId yoksa sub = "".
19
- ### Gateway girişi: POST {dmz-host}/digitalbanking/token → /api/v1/morph-idm/functions/token-direct (apisix: morph-idm/dmz/token-digital)
20
- ### NOT: Legacy forward YOKTUR — /ebanking/token'ın legacy passthrough'u için token-route'a bakın.
21
-
22
- @workflow = token-direct
23
-
24
- ### PKCE (RFC 7636 örnek çifti — sadece test için)
25
- @codeVerifier = dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk
26
- @codeChallenge = E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM
27
-
28
- ###############################################################################
29
- ### 1. Zincir kurulumu — CreatePreLogin (MainApp → Trade)
30
- ###############################################################################
31
-
32
- # @name createPreLogin
33
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/create-pre-login
34
- acr: r
35
- Content-Type: application/json
36
- Accept-Language: tr-TR
37
- X-Request-Id: {{$guid}}
38
-
39
- {
40
- "userName": "1234",
41
- "sourceClientId": "MainApp",
42
- "targetClientId": "Trade",
43
- "redirectUri": "http://localhost:5360/callback",
44
- "codeChallenge": "{{codeChallenge}}",
45
- "codeChallengeMethod": "S256",
46
- "state": "st-{{$timestamp}}",
47
- "nonce": "nonce-{{$timestamp}}",
48
- "culture": "tr-TR"
49
- }
50
-
51
- ###
52
- @preLoginKey = {{createPreLogin.response.body.preLoginKey}}
53
- @consumeUrl = {{createPreLogin.response.body.redirectUri}}
54
-
55
- ### 2. Consume — 302, Location'da ?authorize=st-... döner
56
- # @name consume
57
- GET {{consumeUrl}}
58
- Accept-Language: tr-TR
59
- X-Request-Id: {{$guid}}
60
-
61
- ### 3. authorize instance key'i pre-login datasından oku
62
- # @name preLoginData
63
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/pre-login/instances/{{preLoginKey}}/functions/data
64
-
65
- ###
66
- @authorizeKey = {{preLoginData.response.body.data.authorizeInstanceKey}}
67
-
68
- ### 4. authorize-redirect ile kodu mint et (corporate Authorize girişinin hedefi)
69
- ### Beklenen: 302, Location = http://localhost:5360/callback?code=<tokenInstanceId>&state=st-...
70
- # @name authorizeRedirect
71
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/authorize-redirect?authorize={{authorizeKey}}
72
- Accept-Language: tr-TR
73
- X-Request-Id: {{$guid}}
74
-
75
- ### 5. code'u authorize instance datasından oku
76
- # @name authorizeData
77
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/authorize/instances/{{authorizeKey}}/functions/data
78
-
79
- ###
80
- @code = {{authorizeData.response.body.data.tokenData.subFlowInstanceId}}
81
-
82
- ###############################################################################
83
- ### 6. TOKEN-DIRECT — authorization_code redeem
84
- ### Beklenen: 200 TokenResponse (access_token, refresh_token, token_type, ...)
85
- ###############################################################################
86
-
87
- # @name tokenDirectRedeem
88
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/token-direct
89
- Content-Type: application/json
90
- X-Request-Id: {{$guid}}
91
-
92
- {
93
- "grant_type": "authorization_code",
94
- "code": "{{code}}",
95
- "code_verifier": "{{codeVerifier}}",
96
- "client_id": "Trade",
97
- "redirect_uri": "http://localhost:5360/callback"
98
- }
99
-
100
- ###
101
- @refreshToken = {{tokenDirectRedeem.response.body.refresh_token}}
102
-
103
- ###############################################################################
104
- ### 6b. TOKEN-DIRECT — boarding grant redeem (urn:ietf:params:oauth:grant-type:boarding)
105
- ### authorization_code ile aynı yol (code → redeem trigger) ama code_verifier gönderilmez:
106
- ### kod codeChallenge'sız mint edildiyse token flow redeem-route → TrxBoardingRouteRule → refresh-client-lookup
107
- ### (clientSnapshot) → TrxBoardingClientFoundRule → mint-token.
108
- ### Önkoşul: PKCE'siz bir kod — örn. 1. adımdaki create-pre-login'i codeChallenge/codeChallengeMethod
109
- ### olmadan çalıştırıp 2-5'i tekrarlayın (pre-login kaynaklı start PKCE'siz authorize'a izin verir), ya da
110
- ### Workflows/token-process/token/execute/token.http 3d'deki gibi token instance'ını doğrudan başlatıp id'sini kod olarak kullanın.
111
- ### Beklenen: 200 TokenResponse. codeChallenge'lı kodla denenirse: 473 (PKCE verifier eksik).
112
- ###############################################################################
113
-
114
- # @name tokenDirectBoardingRedeem
115
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/token-direct
116
- Content-Type: application/json
117
- X-Request-Id: {{$guid}}
118
-
119
- {
120
- "grant_type": "urn:ietf:params:oauth:grant-type:boarding",
121
- "code": "{{code}}",
122
- "client_id": "Trade"
123
- }
124
-
125
-
126
- ###############################################################################
127
- ### 7. TOKEN-DIRECT — refresh_token grant (token flow start'ına delege)
128
- ### Beklenen: 200 TokenResponse
129
- ###############################################################################
130
-
131
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/token-direct
132
- Content-Type: application/json
133
- X-Request-Id: {{$guid}}
134
-
135
- {
136
- "grant_type": "refresh_token",
137
- "refresh_token": "{{refreshToken}}",
138
- "client_id": "Trade"
139
- }
140
-
141
- ###############################################################################
142
- ### 8. TOKEN-DIRECT — password grant (token flow start'ına delege; token flow
143
- ### password-route zincirini koşar). Beklenen: 200 veya token flow'un hatası (400).
144
- ###############################################################################
145
-
146
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/token-direct
147
- Content-Type: application/json
148
- X-Request-Id: {{$guid}}
149
-
150
- {
151
- "grant_type": "password",
152
- "username": "1234",
153
- "password": "<password>",
154
- "client_id": "Trade"
155
- }
156
-
157
- ###############################################################################
158
- ### NEGATİF SENARYOLAR
159
- ###############################################################################
160
-
161
- ### N1. Bilinmeyen kod → 470 invalid_grant (legacy'e forward EDİLMEZ — legacy yok)
162
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/token-direct
163
- Content-Type: application/json
164
- X-Request-Id: {{$guid}}
165
-
166
- {
167
- "grant_type": "authorization_code",
168
- "code": "not-a-vnext-code",
169
- "code_verifier": "{{codeVerifier}}",
170
- "client_id": "Trade"
171
- }
172
-
173
- ### N2. Aynı kod ikinci kez (replay) → 470 (redeem transition artık kullanılamaz)
174
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/token-direct
175
- Content-Type: application/json
176
- X-Request-Id: {{$guid}}
177
-
178
- {
179
- "grant_type": "authorization_code",
180
- "code": "{{code}}",
181
- "code_verifier": "{{codeVerifier}}",
182
- "client_id": "Trade"
183
- }
184
-
185
- ### N3. Yanlış PKCE verifier → 473 (token flow pkce-validate reddi)
186
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/token-direct
187
- Content-Type: application/json
188
- X-Request-Id: {{$guid}}
189
-
190
- {
191
- "grant_type": "authorization_code",
192
- "code": "{{code}}",
193
- "code_verifier": "wrong-verifier-wrong-verifier-wrong-verifier",
194
- "client_id": "Trade"
195
- }
196
-
197
- ### N4. Bozuk refresh token → 401 invalid_token
198
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/token-direct
199
- Content-Type: application/json
200
- X-Request-Id: {{$guid}}
201
-
202
- {
203
- "grant_type": "refresh_token",
204
- "refresh_token": "not-a-jwt",
205
- "client_id": "Trade"
206
- }
207
-
208
- ### N5. Gövdesiz istek → 422 invalid_request
209
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/token-direct
210
- Content-Type: application/json
211
- X-Request-Id: {{$guid}}
212
-
213
- {}
214
-
215
- ###############################################################################
216
- ### 7. TOKEN-DIRECT — burgan-credential grant (gerçek wire şekli)
217
- ### Legacy client+device grant'i artık vNext'te karşılanır: function X-Fingerprint
218
- ### header'ını yakalayıp token flow'una iletir; token flow burgan-credential-route →
219
- ### refresh-client-lookup → burgan-credential-check (allowedGrants + fingerprint) → mint-token.
220
- ### Beklenen: 200 TokenResponse (access_token jti == gönderilen jti).
221
- ### Ön koşul: IbWeb'in allowedGrants'inde urn:ietf:params:oauth:grant-type:burgan-credential
222
- ### (client.http SETUP-A/B). Fingerprint şu sabitler için önceden hesaplandı:
223
- ### jti=57a62b31-f9b8-5fed-93fb-8b57ba083b3d, clientId=IbWeb,
224
- ### deviceId=4bc07f56-2d8f-4174-b3f0-ebd9f618c29c, installationId=9151843f-b298-491c-b5fd-880d294707df
225
- ### NOT: jti session key olur (replay koruması) — tekrar mint için jti + fingerprint çiftini yenileyin.
226
- ###############################################################################
227
- # @name tokenDirectBurganCred
228
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/token-direct
229
- Content-Type: application/json
230
- X-Request-Id: {{$guid}}
231
- X-Fingerprint: OTIa+GyvRUbBDnyxTjDy0l29ztSXd5Y5K+MFzx++JqI=
232
-
233
- {
234
- "jti": "57a62b31-f9b8-5fed-93fb-8b57ba083b3d",
235
- "client_id": "IbWeb",
236
- "installation_id": "9151843f-b298-491c-b5fd-880d294707df",
237
- "device_id": "4bc07f56-2d8f-4174-b3f0-ebd9f618c29c",
238
- "grant_type": "urn:ietf:params:oauth:grant-type:burgan-credential",
239
- "scopes": ["retail-customer"]
240
- }
241
-
242
- ### N6. burgan-credential, yanlış X-Fingerprint → 400 invalid_grant (token flow client-validation-failed)
243
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/token-direct
244
- Content-Type: application/json
245
- X-Request-Id: {{$guid}}
246
- X-Fingerprint: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
247
-
248
- {
249
- "jti": "{{$guid}}",
250
- "client_id": "IbWeb",
251
- "installation_id": "9151843f-b298-491c-b5fd-880d294707df",
252
- "device_id": "4bc07f56-2d8f-4174-b3f0-ebd9f618c29c",
253
- "grant_type": "urn:ietf:params:oauth:grant-type:burgan-credential",
254
- "scopes": ["retail-customer"]
255
- }
256
-
257
- ###############################################################################
258
- ### client_credentials — cihaza bağlı M2M (sub = deviceId)
259
- ### deviceId header'dan gelir (body'de device_id de kabul edilir). Beklenen access_token payload:
260
- ### "sub": "<X-Device-Id>", "act_sub": "IbWeb", customer_no YOK. Header'sız/deviceId'siz istek: "sub": "".
261
- ###############################################################################
262
- # @name tokenDirectClientCredentialsDevice
263
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/token-direct
264
- Content-Type: application/json
265
- X-Device-Id: 4bc07f56-2d8f-4174-b3f0-ebd9f618c29c
266
- X-Installation-Id: 9151843f-b298-491c-b5fd-880d294707df
267
-
268
- {
269
- "grant_type": "client_credentials",
270
- "client_id": "IbWeb",
271
- "client_secret": "3ada10ef-c396-471f-992e-ba5a9160a2be"
272
- }
@@ -1,207 +0,0 @@
1
- ### token-route — /ebanking/token köprüsü: vNext redeem/refresh vNext'te, diğerleri legacy'e forward
2
- ### baseUrl, apiVersion, domain come from .vscode/settings.json (rest-client.environmentVariables.$shared)
3
- ### Local runtime example: baseUrl=http://localhost:4251 apiVersion=v1 domain=morph-idm
4
- ###
5
- ### Yönlendirme kuralı (INSTANCE LOOKUP):
6
- ### grant_type=authorization_code + kod bizde token instance'ı → redeem vNext'te → 200 TokenResponse
7
- ### grant_type=refresh_token + JWT sid'i bizde session instance → token flow refresh → 200 TokenResponse
8
- ### diğer HER ŞEY (bilinmeyen kod/sid, password, cc, onefa, exchange) → legacy public/Token forward
9
- ### kod bizim ama tüketilmiş/expired → 470 (legacy'e SIZMAZ); refresh bizim ama geçersiz → 401
10
- ###
11
- ### Önkoşullar: pre-login.http zinciri (scope=session-transfer, Trade/MainApp clientları, user 1234).
12
- ### Config: MorphIdm:TokenBaseAddress lokalde MockLab'i (http://localhost:3001) göstermeli —
13
- ### legacy forward senaryoları mock POST /public/Token yanıtını aynen döndürür.
14
-
15
- @workflow = token-route
16
-
17
- ### PKCE (RFC 7636 örnek çifti — sadece test için)
18
- @codeVerifier = dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk
19
- @codeChallenge = E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM
20
-
21
- ###############################################################################
22
- ### 1. Zincir kurulumu — CreatePreLogin → Consume → authorize-route → code
23
- ###############################################################################
24
-
25
- # @name createPreLogin
26
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/create-pre-login
27
- acr: r
28
- Content-Type: application/json
29
- Accept-Language: tr-TR
30
- X-Request-Id: {{$guid}}
31
-
32
- {
33
- "userName": "1234",
34
- "sourceClientId": "MainApp",
35
- "targetClientId": "Trade",
36
- "redirectUri": "http://localhost:5360/callback",
37
- "codeChallenge": "{{codeChallenge}}",
38
- "codeChallengeMethod": "S256",
39
- "state": "st-{{$timestamp}}",
40
- "nonce": "nonce-{{$timestamp}}",
41
- "culture": "tr-TR"
42
- }
43
-
44
- ###
45
- @preLoginKey = {{createPreLogin.response.body.preLoginKey}}
46
- @consumeUrl = {{createPreLogin.response.body.redirectUri}}
47
-
48
- ### 2. Consume (302)
49
- GET {{consumeUrl}}
50
- X-Request-Id: {{$guid}}
51
-
52
- ### 3. authorize key → authorize-route ile kod üret (302 Location'da code)
53
- # @name preLoginData
54
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/pre-login/instances/{{preLoginKey}}/functions/data
55
-
56
- ###
57
- @authorizeKey = {{preLoginData.response.body.data.authorizeInstanceKey}}
58
-
59
- ### 4. authorize-route (302 code&state)
60
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/authorize-route?authorize={{authorizeKey}}
61
- X-Request-Id: {{$guid}}
62
-
63
- ### 5. code'u authorize instance datasından oku
64
- # @name authorizeData
65
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/authorize/instances/{{authorizeKey}}/functions/data
66
-
67
- ###
68
- @code = {{authorizeData.response.body.data.tokenData.subFlowInstanceId}}
69
-
70
- ###############################################################################
71
- ### 6. TOKEN-ROUTE: authorization_code (vNext yolu) — legacy /ebanking/token sözleşmesi
72
- ### Beklenen: 200 { access_token, refresh_token, token_type: "Bearer", expires_in,
73
- ### refresh_token_expires_in, id_token, scope } (TokenResponse paritesi)
74
- ###############################################################################
75
-
76
- # @name tokenRedeem
77
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/token-route
78
- Content-Type: application/json
79
- Accept-Language: tr-TR
80
- X-Request-Id: {{$guid}}
81
-
82
- {
83
- "grant_type": "authorization_code",
84
- "code": "{{code}}",
85
- "code_verifier": "{{codeVerifier}}",
86
- "client_id": "Trade"
87
- }
88
-
89
- ###
90
- @refreshToken = {{tokenRedeem.response.body.refresh_token}}
91
-
92
- ###############################################################################
93
- ### 7. TOKEN-ROUTE: refresh_token (vNext yolu) — sid bizde session instance'ı
94
- ### Beklenen: 200 yeni TokenResponse
95
- ### NOT: vNext token flow'u refresh'te client authentication İSTER (cc/password
96
- ### ile aynı validate-client zinciri) — client_secret göndermeyen istek 401 alır.
97
- ###############################################################################
98
-
99
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/token-route
100
- Content-Type: application/json
101
- X-Request-Id: {{$guid}}
102
-
103
- {
104
- "grant_type": "refresh_token",
105
- "refresh_token": "{{refreshToken}}",
106
- "client_id": "Trade",
107
- "client_secret": "trade-demo-secret-12345"
108
- }
109
-
110
- ###############################################################################
111
- ### NEGATİF / LEGACY SENARYOLARI
112
- ###############################################################################
113
-
114
- ### N1. Replay — aynı kod ikinci kez redeem: 470 invalid_grant beklenir (legacy'e gitmez)
115
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/token-route
116
- Content-Type: application/json
117
- X-Request-Id: {{$guid}}
118
-
119
- {
120
- "grant_type": "authorization_code",
121
- "code": "{{code}}",
122
- "code_verifier": "{{codeVerifier}}",
123
- "client_id": "Trade"
124
- }
125
-
126
- ### N2. Bilinmeyen kod (legacy random string) → LEGACY FORWARD:
127
- ### mock POST /public/Token yanıtı status+body AYNEN döner
128
- ### (X-Fingerprint dahil TÜM gelen header'lar legacy'e verbatim replay edilir)
129
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/token-route
130
- Content-Type: application/json
131
- X-Fingerprint: FXHuwYuO7wn9rh+N/w9EYQAkkkVfW8pzhG7MOD6eFsg=
132
- X-Request-Id: {{$guid}}
133
-
134
- {
135
- "grant_type": "authorization_code",
136
- "code": "legacy-opaque-code-abc123",
137
- "code_verifier": "{{codeVerifier}}",
138
- "client_id": "IbWeb"
139
- }
140
-
141
- ### N2b. Gerçek IbWeb isteği (burgan-credential grant, wire şekli aynen) → LEGACY FORWARD:
142
- ### scopes ARRAY olarak gelir (space-join ile scope attribute'una normalize edilir),
143
- ### X-Fingerprint / X-Installation-Id / X-Device-Id / X-Token-Id / User / Behalf-Of-User
144
- ### header'ları legacy public/Token'a AYNEN gider (eski dar allowlist bunları düşürüyordu)
145
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/token-route
146
- Content-Type: application/json; charset=utf-8
147
- Accept-Language: tr-TR
148
- Content-Language: tr-TR
149
- User: fd929c01-9b0d-11f1-9876-5baedb0881ad
150
- Behalf-Of-User: fd929c02-9b0d-11f1-9876-5baedb0881ad
151
- X-Application: on-ib-web-app
152
- X-Application-Version: 4.18.0+72
153
- X-Deployment: Web
154
- X-Device-Id: fd164010-9b0d-11f1-9876-5baedb0881ad
155
- X-Device-Platform: Web
156
- X-Fingerprint: FXHuwYuO7wn9rh+N/w9EYQAkkkVfW8pzhG7MOD6eFsg=
157
- X-Installation-Id: fd1640119b0d11f198765baedb0881ad
158
- X-Instance-Id: fd91ffc1-9b0d-11f1-9876-5baedb0881ad
159
- X-Request-Id: {{$guid}}
160
- X-Token-Id: fd1640119b0d11f198765baedb0881ad
161
- X-Workflow-Name: amorphie-mobile-login
162
-
163
- {
164
- "jti": "fd9274f0-9b0d-11f1-9876-5baedb0881ad",
165
- "client_id": "IbWeb",
166
- "installation_id": "fd1640119b0d11f198765baedb0881ad",
167
- "device_id": "fd164010-9b0d-11f1-9876-5baedb0881ad",
168
- "grant_type": "urn:ietf:params:oauth:grant-type:burgan-credential",
169
- "scopes": ["retail-customer"]
170
- }
171
-
172
- ### N3. grant_type=password → LEGACY FORWARD (vNext bu uçtan yalnızca redeem+refresh servis eder)
173
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/token-route
174
- Content-Type: application/json
175
- X-Request-Id: {{$guid}}
176
-
177
- {
178
- "client_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
179
- "client_secret": "6b7b82a9-a072-4191-9f07-2d1cf45e58fe",
180
- "grant_type": "client_credentials",
181
- "scopes": [
182
- "retail-customer"
183
- ]
184
- }
185
-
186
- ### N4. sid'i bizde olmayan / parse üsttekinin responseunda alınmış refresh token → LEGACY FORWARD
187
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/token-route
188
- Content-Type: application/json
189
- X-Request-Id: {{$guid}}
190
-
191
- {
192
- "grant_type": "refresh_token",
193
- "refresh_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI0YzkyOWMxZi00Y2Q2LTQ1MjQtODAyZS02MTIzZGM3ZGMxZjMiLCJ4LXNlc3Npb24taWQiOiI4YTU5M2QxYi01YzRhLTRlZmItOGM0NC04ODY3NjAzZDAwOWQiLCJzaWQiOiI4YTU5M2QxYi01YzRhLTRlZmItOGM0NC04ODY3NjAzZDAwOWQiLCJhbXIiOiJzd2siLCJpYXQiOjE3ODY5OTM4NTksImV4cCI6MTc4Njk5NDE1OSwiaXNzIjoiQnVyZ2FuSWFtIiwiYXVkIjoiSWJBbmRyb2lkQXBwIn0.yIf2Uo2MokVcbSiSb8gJU3AAEMYJv8igj8bAVdQ2bob1GfG9BCwDx9XwyD6h3CTHt3BC2zyWkuX5-51kXzTMJkBVzeKq4tmUWJPcD9T_e6vwKXxvEQzzRj9xnkIbZjqa_pmijmRQSlgzM3J4NxtnzSMZuvF7mTsng8jfxzTY_rOZ_fZc6V4z2k4bIeXCQJ8azUaV0c2zDn7TRy-b42m_QrdPL_7EQCGuDhPkPGuHKN68NmYz5Nb5efXupRsFIU-T_zDbzq8AJmaaXB8eNdZpjmCo9mU43Weou_CV7qE00biRFQGJQj5q264eLlArmYqxvAbT2dcjEeL_XprQHb3IzQ",
194
- "client_id": "IbWeb"
195
- }
196
-
197
- ### N5. grant_type yok → LEGACY FORWARD (legacy 480 Invalid Grant Type'ı aynen döner)
198
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/token-route
199
- Content-Type: application/json
200
- X-Request-Id: {{$guid}}
201
-
202
- {
203
- "client_id": "IbWeb"
204
- }
205
-
206
- ### (Bilgi) token-route instance kayıtları — routing markerları
207
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances?page=1&pageSize=10
@@ -1,89 +0,0 @@
1
-
2
- @workflow = sso-flow
3
- @instanceKey = sso-session-{{$timestamp}}
4
-
5
- ### PKCE: code_verifier (43-128 karakter, RFC 7636)
6
- @codeVerifier = dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk
7
-
8
-
9
-
10
- ###############################################################################
11
- # PHASE 1: Authorization Request (GET /oauth/authorize eşleniği)
12
- # SSO Client kullanıcıyı SSO Server'a yönlendirdiğinde tetiklenir.
13
- # PKCE parametreleri (code_challenge, state, nonce) dahil edilir.
14
- # customClaims (opsiyonel): sso-flow-start şeması; token subprocess + IdmUtils token üretiminde birleşir (login_source=sso mapping tarafından set edilir).
15
- ###############################################################################
16
-
17
- ### Step 1: Start SSO Flow - Authorization Request
18
- # @name startSSOFlow
19
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
20
- Content-Type: application/json
21
-
22
- {
23
- "key": "{{instanceKey}}",
24
- "tags": ["sso", "oauth2", "pkce", "test"],
25
- "attributes": {
26
- "clientId": "OpenBanking",
27
- "redirectUri": "http://localhost:3000/callback",
28
- "responseType": "code",
29
- "scope": "openbanking-account",
30
- "codeChallenge": "E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM",
31
- "codeChallengeMethod": "S256",
32
- "state": "abc123-csrf-protection-token",
33
- "nonce": "xyz789-replay-protection-token",
34
- "userName": "1234",
35
- "consent": {
36
- "consentKey": "consent-john-doe-mobile-banking-customer-123",
37
- "version": "1.0.0",
38
- "userName": "1234"
39
- },
40
- "customClaims": {
41
- "channel": "mobile-de",
42
- "partner_id": "demo-partner"
43
- }
44
- }
45
- }
46
-
47
- ###
48
- @instanceId = {{startSSOFlow.response.body.id}}
49
-
50
- ### Step 5: Check State - Beklenen: "active"
51
- # Başarılı login sonrası:
52
- # validate-user → check-password → request-token (token subprocess) → active
53
- # activeCorrelations'da token subflow instance bilgisi olacak
54
- # @name getStateAfterLogin
55
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/state
56
-
57
- ### Step 6: Get Instance Data
58
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/data
59
-
60
- ###############################################################################
61
- # PHASE 3: Token Redeem (POST /oauth/token eşleniği)
62
- # SSO Client (back-channel) token subflow'una codeVerifier göndererek
63
- # token alır. PKCE doğrulaması token flow'unda yapılır.
64
- #
65
- # NOT: tokenInstanceId değerini Step 5'teki state response'undaki
66
- # activeCorrelations[0].subFlowInstanceId'den alın
67
- ###############################################################################
68
-
69
- ### token subflow instance ID (state response'undan alınacak)
70
- @tokenInstanceId = {{getStateAfterLogin.response.body.activeCorrelations[0].subFlowInstanceId}}
71
-
72
- ### Step 7: Redeem Token - token subflow'a codeVerifier ile istek
73
- # @name redeemToken
74
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/token/instances/{{tokenInstanceId}}/transitions/redeem?sync=true
75
- Content-Type: application/json
76
-
77
- {
78
- "attributes": {
79
- "codeVerifier": "{{codeVerifier}}"
80
- }
81
- }
82
-
83
- ### Step 8: Check token State - Beklenen: "issued" (tokenlar üretildi)
84
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/token/instances/{{tokenInstanceId}}/functions/state
85
-
86
- ### Step 9: Get token Data - Token bilgileri
87
- # tokenResponse: accessToken, idToken, refreshToken, tokenType, expiresIn
88
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/token/instances/{{tokenInstanceId}}/functions/data
89
-