@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.
- package/burgan-tech-morph-idm-runtime-0.0.7.tgz +0 -0
- package/morph-idm/Workflows/test-consent-selection/test-flow-with-sub.json +1 -1
- package/morph-idm/Workflows/test-consent-selection/test-flow-with-two-sub.json +2 -2
- package/morph-idm/Workflows/token-process/token/src/mappings/StateMintTokenCallSessionStartMapping.csx +8 -33
- package/morph-idm/Workflows/token-process/token/token.json +1 -1
- package/package.json +1 -1
- package/vnext.config.json +1 -1
- package/burgan-tech-morph-idm-runtime-0.0.6.tgz +0 -0
- package/morph-idm/Extensions/.gitkeep +0 -0
- package/morph-idm/Functions/.gitkeep +0 -0
- package/morph-idm/Functions/cert/check/execute/check.http +0 -106
- package/morph-idm/Functions/consent/check-consent-role/execute/check-consent-role.http +0 -89
- package/morph-idm/Functions/consent/get-consent-role-position/execute/get-consent-role-position.http +0 -55
- package/morph-idm/Functions/consent/get-position/execute/get-position.http +0 -38
- package/morph-idm/Functions/consent/get-roles/execute/get-roles.http +0 -163
- package/morph-idm/Functions/customer/execute/get-customer-by-filter.http +0 -126
- package/morph-idm/Functions/customer-management/get-firms-by-filter/execute/get-firms-by-filter.http +0 -91
- package/morph-idm/Functions/device-process/forget/execute/forget.http +0 -141
- package/morph-idm/Functions/device-process/get-device-list/execute/get-device-list.http +0 -138
- package/morph-idm/Functions/device-process/get-device-token-by-reference/execute/get-device-token-by-reference.http +0 -349
- package/morph-idm/Functions/device-process/remove/execute/remove.http +0 -150
- package/morph-idm/Functions/device-process/save/execute/save.http +0 -124
- package/morph-idm/Functions/feature-management/dynamic-config/.gitkeep +0 -0
- package/morph-idm/Functions/feature-management/dynamic-config/execute/dynamic-config-reads.http +0 -43
- package/morph-idm/Functions/feature-management/feature-flag/.gitkeep +0 -0
- package/morph-idm/Functions/feature-management/feature-management-ops/.gitkeep +0 -0
- package/morph-idm/Functions/organization/get-organizations/execute/get-organizations.http +0 -30
- package/morph-idm/Functions/organization/get-position-levels-by-scope/execute/get-position-levels-by-scope.http +0 -54
- package/morph-idm/Functions/session/logout/execute/logout.http +0 -91
- package/morph-idm/Functions/sso-flow/execute/session-transfer.http +0 -132
- package/morph-idm/Functions/sso-flow/token-direct/execute/token-direct-boarding.http +0 -222
- package/morph-idm/Functions/sso-flow/token-direct/execute/token-direct.http +0 -121
- package/morph-idm/Functions/transaction-limit/verify-limit-definition/execute/verify-limit-definition.http +0 -78
- package/morph-idm/Functions/user/execute/get-password-history-by-filter.http +0 -66
- package/morph-idm/Functions/user/execute/get-security-question-history-by-user.http +0 -85
- package/morph-idm/Functions/user/get-users-by-scope/execute/get-users-by-scope.http +0 -73
- package/morph-idm/Functions/user-login/get-last-successful-corporate-logon/execute/get-last-successful-corporate-logon.http +0 -49
- package/morph-idm/Functions/user-login/get-last-user-logins/execute/get-last-user-logins.http +0 -96
- package/morph-idm/Functions/user-login/get-user-logins/execute/get-user-logins.http +0 -78
- package/morph-idm/Functions/zeebe-approval/get-starter-instance-id/execute/get-starter-instance-id.http +0 -64
- package/morph-idm/Schemas/feature-management/database-variables/.gitkeep +0 -0
- package/morph-idm/Schemas/feature-management/dynamic-config/.gitkeep +0 -0
- package/morph-idm/Schemas/feature-management/feature-flag/.gitkeep +0 -0
- package/morph-idm/Tasks/.gitkeep +0 -0
- package/morph-idm/Tasks/feature-management/database-variables/.gitkeep +0 -0
- package/morph-idm/Tasks/feature-management/dynamic-config/.gitkeep +0 -0
- package/morph-idm/Tasks/feature-management/feature-flag/.gitkeep +0 -0
- package/morph-idm/Tasks/feature-management/feature-management-shared/.gitkeep +0 -0
- package/morph-idm/TestCases/corporate-user-login-e2e.http +0 -872
- package/morph-idm/TestCases/limit-approval/approval-matrix-limit-definition.http +0 -182
- package/morph-idm/TestCases/limit-approval/approval-non-amount-subflow.http +0 -132
- package/morph-idm/TestCases/limit-approval/transaction-limit-definition-approval.http +0 -95
- package/morph-idm/TestCases/limit-definition/README.md +0 -130
- package/morph-idm/TestCases/limit-definition/approve-transaction.http +0 -149
- package/morph-idm/TestCases/limit-definition/approve.http +0 -143
- package/morph-idm/TestCases/limit-definition/daily-limit-definition.http +0 -399
- package/morph-idm/TestCases/limit-definition/transaction-limit-definition.http +0 -240
- package/morph-idm/TestCases/session-transfer-e2e.http +0 -344
- package/morph-idm/TestCases/session-transfer-e2e.sh +0 -272
- package/morph-idm/TestCases/sort-migration-verification.http +0 -428
- package/morph-idm/TestCases/test-123/.httpyac.json +0 -15
- package/morph-idm/TestCases/test-123/01-person.http +0 -78
- package/morph-idm/TestCases/test-123/02-user.http +0 -73
- package/morph-idm/TestCases/test-123/03-scope.http +0 -65
- package/morph-idm/TestCases/test-123/04-consent.http +0 -66
- package/morph-idm/TestCases/test-123/05-device.http +0 -86
- package/morph-idm/TestCases/test-123/06-user-login.http +0 -206
- package/morph-idm/TestCases/test-123/README.md +0 -112
- package/morph-idm/TestCases/test-123/cleanup.js +0 -49
- package/morph-idm/TestCases/test-123/cleanup.sh +0 -20
- package/morph-idm/TestCases/test-123/cleanup.sql +0 -45
- package/morph-idm/TestCases/test-123/http-client.env.json +0 -13
- package/morph-idm/TestCases/test-123/run-setup.sh +0 -42
- package/morph-idm/TestCases/test-12345/.httpyac.json +0 -16
- package/morph-idm/TestCases/test-12345/01-person.http +0 -79
- package/morph-idm/TestCases/test-12345/02-01-device-android.http +0 -258
- package/morph-idm/TestCases/test-12345/02-user.http +0 -97
- package/morph-idm/TestCases/test-12345/03-scope-2.http +0 -65
- package/morph-idm/TestCases/test-12345/03-scope.http +0 -65
- package/morph-idm/TestCases/test-12345/04-consent-1.http +0 -86
- package/morph-idm/TestCases/test-12345/04-consent-2.http +0 -66
- package/morph-idm/TestCases/test-12345/05-device.http +0 -261
- package/morph-idm/TestCases/test-12345/06-user-login copy.http +0 -266
- package/morph-idm/TestCases/test-12345/06-user-login.http +0 -266
- package/morph-idm/TestCases/test-12345/07-corporate-login.http +0 -282
- package/morph-idm/TestCases/test-auto-consent/.httpyac.json +0 -14
- package/morph-idm/TestCases/test-auto-consent/01-person.http +0 -66
- package/morph-idm/TestCases/test-auto-consent/02-user.http +0 -115
- package/morph-idm/TestCases/test-auto-consent/03-scope.http +0 -66
- package/morph-idm/TestCases/test-auto-consent/04-device.http +0 -56
- package/morph-idm/TestCases/test-auto-consent/05-user-login.http +0 -133
- package/morph-idm/TestCases/test-auto-consent/README.md +0 -36
- package/morph-idm/TestCases/test-auto-consent/cleanup.js +0 -47
- package/morph-idm/TestCases/test-auto-consent/run-setup.sh +0 -50
- package/morph-idm/TestCases/test-flows/test-flow-with-two-sub.http +0 -107
- package/morph-idm/TestCases/test-get-user-info/.httpyac.json +0 -9
- package/morph-idm/TestCases/test-get-user-info/get-user-info-ibweb-manual.http +0 -127
- package/morph-idm/TestCases/test-get-user-info/get-user-info.http +0 -282
- package/morph-idm/TestCases/test-login/.httpyac.json +0 -17
- package/morph-idm/TestCases/test-login/01-person.http +0 -79
- package/morph-idm/TestCases/test-login/02-01-device-android.http +0 -261
- package/morph-idm/TestCases/test-login/02-user.http +0 -97
- package/morph-idm/TestCases/test-login/03-scope.http +0 -65
- package/morph-idm/TestCases/test-login/04-consent-1.http +0 -86
- package/morph-idm/TestCases/test-login/05-device.http +0 -261
- package/morph-idm/TestCases/test-login/06-user-login copy.http +0 -266
- package/morph-idm/TestCases/test-login/06-user-login.http +0 -266
- package/morph-idm/TestCases/test-login/07-corporate-login.http +0 -282
- package/morph-idm/TestCases/test-login/README.md +0 -37
- package/morph-idm/TestCases/test-login/cleanup.js +0 -46
- package/morph-idm/TestCases/test-login/cleanup.sh +0 -20
- package/morph-idm/TestCases/test-login/run-setup.sh +0 -53
- package/morph-idm/TestCases/test-onefa-corporate/device-key.pem +0 -27
- package/morph-idm/TestCases/test-onefa-corporate/onefa-corporate-cert-management.http +0 -156
- package/morph-idm/TestCases/test-onefa-corporate/onefa-corporate-login-cert-token.http +0 -371
- package/morph-idm/TestCases/test-onefa-retail/onefa-retail-login-cert-token.http +0 -499
- package/morph-idm/TestCases/test-third-factor/.httpyac.json +0 -36
- package/morph-idm/TestCases/test-third-factor/lib/httpyac.sh +0 -35
- package/morph-idm/TestCases/test-third-factor/scenarios/0-clean-test-instance.js +0 -42
- package/morph-idm/TestCases/test-third-factor/scenarios/0-clean-test-instance.sh +0 -20
- package/morph-idm/TestCases/test-third-factor/scenarios/1-self-completed.sh +0 -25
- package/morph-idm/TestCases/test-third-factor/scenarios/2-native-without-device.sh +0 -34
- package/morph-idm/TestCases/test-third-factor/scenarios/3-native-wrong-otp.sh +0 -34
- package/morph-idm/TestCases/test-third-factor/scenarios/4-native-success-otp-after-wrong-otp.sh +0 -46
- package/morph-idm/TestCases/test-third-factor/scenarios/5-retry-count-exceed.sh +0 -37
- package/morph-idm/TestCases/test-third-factor/scenarios/http/06-third-factor-native-with-device.http +0 -56
- package/morph-idm/TestCases/test-third-factor/scenarios/http/07-third-factor-native-without-device.http +0 -91
- package/morph-idm/TestCases/test-third-factor/scenarios/http/08-third-factor-web-with-device.http +0 -117
- package/morph-idm/TestCases/test-third-factor/scenarios/http/09-third-factor-web-without-device.http +0 -164
- package/morph-idm/TestCases/test-third-factor/scenarios/run-third-factor-native-without-device-success-otp-after-resend.sh +0 -50
- package/morph-idm/TestCases/test-third-factor/scenarios/run-third-factor-native-without-device-success-otp-resend-after-timeout-otp.sh +0 -50
- package/morph-idm/TestCases/test-third-factor/scenarios/run-third-factor-native-without-device-timeout-otp.sh +0 -48
- package/morph-idm/TestCases/test-third-factor/setup/01-person.http +0 -157
- package/morph-idm/TestCases/test-third-factor/setup/02-user.http +0 -105
- package/morph-idm/TestCases/test-third-factor/setup/03-device.http +0 -70
- package/morph-idm/TestCases/test-third-factor/setup/04-native-client.http +0 -126
- package/morph-idm/TestCases/test-third-factor/setup/05-web-client.http +0 -126
- package/morph-idm/TestCases/test-third-factor/setup/cleanup.js +0 -51
- package/morph-idm/TestCases/test-third-factor/setup/cleanup.sh +0 -20
- package/morph-idm/TestCases/test-third-factor/setup/run-setup.sh +0 -34
- package/morph-idm/TestCases/token-mint-parity/RESULT.md +0 -48
- package/morph-idm/TestCases/token-sync-race.sh +0 -72
- package/morph-idm/TestCases/user-login-apisix.postman_collection.json +0 -1114
- package/morph-idm/TestCases/user-login-boweb-e2e.http +0 -123
- package/morph-idm/TestCases/user-login-e2e.http +0 -730
- package/morph-idm/TestCases/user-login-e2e.sh +0 -122
- package/morph-idm/Views/.gitkeep +0 -0
- package/morph-idm/Workflows/.gitkeep +0 -0
- package/morph-idm/Workflows/anti-phishing-image/anti-phishing-image-change/execute/anti-phishing-image.http +0 -370
- package/morph-idm/Workflows/anti-phishing-image/anti-phishing-image-definition/execute/anti-phishing-image-definition.http +0 -200
- package/morph-idm/Workflows/anti-phishing-image/anti-phishing-image-definition/execute/get-security-images.http +0 -51
- package/morph-idm/Workflows/approval/execute/approval-corporate-customers-non-amount.http +0 -159
- package/morph-idm/Workflows/approval/execute/approval-corporate-customers-time-deposit.http +0 -147
- package/morph-idm/Workflows/approval/execute/approval-human-task-mobile.http +0 -149
- package/morph-idm/Workflows/approval/execute/approval-limit-management.http +0 -277
- package/morph-idm/Workflows/approval/execute/approval-new-reject.http +0 -67
- package/morph-idm/Workflows/approval/execute/approval-new.http +0 -999
- package/morph-idm/Workflows/approval/execute/approval-super-authority.http +0 -158
- package/morph-idm/Workflows/approval-matrix/execute/approval-matrix-corporate-customers-non-amount.http +0 -70
- package/morph-idm/Workflows/approval-matrix/execute/approval-matrix-corporate-customers-time-deposit.http +0 -74
- package/morph-idm/Workflows/approval-matrix/execute/approval-matrix-migrate-position-levels.http +0 -295
- package/morph-idm/Workflows/approval-matrix/execute/approval-matrix-new-run.http +0 -296
- package/morph-idm/Workflows/approval-matrix/execute/approval-matrix-upsert-super-authorization.http +0 -129
- package/morph-idm/Workflows/cert/execute/cert-cn-length.http +0 -90
- package/morph-idm/Workflows/cert/execute/cert.http +0 -162
- package/morph-idm/Workflows/cert-management/execute/cert-management.http +0 -90
- package/morph-idm/Workflows/channel-contract/execute/channel-contract-approval.http +0 -246
- package/morph-idm/Workflows/client/execute/client-AmorphieClient.http +0 -118
- package/morph-idm/Workflows/client/execute/client-IbWeb-session-transfer.http +0 -35
- package/morph-idm/Workflows/client/execute/client-OpenBanking.http +0 -411
- package/morph-idm/Workflows/client/execute/client-Trade.http +0 -112
- package/morph-idm/Workflows/client/execute/client-source-app.http +0 -88
- package/morph-idm/Workflows/client/execute/client-update.http +0 -795
- package/morph-idm/Workflows/client/execute/client.http +0 -766
- package/morph-idm/Workflows/client/execute/vnext-target.http +0 -416
- package/morph-idm/Workflows/client-credentials/execute/client-credentials.http +0 -117
- package/morph-idm/Workflows/consent/execute/README.md +0 -145
- package/morph-idm/Workflows/consent/execute/consent-manual-activation.http +0 -135
- package/morph-idm/Workflows/consent/execute/create-consent.http +0 -801
- package/morph-idm/Workflows/consent-management/consent-management.http +0 -267
- package/morph-idm/Workflows/consent-selection/execute/consent-selection.http +0 -200
- package/morph-idm/Workflows/deblock-sim-card/execute/MOBIL-ENTEGRASYON-GOREVLERI.md +0 -339
- package/morph-idm/Workflows/deblock-sim-card/execute/TEST-SENARYOLARI.md +0 -202
- package/morph-idm/Workflows/deblock-sim-card/execute/approve-contract-documents.sh +0 -63
- package/morph-idm/Workflows/deblock-sim-card/execute/contract-debug.sh +0 -101
- package/morph-idm/Workflows/deblock-sim-card/execute/deblock-sim-card-workflow.http +0 -290
- package/morph-idm/Workflows/device-process/device/execute/device-android.http +0 -262
- package/morph-idm/Workflows/device-process/device/execute/device-huawei.http +0 -219
- package/morph-idm/Workflows/device-process/device/execute/device-ios.http +0 -319
- package/morph-idm/Workflows/device-process/device/execute/device-migration.http +0 -105
- package/morph-idm/Workflows/device-process/device/execute/device-web.http +0 -284
- package/morph-idm/Workflows/device-process/device/execute/device.http +0 -269
- package/morph-idm/Workflows/device-process/device/execute/search.http +0 -39
- package/morph-idm/Workflows/device-process/device-assign/execute/device-assign.http +0 -478
- package/morph-idm/Workflows/device-process/device-manager/execute/device-manager.http +0 -214
- package/morph-idm/Workflows/device-process/device-register/execute/device-register.http +0 -566
- package/morph-idm/Workflows/device-process/device-unpair/execute/device-unpair.http +0 -207
- package/morph-idm/Workflows/feature-management/database-variables/.gitkeep +0 -0
- package/morph-idm/Workflows/feature-management/database-variables/execute/database-variables-lifecycle.http +0 -225
- package/morph-idm/Workflows/feature-management/dcs-eval/execute/dcs-eval.http +0 -28
- package/morph-idm/Workflows/feature-management/dynamic-config/.gitkeep +0 -0
- package/morph-idm/Workflows/feature-management/dynamic-config/execute/dynamic-config-evaluate.http +0 -186
- package/morph-idm/Workflows/feature-management/dynamic-config/execute/dynamic-config-lifecycle.http +0 -263
- package/morph-idm/Workflows/feature-management/feature-flag/.gitkeep +0 -0
- package/morph-idm/Workflows/feature-management/feature-flag/execute/feature-flag-evaluate.http +0 -245
- package/morph-idm/Workflows/feature-management/feature-flag/execute/feature-flag-lifecycle.http +0 -246
- package/morph-idm/Workflows/feature-management/feature-flag/execute/feature-flag-ops.http +0 -116
- package/morph-idm/Workflows/feature-management/feature-flag/execute/feature-flag-reads.http +0 -47
- package/morph-idm/Workflows/fraud/execute/fraud-push.http +0 -1016
- package/morph-idm/Workflows/get-roles/execute/get-roles.http +0 -367
- package/morph-idm/Workflows/introspection/execute/introspection.http +0 -69
- package/morph-idm/Workflows/ivr/execute/ivr-check-password.http +0 -55
- package/morph-idm/Workflows/ivr/execute/ivr-check-user.http +0 -56
- package/morph-idm/Workflows/ivr/execute/ivr-create-agent-consent.http +0 -59
- package/morph-idm/Workflows/ivr/execute/ivr-get-agent-company.http +0 -30
- package/morph-idm/Workflows/ivr/execute/ivr-revoke-agent-consent.http +0 -30
- package/morph-idm/Workflows/ivr/execute/ivr-set-password.http +0 -87
- package/morph-idm/Workflows/notification/push-notification/execute/push-notification.http +0 -261
- package/morph-idm/Workflows/organization/execute/create-organization-yedek.http +0 -415
- package/morph-idm/Workflows/organization/execute/create-organization.http +0 -346
- package/morph-idm/Workflows/organization/execute/retail-organization.http +0 -161
- package/morph-idm/Workflows/otp-auth-code/execute/otp-auth-code.http +0 -743
- package/morph-idm/Workflows/person/execute/person-123.http +0 -149
- package/morph-idm/Workflows/person/execute/person-migration.http +0 -143
- package/morph-idm/Workflows/person/execute/person.http +0 -149
- package/morph-idm/Workflows/person/firm-cdc-dispatch/execute/person-firm-cdc-dispatch.http +0 -266
- package/morph-idm/Workflows/remember-password/execute/remember-password.http +0 -203
- package/morph-idm/Workflows/role/execute/role.http +0 -142
- package/morph-idm/Workflows/scope/execute/scope-24-7-access.http +0 -131
- package/morph-idm/Workflows/scope/execute/scope-business-hours.http +0 -138
- package/morph-idm/Workflows/scope/execute/scope-corporate.http +0 -165
- package/morph-idm/Workflows/scope/execute/scope-individual-1234567890-1234567890.http +0 -132
- package/morph-idm/Workflows/scope/execute/scope-lifecycle-test.http +0 -133
- package/morph-idm/Workflows/scope/execute/scope-multi-systems.http +0 -159
- package/morph-idm/Workflows/scope/execute/scope-openbanking-account.http +0 -134
- package/morph-idm/Workflows/scope/execute/scope-openbanking-login.http +0 -135
- package/morph-idm/Workflows/scope/execute/scope-openbanking-payment.http +0 -134
- package/morph-idm/Workflows/scope/execute/scope-restricted.http +0 -143
- package/morph-idm/Workflows/scope-group/execute/create-scope-group.http +0 -224
- package/morph-idm/Workflows/security-check/execute/security-check-test.http +0 -88
- package/morph-idm/Workflows/security-check-test/execute/security-check-test.http +0 -51
- package/morph-idm/Workflows/security-question/security-question-change/execute/security-question-change.http +0 -324
- package/morph-idm/Workflows/security-question/security-question-definition/execute/security-question-definition.http +0 -372
- package/morph-idm/Workflows/security-question/security-question-reset/execute/security-question-reset.http +0 -97
- package/morph-idm/Workflows/shield-decrypt/execute/shield-decrypt.http +0 -77
- package/morph-idm/Workflows/shield-encrypt/execute/shield-encrypt.http +0 -80
- package/morph-idm/Workflows/shield-sign/execute/shield-sign.http +0 -79
- package/morph-idm/Workflows/shield-verify-request-signature/execute/generate-request-signature.js +0 -54
- package/morph-idm/Workflows/shield-verify-request-signature/execute/shield-verify-request-signature.http +0 -135
- package/morph-idm/Workflows/shield-verify-signature/execute/shield-verify-signature.http +0 -108
- package/morph-idm/Workflows/sim-block/sim-block-backoffice/execute/sim-block-backoffice.http +0 -183
- package/morph-idm/Workflows/simple-subflow/execute/simple-subflow.http +0 -50
- package/morph-idm/Workflows/sso/authorize/execute/authorize.http +0 -160
- package/morph-idm/Workflows/sso/authorize-route/execute/authorize-route.http +0 -169
- package/morph-idm/Workflows/sso/pre-login/execute/pre-login.http +0 -273
- package/morph-idm/Workflows/sso/token-direct/execute/token-direct.http +0 -272
- package/morph-idm/Workflows/sso/token-route/execute/token-route.http +0 -207
- package/morph-idm/Workflows/sso-flow/execute/sso-flow-auth-code.http +0 -89
- package/morph-idm/Workflows/sso-flow/execute/sso-flow-login.http +0 -163
- package/morph-idm/Workflows/sso-flow/execute/sso-flow-test-base.http +0 -178
- package/morph-idm/Workflows/test-consent-selection/execute/test-consent-selection.http +0 -68
- package/morph-idm/Workflows/test-consent-selection/execute/test-flow-with-sub.http +0 -50
- package/morph-idm/Workflows/test-consent-selection/execute/test-flow.http +0 -140
- package/morph-idm/Workflows/test-consent-selection/execute/test-sync-subprocess.http +0 -63
- package/morph-idm/Workflows/test-consent-selection/execute/test-user-validation.http +0 -126
- package/morph-idm/Workflows/third-factor/execute/third-factor.http +0 -183
- package/morph-idm/Workflows/third-factor-main/execute/execute/third-factor-main.http +0 -229
- package/morph-idm/Workflows/token-process/session/execute/session.http +0 -361
- package/morph-idm/Workflows/token-process/session-revoke-others/execute/session-revoke-others.http +0 -94
- package/morph-idm/Workflows/token-process/token/execute/README.md +0 -454
- package/morph-idm/Workflows/token-process/token/execute/device-key.pem +0 -27
- package/morph-idm/Workflows/token-process/token/execute/generate-onefa-assertion.js +0 -47
- package/morph-idm/Workflows/token-process/token/execute/onefa-token.http +0 -285
- package/morph-idm/Workflows/token-process/token/execute/setup-roles-for-token-claims.http +0 -425
- package/morph-idm/Workflows/token-process/token/execute/token-sync-race.http +0 -49
- package/morph-idm/Workflows/token-process/token/execute/token.http +0 -676
- package/morph-idm/Workflows/token-process/token-password-grant/execute/token-password-grant.http +0 -163
- package/morph-idm/Workflows/transaction-limit/cascade-approve-daily/execute/transaction-limit-cascade-approve-daily.http +0 -125
- package/morph-idm/Workflows/transaction-limit/cascade-approve-transaction/execute/transaction-limit-cascade-approve-transaction.http +0 -120
- package/morph-idm/Workflows/transaction-limit/cascade-daily/execute/transaction-limit-cascade-daily.http +0 -198
- package/morph-idm/Workflows/transaction-limit/cascade-transaction/execute/transaction-limit-cascade.http +0 -173
- package/morph-idm/Workflows/transaction-limit/definition/execute/transaction-limit-definition.http +0 -867
- package/morph-idm/Workflows/transaction-limit/definition-passivate/execute/transaction-limit-definition-passivate.http +0 -224
- package/morph-idm/Workflows/transaction-limit/definition-verify/execute/transaction-limit-definition-verify.http +0 -102
- package/morph-idm/Workflows/transaction-limit/execute/seed-corporate-customers-limits.sh +0 -178
- package/morph-idm/Workflows/transaction-limit/execute/transaction-limit-management.http +0 -984
- package/morph-idm/Workflows/transaction-limit/remaining/execute/transaction-limit-remaining.http +0 -103
- package/morph-idm/Workflows/transaction-limit/resolve/execute/transaction-limit-resolve.http +0 -96
- package/morph-idm/Workflows/transaction-limit/scope-bank-limit/execute/transaction-limit-scope-bank-limit.http +0 -84
- package/morph-idm/Workflows/transaction-limit/user-bank-limits/execute/transaction-limit-user-bank-limits.http +0 -87
- package/morph-idm/Workflows/transaction-limit/verify/execute/transaction-limit-verify.http +0 -212
- package/morph-idm/Workflows/user/create/execute/user-create-corporate.http +0 -51
- package/morph-idm/Workflows/user/create/execute/user-create.http +0 -135
- package/morph-idm/Workflows/user/get-users-by-scope/execute/get-users-by-scope.http +0 -210
- package/morph-idm/Workflows/user-corporate/firm-query/execute/firm-query.http +0 -87
- package/morph-idm/Workflows/user-corporate/onboard-dispatch/execute/user-corporate-onboard-dispatch.http +0 -105
- package/morph-idm/Workflows/user-corporate/provision/execute/user-corporate-provision.http +0 -631
- package/morph-idm/Workflows/user-corporate/provision/user-corporate-provision.flowchart.drawio +0 -88
- package/morph-idm/Workflows/user-corporate/remove/execute/user-corporate-remove.http +0 -152
- package/morph-idm/Workflows/user-corporate/rollback/execute/user-corporate-rollback.http +0 -97
- package/morph-idm/Workflows/user-corporate/update-provision/execute/user-corporate-update-provision.http +0 -449
- package/morph-idm/Workflows/user-corporate/user-corporate-create/execute/user-corporate-create.http +0 -173
- package/morph-idm/Workflows/user-corporate/user-corporate-update/execute/user-corporate-update.http +0 -117
- package/morph-idm/Workflows/user-login/execute/README-LOGIN.md +0 -535
- package/morph-idm/Workflows/user-login/execute/user-login-comprehensive-coverage.http +0 -1761
- package/morph-idm/Workflows/user-login/execute/user-login-device-assign.http +0 -497
- package/morph-idm/Workflows/user-login/execute/user-login.http +0 -910
- package/morph-idm/Workflows/user-login-approvement/execute/login-notification-otp.http +0 -86
- package/morph-idm/Workflows/user-login-approvement/execute/login-notification-push.http +0 -82
- package/morph-idm/Workflows/user-login-approvement/execute/login-notification-registered-device.http +0 -111
- package/morph-idm/Workflows/user-login-approvement/execute/user-login-approvement-comprehensive.http +0 -1267
- package/morph-idm/Workflows/user-management/execute/user-management.http +0 -284
- package/morph-idm/Workflows/user-note/execute/user-note-backoffice.http +0 -290
- package/morph-idm/Workflows/user-otp-setting/execute/user-otp-setting-backoffice.http +0 -128
- package/morph-idm/Workflows/user-password-process/user-change-password/execute/user-change-password.http +0 -576
- package/morph-idm/Workflows/user-password-process/user-password/execute/user-password.http +0 -58
- package/morph-idm/Workflows/user-password-process/user-password-force-change/execute/user-password-force-change.http +0 -31
- package/morph-idm/Workflows/user-password-process/user-password-reset/execute/user-password-reset.http +0 -213
- package/morph-idm/Workflows/user-status/user-status-change/execute/user-status-change.http +0 -124
- package/morph-idm/Workflows/user-status/user-status-change-backoffice/execute/user-status-change-backoffice.http +0 -197
- package/morph-idm/Workflows/user-validation/execute/user-validation-standalone.http +0 -331
- package/morph-idm/Workflows/user-validation/execute/user-validation.http +0 -696
- package/morph-idm/Workflows/zeebe-approval/execute/zeebe-approval-corporate-customers-non-amount.http +0 -195
- package/morph-idm/Workflows/zeebe-approval/execute/zeebe-approval-new.http +0 -275
|
@@ -1,240 +0,0 @@
|
|
|
1
|
-
### Variables
|
|
2
|
-
# Workflow: morph-idm/Workflows/transaction-limit/transaction-limit-definition.json
|
|
3
|
-
# type=Transaction (tek işlem üst sınırı). Sıra: scopeGroup tavanı → scopeGroup+limitKey → scope → user → resolve.
|
|
4
|
-
|
|
5
|
-
@baseUrl = https://test-vnext-morph-idm.apps.nonprod.ebt.bank
|
|
6
|
-
@apiVersion = v1
|
|
7
|
-
@domain = morph-idm
|
|
8
|
-
@workflow = transaction-limit-definition
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
###############################################################################
|
|
12
|
-
# 1 — scopeGroupCreate (yalnız scopeGroup)
|
|
13
|
-
# activate → check-scope-group-limit bypass (user/scope yok) → check-duplicate → active
|
|
14
|
-
###############################################################################
|
|
15
|
-
|
|
16
|
-
### 1.1 Create
|
|
17
|
-
# @name scopeGroupCreate
|
|
18
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
19
|
-
Accept-Language: tr-TR
|
|
20
|
-
X-Request-Id: {{$guid}}
|
|
21
|
-
Content-Type: application/json
|
|
22
|
-
|
|
23
|
-
{
|
|
24
|
-
"key": "limit-tx-scopegroup-{{$guid}}",
|
|
25
|
-
"tags": ["limit-definition", "TRY"],
|
|
26
|
-
"attributes": {
|
|
27
|
-
"type": "ApproveDaily",
|
|
28
|
-
"currency": "TRY",
|
|
29
|
-
"amount": 40000,
|
|
30
|
-
"scopeGroup": "kurumsal-test",
|
|
31
|
-
"validFrom": "2026-01-01T00:00:00Z",
|
|
32
|
-
"validTo": "2026-12-31T23:59:59Z"
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
###
|
|
37
|
-
@idScopeGroup = {{scopeGroupCreate.response.body.id}}
|
|
38
|
-
|
|
39
|
-
### 1.2 Activate
|
|
40
|
-
# Beklenen: 200; state `active` (scopeGroup-only → bank limit görevi atlanır, duplicate yoksa).
|
|
41
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idScopeGroup}}/transitions/activate?sync=true
|
|
42
|
-
Accept-Language: tr-TR
|
|
43
|
-
X-Request-Id: {{$guid}}
|
|
44
|
-
Content-Type: application/json
|
|
45
|
-
|
|
46
|
-
{}
|
|
47
|
-
|
|
48
|
-
###
|
|
49
|
-
|
|
50
|
-
### 1.3 State
|
|
51
|
-
# Beklenen: `active`.
|
|
52
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idScopeGroup}}/functions/state
|
|
53
|
-
Accept-Language: tr-TR
|
|
54
|
-
X-Request-Id: {{$guid}}
|
|
55
|
-
|
|
56
|
-
###
|
|
57
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idScopeGroup}}/functions/data
|
|
58
|
-
Accept-Language: tr-TR
|
|
59
|
-
X-Request-Id: {{$guid}}
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
### 1.4 Lifecycle (instance {{idScopeGroup}}): passivate → activate
|
|
64
|
-
# Senaryo: passive iken resolve bu satırı görmez; yeniden activate yine check-scope-group-limit → check-duplicate zincirinden geçer.
|
|
65
|
-
|
|
66
|
-
### 1.4a Passivate
|
|
67
|
-
# Beklenen: state `passive`.
|
|
68
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idScopeGroup}}/transitions/passivate?sync=true
|
|
69
|
-
Accept-Language: tr-TR
|
|
70
|
-
X-Request-Id: {{$guid}}
|
|
71
|
-
Content-Type: application/json
|
|
72
|
-
|
|
73
|
-
{}
|
|
74
|
-
|
|
75
|
-
###
|
|
76
|
-
|
|
77
|
-
### 1.4b State
|
|
78
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idScopeGroup}}/functions/data
|
|
79
|
-
Accept-Language: tr-TR
|
|
80
|
-
X-Request-Id: {{$guid}}
|
|
81
|
-
|
|
82
|
-
###
|
|
83
|
-
|
|
84
|
-
### 1.4c Activate
|
|
85
|
-
# Beklenen: tekrar `active`.
|
|
86
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idScopeGroup}}/transitions/activate?sync=true
|
|
87
|
-
Accept-Language: tr-TR
|
|
88
|
-
X-Request-Id: {{$guid}}
|
|
89
|
-
Content-Type: application/json
|
|
90
|
-
|
|
91
|
-
{}
|
|
92
|
-
|
|
93
|
-
###
|
|
94
|
-
|
|
95
|
-
### 1.4d State
|
|
96
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idScopeGroup}}/functions/state
|
|
97
|
-
Accept-Language: tr-TR
|
|
98
|
-
X-Request-Id: {{$guid}}
|
|
99
|
-
|
|
100
|
-
###
|
|
101
|
-
|
|
102
|
-
###############################################################################
|
|
103
|
-
# 2 — scopeGroupLimitKeyCreate (scopeGroup + limitKey=EFT, banka Transaction satırı)
|
|
104
|
-
# Alt seviye user/scope EFT tutarları check-scope-group-limit’te bu tavanla kıyaslanır.
|
|
105
|
-
###############################################################################
|
|
106
|
-
|
|
107
|
-
### 2.1 Create
|
|
108
|
-
# @name scopeGroupLimitKeyCreate
|
|
109
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
110
|
-
Accept-Language: tr-TR
|
|
111
|
-
X-Request-Id: {{$guid}}
|
|
112
|
-
Content-Type: application/json
|
|
113
|
-
|
|
114
|
-
{
|
|
115
|
-
"key": "limit-tx-scopegroup-eft-{{$guid}}",
|
|
116
|
-
"tags": ["limit-definition", "TRY"],
|
|
117
|
-
"attributes": {
|
|
118
|
-
"type": "Transaction",
|
|
119
|
-
"currency": "TRY",
|
|
120
|
-
"amount": 40000,
|
|
121
|
-
"scopeGroup": "kurumsal-test",
|
|
122
|
-
"limitKey": "EFT",
|
|
123
|
-
"validFrom": "2026-01-01T00:00:00Z",
|
|
124
|
-
"validTo": "2026-12-31T23:59:59Z"
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
###
|
|
129
|
-
@idScopeGroupLimitKey = {{scopeGroupLimitKeyCreate.response.body.id}}
|
|
130
|
-
|
|
131
|
-
### 2.2 Activate
|
|
132
|
-
# Beklenen: `active` — Transaction EFT banka tavanı (alt kullanıcı/scope EFT ile kıyaslanır).
|
|
133
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idScopeGroupLimitKey}}/transitions/activate?sync=true
|
|
134
|
-
Accept-Language: tr-TR
|
|
135
|
-
X-Request-Id: {{$guid}}
|
|
136
|
-
Content-Type: application/json
|
|
137
|
-
|
|
138
|
-
{}
|
|
139
|
-
|
|
140
|
-
###
|
|
141
|
-
|
|
142
|
-
###############################################################################
|
|
143
|
-
# 3 — scopeCreate (scopeGroup + scope; limitKey genel Transaction için kaldırılabilir)
|
|
144
|
-
###############################################################################
|
|
145
|
-
|
|
146
|
-
### 3.1 Create
|
|
147
|
-
# @name scopeCreate
|
|
148
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
149
|
-
Accept-Language: tr-TR
|
|
150
|
-
X-Request-Id: {{$guid}}
|
|
151
|
-
Content-Type: application/json
|
|
152
|
-
|
|
153
|
-
{
|
|
154
|
-
"key": "limit-tx-scope-{{$guid}}",
|
|
155
|
-
"tags": ["limit-definition", "TRY"],
|
|
156
|
-
"attributes": {
|
|
157
|
-
"type": "Transaction",
|
|
158
|
-
"currency": "TRY",
|
|
159
|
-
"amount": 35000,
|
|
160
|
-
"scopeGroup": "kurumsal-test",
|
|
161
|
-
"scope": "burgantech",
|
|
162
|
-
"validFrom": "2026-01-01T00:00:00Z",
|
|
163
|
-
"validTo": "2026-12-31T23:59:59Z"
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
###
|
|
168
|
-
@idScope = {{scopeCreate.response.body.id}}
|
|
169
|
-
|
|
170
|
-
### 3.2 Activate
|
|
171
|
-
# Beklenen: `active` (tutar banka tavanı altında); aksi `exceeds-scope-group-limit`.
|
|
172
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idScope}}/transitions/activate?sync=true
|
|
173
|
-
Accept-Language: tr-TR
|
|
174
|
-
X-Request-Id: {{$guid}}
|
|
175
|
-
Content-Type: application/json
|
|
176
|
-
|
|
177
|
-
{}
|
|
178
|
-
|
|
179
|
-
###
|
|
180
|
-
|
|
181
|
-
###############################################################################
|
|
182
|
-
# 4 — userCreate (scopeGroup + scope + user + limitKey=EFT, banka EFT satırı altında)
|
|
183
|
-
###############################################################################
|
|
184
|
-
|
|
185
|
-
### 4.1 Create
|
|
186
|
-
# @name userCreate
|
|
187
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
188
|
-
Accept-Language: tr-TR
|
|
189
|
-
X-Request-Id: {{$guid}}
|
|
190
|
-
Content-Type: application/json
|
|
191
|
-
|
|
192
|
-
{
|
|
193
|
-
"key": "limit-tx-user-scope-eft-{{$guid}}",
|
|
194
|
-
"tags": ["limit-definition", "TRY"],
|
|
195
|
-
"attributes": {
|
|
196
|
-
"type": "Transaction",
|
|
197
|
-
"currency": "TRY",
|
|
198
|
-
"amount": 15000,
|
|
199
|
-
"scopeGroup": "kurumsal-test",
|
|
200
|
-
"scope": "burgantech",
|
|
201
|
-
"user": "test-user-2",
|
|
202
|
-
"limitKey": "EFT",
|
|
203
|
-
"validFrom": "2020-01-01T00:00:00Z",
|
|
204
|
-
"validTo": "2035-12-31T23:59:59Z"
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
###
|
|
209
|
-
@idUser = {{userCreate.response.body.id}}
|
|
210
|
-
|
|
211
|
-
### 4.2 Activate
|
|
212
|
-
# Beklenen: `active` (15000 < banka EFT 40000; duplicate yoksa).
|
|
213
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idUser}}/transitions/activate?sync=true
|
|
214
|
-
Accept-Language: tr-TR
|
|
215
|
-
X-Request-Id: {{$guid}}
|
|
216
|
-
Content-Type: application/json
|
|
217
|
-
|
|
218
|
-
{}
|
|
219
|
-
|
|
220
|
-
###
|
|
221
|
-
|
|
222
|
-
###############################################################################
|
|
223
|
-
# 5 — function-resolve-limit (Transaction)
|
|
224
|
-
###############################################################################
|
|
225
|
-
|
|
226
|
-
### 5.1 Transaction + limitKey=EFT
|
|
227
|
-
# Beklenen: user+scope+EFT için efektif tek işlem limiti (ör. 15000).
|
|
228
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/function-resolve-limit?&scopeGroup=kurumsal-test&type=Transaction&limitKey=EFT
|
|
229
|
-
Accept-Language: tr-TR
|
|
230
|
-
X-Request-Id: {{$guid}}
|
|
231
|
-
|
|
232
|
-
###
|
|
233
|
-
|
|
234
|
-
### 5.2 Transaction, limitKey yok
|
|
235
|
-
# Beklenen: genel Transaction çözümü (scope seviyesi 35000 veya üst fallback).
|
|
236
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/function-resolve-limit?user=test-user-2&scope=burgantech&scopeGroup=kurumsal-test&type=Transaction
|
|
237
|
-
Accept-Language: tr-TR
|
|
238
|
-
X-Request-Id: {{$guid}}
|
|
239
|
-
|
|
240
|
-
###
|
|
@@ -1,344 +0,0 @@
|
|
|
1
|
-
###############################################################################
|
|
2
|
-
# SESSION-TRANSFER (OTURUM TAŞIMA) — UÇTAN UCA (E2E) SENARYO
|
|
3
|
-
#
|
|
4
|
-
# session-transfer-e2e.sh'nin REST Client eşleniği. Tek, kendi kendine yeten
|
|
5
|
-
# dosya: önce gereken TÜM instance'ları oluşturur (SETUP), sonra Token-paritesi
|
|
6
|
-
# zinciri sürer:
|
|
7
|
-
# CreatePreLogin (create-pre-login function, 200 JSON)
|
|
8
|
-
# → Consume (pre-login instance function, 302 + Location)
|
|
9
|
-
# → Authorize (authorize-redirect instance function, 302 + Location)
|
|
10
|
-
# → Token redeem (PKCE codeVerifier) → access_token
|
|
11
|
-
# + tek kullanımlık / hata merdiveni negatifleri.
|
|
12
|
-
#
|
|
13
|
-
# Çalıştırma: VS Code REST Client ile YUKARIDAN AŞAĞIYA sırayla.
|
|
14
|
-
# Runtime: http://localhost:4251 (baseUrl .vscode/settings.json $shared'dan gelir)
|
|
15
|
-
# Bileşenler publish edilmiş olmalı: wf csx --all && wf update
|
|
16
|
-
#
|
|
17
|
-
# NOT (302'ler): REST Client 302 yanıtını olduğu gibi gösterir — Location
|
|
18
|
-
# header'ını elle kontrol edin ve içindeki authorize= / code= değerlerini
|
|
19
|
-
# aşağıdaki @authorizeKey / @code değişkenlerine ELLE kopyalayın (redirect
|
|
20
|
-
# yanıtlarından otomatik değişken çıkarılamaz).
|
|
21
|
-
#
|
|
22
|
-
# BİLİNEN ORTAM SORUNU (TTL/N5): lokal docker'da flow.timeout job'ları teslim
|
|
23
|
-
# edilmiyor (authorize'ın PT5M'i dahil hiçbir workflow timeout'u ateşlenmiyor)
|
|
24
|
-
# — pre-login 120 sn sonra "expired"a düşmeyebilir. Platform bulgusudur.
|
|
25
|
-
###############################################################################
|
|
26
|
-
|
|
27
|
-
@apiVersion = v1
|
|
28
|
-
@domain = morph-idm
|
|
29
|
-
|
|
30
|
-
@userKey = 1234
|
|
31
|
-
### scopeUser = müşteri/scope referansı → authorize `scope` (scope instance key) → sub claim (userKey ise giriş yapan kişi → act_sub)
|
|
32
|
-
@scopeUser = 20183007
|
|
33
|
-
@sourceClient = MainApp
|
|
34
|
-
@targetClient = Trade
|
|
35
|
-
@redirectUri = http://localhost:5360/callback
|
|
36
|
-
@targetLogin = http://localhost:5360/
|
|
37
|
-
|
|
38
|
-
# PKCE (RFC 7636 örnek çifti — sadece test için)
|
|
39
|
-
@codeVerifier = dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk
|
|
40
|
-
@codeChallenge = E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM
|
|
41
|
-
|
|
42
|
-
###############################################################################
|
|
43
|
-
# ░░ SETUP ░░ (idempotent değil — instance zaten varsa 4xx/5xx görmezden gelin;
|
|
44
|
-
# önce GET .../functions/state ile "active" olup olmadığına bakın)
|
|
45
|
-
###############################################################################
|
|
46
|
-
|
|
47
|
-
### S0a. (Probe) user var mı? "active" ise S1'leri atlayın
|
|
48
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user/instances/{{userKey}}/functions/state
|
|
49
|
-
|
|
50
|
-
### S1a. Person oluştur (draft)
|
|
51
|
-
# @name startPerson
|
|
52
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/person/instances/start?sync=true
|
|
53
|
-
Accept-Language: tr-TR
|
|
54
|
-
X-Request-Id: {{$guid}}
|
|
55
|
-
user_reference: e2e-admin
|
|
56
|
-
Content-Type: application/json
|
|
57
|
-
|
|
58
|
-
{
|
|
59
|
-
"key": "{{userKey}}",
|
|
60
|
-
"tags": ["e2e", "session-transfer"],
|
|
61
|
-
"attributes": {
|
|
62
|
-
"personType": "retail-customers",
|
|
63
|
-
"name": { "first": "Test", "last": "User" }
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
### S1b. Person publish (draft -> active)
|
|
68
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/person/instances/{{userKey}}/transitions/publish?sync=true
|
|
69
|
-
X-Request-Id: {{$guid}}
|
|
70
|
-
user_reference: e2e-admin
|
|
71
|
-
Content-Type: application/json
|
|
72
|
-
|
|
73
|
-
{ "attributes": { "publishedBy": "e2e", "publishedAt": "{{$datetime iso8601}}" } }
|
|
74
|
-
|
|
75
|
-
### S1c. User oluştur (kimlik asserted gittiği için şifre/güvenlik sorusu GEREKMEZ)
|
|
76
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user/instances/start?sync=true
|
|
77
|
-
X-Request-Id: {{$guid}}
|
|
78
|
-
user_reference: e2e-admin
|
|
79
|
-
Content-Type: application/json
|
|
80
|
-
|
|
81
|
-
{
|
|
82
|
-
"key": "{{userKey}}",
|
|
83
|
-
"tags": ["e2e", "session-transfer"],
|
|
84
|
-
"attributes": {
|
|
85
|
-
"type": "person",
|
|
86
|
-
"status": { "type": 20, "state": 10, "reason": 10, "reasonDescription": "e2e", "createdByUserName": "e2e", "createdAt": "{{$datetime iso8601}}" },
|
|
87
|
-
"person": { "domain": "morph-idm", "workflow": "person", "key": "{{userKey}}", "version": "1.0.0" },
|
|
88
|
-
"mobilePhonesNumbers": [{ "countryCode": "90", "areaCode": "539", "number": "1111111", "useForOTP": true }]
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
### S2a. (Probe) scope session-transfer var mı? "active" ise S2'leri atlayın
|
|
93
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/scope/instances/session-transfer/functions/state
|
|
94
|
-
|
|
95
|
-
### S2b. Scope session-transfer oluştur + publish
|
|
96
|
-
### (tam payload: Workflows/scope/execute/scope-sso-session-transfer.http)
|
|
97
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/scope/instances/start?sync=true
|
|
98
|
-
X-Request-Id: {{$guid}}
|
|
99
|
-
user_reference: e2e-admin
|
|
100
|
-
Content-Type: application/json
|
|
101
|
-
|
|
102
|
-
{
|
|
103
|
-
"key": "session-transfer",
|
|
104
|
-
"tags": ["sso", "session-transfer"],
|
|
105
|
-
"attributes": {
|
|
106
|
-
"group": { "domain": "morph-idm", "workflow": "scope-group", "key": "reference" },
|
|
107
|
-
"externalSystems": [],
|
|
108
|
-
"metadata": { "tokenMinLifeTime": "PT5M", "tokenMaxLifeTime": "PT1H", "tokenLifeTime": "PT30M" }
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
### S2c. Scope publish
|
|
113
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/scope/instances/session-transfer/transitions/publish?sync=true
|
|
114
|
-
X-Request-Id: {{$guid}}
|
|
115
|
-
user_reference: e2e-admin
|
|
116
|
-
Content-Type: application/json
|
|
117
|
-
|
|
118
|
-
{ "attributes": { "publishedBy": "e2e", "publishedAt": "{{$datetime iso8601}}" } }
|
|
119
|
-
|
|
120
|
-
### S3. HEDEF client Trade — Workflows/client/execute/client-Trade.http dosyasını çalıştırın
|
|
121
|
-
### (key=Trade, loginURI={{targetLogin}}, redirectUris.TradeWeb={{redirectUri}}, pkce.mode=must)
|
|
122
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/client/instances/{{targetClient}}/functions/state
|
|
123
|
-
|
|
124
|
-
### S4. KAYNAK client MainApp — Workflows/client/execute/client-source-app.http dosyasını çalıştırın
|
|
125
|
-
### (canCreateLoginUrl=true, createLoginUrlClients=["Trade"])
|
|
126
|
-
### Tarayıcı demosu için ayrıca: client-IbWeb-session-transfer.http (IbWeb'e aynı yetki)
|
|
127
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/client/instances/{{sourceClient}}/functions/state
|
|
128
|
-
|
|
129
|
-
###############################################################################
|
|
130
|
-
# ░░ HAPPY PATH ░░ T1 → T8
|
|
131
|
-
###############################################################################
|
|
132
|
-
|
|
133
|
-
### T1. CreatePreLogin — 200 { status:"created", preLoginKey, redirectUri, expiresIn:120 }
|
|
134
|
-
### userName → act_sub, scopeUser → sub (T8b'de token payload'ında doğrulanır)
|
|
135
|
-
# @name createPreLogin
|
|
136
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/create-pre-login
|
|
137
|
-
acr: r
|
|
138
|
-
Content-Type: application/json
|
|
139
|
-
Accept-Language: tr-TR
|
|
140
|
-
X-Request-Id: {{$guid}}
|
|
141
|
-
|
|
142
|
-
{
|
|
143
|
-
"userName": "{{userKey}}",
|
|
144
|
-
"scopeUser": "{{scopeUser}}",
|
|
145
|
-
"sourceClientId": "{{sourceClient}}",
|
|
146
|
-
"targetClientId": "{{targetClient}}",
|
|
147
|
-
"redirectUri": "{{redirectUri}}",
|
|
148
|
-
"codeChallenge": "{{codeChallenge}}",
|
|
149
|
-
"codeChallengeMethod": "S256",
|
|
150
|
-
"state": "st-{{$timestamp}}",
|
|
151
|
-
"nonce": "nonce-{{$timestamp}}",
|
|
152
|
-
"culture": "tr-TR"
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
###
|
|
156
|
-
@preLoginKey = {{createPreLogin.response.body.preLoginKey}}
|
|
157
|
-
@consumeUrl = {{createPreLogin.response.body.redirectUri}}
|
|
158
|
-
|
|
159
|
-
### T2. (Bilgi) pre-login state — "waiting-consume" beklenir
|
|
160
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/pre-login/instances/{{preLoginKey}}/functions/state
|
|
161
|
-
|
|
162
|
-
### T3. Consume — 302 beklenir (URL, T1 yanıtındaki redirectUri — server MorphIdm:SsoUrl ile kurar); Location = {{targetLogin}}?authorize=st-...&state=...&culture=tr-TR&e2e=1
|
|
163
|
-
### (authorize= değerini T5 için @authorizeKey'e kopyalayın — 302 body'sizdir,
|
|
164
|
-
### alternatif: T4b ile instance datasından okuyun)
|
|
165
|
-
GET {{consumeUrl}}?e2e=1
|
|
166
|
-
Accept-Language: tr-TR
|
|
167
|
-
X-Request-Id: {{$guid}}
|
|
168
|
-
|
|
169
|
-
### T4. Consume TEKRARI — 403 beklenir (tek kullanımlık)
|
|
170
|
-
GET {{consumeUrl}}
|
|
171
|
-
X-Request-Id: {{$guid}}
|
|
172
|
-
|
|
173
|
-
### T4b. authorize key'i instance datasından oku (Location'a alternatif)
|
|
174
|
-
# @name preLoginData
|
|
175
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/pre-login/instances/{{preLoginKey}}/functions/data
|
|
176
|
-
|
|
177
|
-
###
|
|
178
|
-
@authorizeKey = {{preLoginData.response.body.data.authorizeInstanceKey}}
|
|
179
|
-
|
|
180
|
-
### T5. Authorize — 302 beklenir; Location = {{redirectUri}}?code=<tokenInstanceId>&state=st-...
|
|
181
|
-
### (code= değerini T7 için @code'a kopyalayın — alternatif: T6b)
|
|
182
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/authorize-redirect?authorize={{authorizeKey}}
|
|
183
|
-
Accept-Language: tr-TR
|
|
184
|
-
X-Request-Id: {{$guid}}
|
|
185
|
-
|
|
186
|
-
### T5b. Authorize — cookie fallback (T5 YERİNE çalıştırın; authorize tek kullanımlıktır)
|
|
187
|
-
### authorize query paramı YOK; key, consume 302'sinin bıraktığı mi-authorize-key
|
|
188
|
-
### cookie'sinden çözülür (digitalbanking direct-call senaryosu). Beklenen: T5 ile aynı 302.
|
|
189
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/authorize-redirect
|
|
190
|
-
Cookie: mi-authorize-key={{authorizeKey}}
|
|
191
|
-
Accept-Language: tr-TR
|
|
192
|
-
X-Request-Id: {{$guid}}
|
|
193
|
-
|
|
194
|
-
### T6. Authorize TEKRARI — 403 beklenir (replay)
|
|
195
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/authorize-redirect?authorize={{authorizeKey}}
|
|
196
|
-
X-Request-Id: {{$guid}}
|
|
197
|
-
|
|
198
|
-
### T6b. code'u instance datasından oku (Location'a alternatif)
|
|
199
|
-
# @name authorizeData
|
|
200
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/authorize/instances/{{authorizeKey}}/functions/data
|
|
201
|
-
|
|
202
|
-
###
|
|
203
|
-
@code = {{authorizeData.response.body.data.tokenData.subFlowInstanceId}}
|
|
204
|
-
|
|
205
|
-
### T7. Token redeem — 200 + token gövdesi beklenir
|
|
206
|
-
### (token subprocess'i geç oturursa birkaç sn bekleyip tekrar deneyin:
|
|
207
|
-
### GET .../workflows/token/instances/{{code}}/functions/state → "waiting-redeem")
|
|
208
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/token/instances/{{code}}/transitions/redeem?sync=true
|
|
209
|
-
Content-Type: application/json
|
|
210
|
-
X-Request-Id: {{$guid}}
|
|
211
|
-
|
|
212
|
-
{
|
|
213
|
-
"attributes": { "codeVerifier": "{{codeVerifier}}" }
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
### T8. Token data — data.tokenCreation.access_token dolu olmalı
|
|
217
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/token/instances/{{code}}/functions/data
|
|
218
|
-
|
|
219
|
-
### T8b. Claim kontrolü (manuel): T8'deki access_token'ın payload'ını (2. segment, base64url)
|
|
220
|
-
### decode edin — beklenen: "sub": "{{scopeUser}}", "act_sub": "{{userKey}}",
|
|
221
|
-
### "customer_no": "{{scopeUser}}". sub'ın boş/yanlış çıkması veya act_sub'ın boş
|
|
222
|
-
### olması bu zincirdeki (pre-login → authorize → token → session) taşımanın koptuğunu gösterir.
|
|
223
|
-
### Hızlı kontrol:
|
|
224
|
-
### python3 -c "import base64,json,sys; p=sys.argv[1].split('.')[1]; print(json.dumps(json.loads(base64.urlsafe_b64decode(p+'='*(-len(p)%4))),indent=2,ensure_ascii=False))" <access_token>
|
|
225
|
-
|
|
226
|
-
###############################################################################
|
|
227
|
-
# ░░ NEGATİFLER ░░ N1 → N5
|
|
228
|
-
###############################################################################
|
|
229
|
-
|
|
230
|
-
### N1. canCreateLoginUrl olmayan kaynak (Trade kaynak olamaz) → 403 unauthorized_client
|
|
231
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/create-pre-login
|
|
232
|
-
acr: r
|
|
233
|
-
Content-Type: application/json
|
|
234
|
-
X-Request-Id: {{$guid}}
|
|
235
|
-
|
|
236
|
-
{
|
|
237
|
-
"userName": "{{userKey}}",
|
|
238
|
-
"sourceClientId": "{{targetClient}}",
|
|
239
|
-
"targetClientId": "{{sourceClient}}",
|
|
240
|
-
"redirectUri": "http://localhost:5350/callback",
|
|
241
|
-
"codeChallenge": "{{codeChallenge}}",
|
|
242
|
-
"state": "st-negative-1"
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
### N2. Allowlist dışı hedef (MainApp → MainApp) → 403 unauthorized_client
|
|
246
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/create-pre-login
|
|
247
|
-
acr: r
|
|
248
|
-
Content-Type: application/json
|
|
249
|
-
X-Request-Id: {{$guid}}
|
|
250
|
-
|
|
251
|
-
{
|
|
252
|
-
"userName": "{{userKey}}",
|
|
253
|
-
"sourceClientId": "{{sourceClient}}",
|
|
254
|
-
"targetClientId": "{{sourceClient}}",
|
|
255
|
-
"redirectUri": "http://localhost:5350/callback",
|
|
256
|
-
"codeChallenge": "{{codeChallenge}}",
|
|
257
|
-
"state": "st-negative-2"
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
### N3. Olmayan kaynak client → 404 client_not_found
|
|
261
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/create-pre-login
|
|
262
|
-
acr: r
|
|
263
|
-
Content-Type: application/json
|
|
264
|
-
X-Request-Id: {{$guid}}
|
|
265
|
-
|
|
266
|
-
{
|
|
267
|
-
"userName": "{{userKey}}",
|
|
268
|
-
"sourceClientId": "no-such-client",
|
|
269
|
-
"targetClientId": "{{targetClient}}",
|
|
270
|
-
"redirectUri": "{{redirectUri}}",
|
|
271
|
-
"codeChallenge": "{{codeChallenge}}",
|
|
272
|
-
"state": "st-negative-3"
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
### N4. codeChallenge eksik → 4xx/5xx (start mapping reddediyor)
|
|
276
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/create-pre-login
|
|
277
|
-
acr: r
|
|
278
|
-
Content-Type: application/json
|
|
279
|
-
X-Request-Id: {{$guid}}
|
|
280
|
-
|
|
281
|
-
{
|
|
282
|
-
"userName": "{{userKey}}",
|
|
283
|
-
"sourceClientId": "{{sourceClient}}",
|
|
284
|
-
"targetClientId": "{{targetClient}}",
|
|
285
|
-
"redirectUri": "{{redirectUri}}",
|
|
286
|
-
"state": "st-negative-4"
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
### N5. TTL (OPT-IN — bilinen ortam sorununa bakın): yeni bir pre-login oluşturun (T1),
|
|
290
|
-
### 120+ sn bekleyin, state "expired" olduysa consume → 403 beklenir.
|
|
291
|
-
### Lokal docker'da timeout job'ları teslim edilmediği için state waiting-consume'da
|
|
292
|
-
### kalabilir — bu bileşen hatası değil, platform/altyapı bulgusudur.
|
|
293
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/pre-login/instances/{{preLoginKey}}/functions/state
|
|
294
|
-
|
|
295
|
-
###############################################################################
|
|
296
|
-
# ░░ N6 — LEGACY FORWARD ░░ acr'sız istek → legacy Token CreatePreLogin köprüsü
|
|
297
|
-
# acr header'ı gönderilmez → pre-login flow'u route-by-acr'da legacy-forward
|
|
298
|
-
# dalına gider, legacy amorphie.token CreatePreLogin'i çağırır
|
|
299
|
-
# (config: MorphIdm:TokenBaseAddress) ve upstream yanıtını AYNEN döner.
|
|
300
|
-
# Beklenen: legacy servis ayaktaysa 200 {redirectUri}/{requestId} veya 403/404;
|
|
301
|
-
# kapalıysa 502 bad_gateway (ortam durumu — bileşen hatası değil).
|
|
302
|
-
###############################################################################
|
|
303
|
-
|
|
304
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/create-pre-login
|
|
305
|
-
Content-Type: application/json
|
|
306
|
-
X-Request-Id: {{$guid}}
|
|
307
|
-
|
|
308
|
-
{
|
|
309
|
-
"userName": "{{userKey}}",
|
|
310
|
-
"sourceClientId": "{{sourceClient}}",
|
|
311
|
-
"targetClientId": "{{targetClient}}",
|
|
312
|
-
"redirectUri": "{{redirectUri}}",
|
|
313
|
-
"codeChallenge": "{{codeChallenge}}",
|
|
314
|
-
"state": "st-legacy"
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
###############################################################################
|
|
318
|
-
# ░░ N7 — GERÇEK ÜRETİM WIRE KONTRATI ░░ acr YOK, APISIX introspection header'ları
|
|
319
|
-
# enjekte edilmiş, body sadece {clientCode, scopeUser}. targetClientId=clientCode
|
|
320
|
-
# normalize edilir; userName sırayla user_reference/username/sub/scopeUser'dan
|
|
321
|
-
# türer; sourceClientId azp/client_id/clientid'den türer. TÜM header'lar
|
|
322
|
-
# (Authorization, Clientidreal, X-Session-Id, Behalf-Of-User, Sub, Act_sub, ...)
|
|
323
|
-
# ve body AYNEN legacy public/CreatePreLogin'e gider.
|
|
324
|
-
###############################################################################
|
|
325
|
-
|
|
326
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/create-pre-login
|
|
327
|
-
Accept-Language: tr-TR
|
|
328
|
-
Content-Type: application/json; charset=utf-8
|
|
329
|
-
Authorization: Bearer test-token
|
|
330
|
-
Act_sub: 22976007340
|
|
331
|
-
Azp: IbWeb
|
|
332
|
-
Behalf-Of-User: 81b951e2-9aff-11f1-8664-cf8be650d727
|
|
333
|
-
Client_id: IbWeb
|
|
334
|
-
Clientidreal: 6915a0a5-e389-4674-be8a-392b779efd21
|
|
335
|
-
Sub: 22976007340
|
|
336
|
-
User_reference: 22976007340
|
|
337
|
-
Username: 22976007340
|
|
338
|
-
X-Request-Id: {{$guid}}
|
|
339
|
-
X-Session-Id: 91c90d38-5097-4c53-bb2c-f2fc59b752f4
|
|
340
|
-
|
|
341
|
-
{
|
|
342
|
-
"clientCode": "{{targetClient}}",
|
|
343
|
-
"scopeUser": "22976007340"
|
|
344
|
-
}
|