@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,566 +0,0 @@
|
|
|
1
|
-
### device-register workflow – search + reinstall-supersede + sync register
|
|
2
|
-
### Akış: search-device -> (already-registered|banned-end) | update-registered-device -> (updated-already-registered|update-failed)
|
|
3
|
-
### | search-other-installations -> (deactivate-other-installations: supersede)* -> register-device -> (registered|register-failed)
|
|
4
|
-
### update-registered-device: birebir aktif eşleşme var ama istekteki deviceToken ve/veya isGoogleServiceAvailable kayıtlı
|
|
5
|
-
### değerden farklıysa (deviceUpdateNeeded / deviceUpdateFields, SearchDeviceMapping hesaplar) device.update tetiklenir;
|
|
6
|
-
### en fazla 3 deneme, sonra update-failed. İstekte alan yoksa değişim sayılmaz. Bkz. bölüm 2b.
|
|
7
|
-
### Her terminal yolda instance datası otoritatif cihaz-kimlik fact'lerini taşır:
|
|
8
|
-
### deviceKnown, installationKnown, installationChanged, previousInstallationId,
|
|
9
|
-
### act, sub, registeredAt, lastSeenAt, deviceInstanceId (act/sub düz string key; boşken "" döner)
|
|
10
|
-
### hpkeCreation = cihazın HPKE çifti (RFC 9180 DHKEM(P-256)+HKDF-SHA256+AES-128-GCM; publicKey/privateKey/keyId/suite...). device akışının saved onEntry'sinde
|
|
11
|
-
### hpke-keypair-create-task üretir; registered yolunda sync start yanıtındaki settled data'dan, already-registered/banned
|
|
12
|
-
### yollarında eşleşen instance'tan okunur. Değişiklik öncesi açılmış legacy cihazlarda null.
|
|
13
|
-
###
|
|
14
|
-
### Sync yanıt (attributes.output -> DeviceRegisterOutputHandler): ?sync=true start'larda standart envelope YERİNE
|
|
15
|
-
### her terminal state'te aynı düz obje döner (HTTP 200):
|
|
16
|
-
### { state, deviceId, installationId, deviceInstanceId, deviceFound, deviceKnown, installationKnown,
|
|
17
|
-
### installationChanged, registeredAt, lastSeenAt, hpkeCreation: { publicKey, symmetricKey } }
|
|
18
|
-
### hpkeCreation = instance'ın hpkeCreation'ından yalnızca publicKey + symmetricKey (privateKey ASLA dönmez); master şemadaki
|
|
19
|
-
### yol korunur ki client x-context-target sink'leri (hpkeCreation.publicKey / hpkeCreation.symmetricKey) gövdeden okuyabilsin;
|
|
20
|
-
### instance'ta hpkeCreation yoksa null;
|
|
21
|
-
### eksik değerler null, bool'lar false.
|
|
22
|
-
### Gövdede id yok -> instance id/key X-Instance-Id / X-Instance-Key header'larından okunur.
|
|
23
|
-
### functions/data değişmedi (tam fact seti + hpkeCreation orada). Subflow kullanımında (user-login) output uygulanmaz.
|
|
24
|
-
###
|
|
25
|
-
### IbWeb: deviceId/installationId istemciden geldiği gibi kullanılır (asla ezilmez). Her client tipi gibi IbWeb de
|
|
26
|
-
### yalnızca birebir deviceId+installationId çiftiyle eşleşir (ikincil kimlik / shapeId yok); Client Hints header'ları
|
|
27
|
-
### sadece deviceInfo'yu besler. Oturum başına değişen id'lerle gelen tarayıcı yeni kayıt açar (registered), aynı
|
|
28
|
-
### deviceId'nin önceki kurulumu supersede edilir. Bkz. bölüm 6.
|
|
29
|
-
|
|
30
|
-
### Variables
|
|
31
|
-
@workflow = device-register
|
|
32
|
-
@deviceId = device-reg-56
|
|
33
|
-
@installationId = {{deviceId}}-15
|
|
34
|
-
|
|
35
|
-
###############################################################################
|
|
36
|
-
### 1. Fresh device: no exact match, no other installations -> registered
|
|
37
|
-
###############################################################################
|
|
38
|
-
|
|
39
|
-
### Start – fresh deviceId+installationId (sync=false: standard {id,status} envelope, output mapping NOT applied)
|
|
40
|
-
# @name startFresh
|
|
41
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
42
|
-
Accept-Language: tr-TR
|
|
43
|
-
X-Request-Id: {{$guid}}
|
|
44
|
-
Content-Type: application/json
|
|
45
|
-
|
|
46
|
-
{
|
|
47
|
-
"key": "device-register-{{deviceId}}-{{$timestamp}}",
|
|
48
|
-
"tags": ["execute", "device-register"],
|
|
49
|
-
"attributes": {
|
|
50
|
-
"deviceId": "{{deviceId}}",
|
|
51
|
-
"installationId": "{{installationId}}",
|
|
52
|
-
"adjustId": "adj-{{deviceId}}",
|
|
53
|
-
"deviceInfo": {
|
|
54
|
-
"osName": "Android",
|
|
55
|
-
"osVersion": "14",
|
|
56
|
-
"deviceModel": "Galaxy S24",
|
|
57
|
-
"manufacturer": "Samsung",
|
|
58
|
-
"language": "tr-TR",
|
|
59
|
-
"timezone": "Europe/Istanbul"
|
|
60
|
-
},
|
|
61
|
-
"appVersion": "3.0.0",
|
|
62
|
-
"pushToken": {
|
|
63
|
-
"platform": "fcm",
|
|
64
|
-
"token": "dGhpc0lzQUZha2VGQ01Ub2tlbkZvclRlc3RpbmdQdXJwb3Nlc09ubHk6QVBBOTFiR3F4",
|
|
65
|
-
"projectId": "bank-mobile-app",
|
|
66
|
-
"packageName": "com.bank.mobilebanking"
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
###
|
|
72
|
-
@instanceId1 = {{startFresh.response.body.id}}
|
|
73
|
-
|
|
74
|
-
### Expect currentState = registered
|
|
75
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId1}}/functions/state
|
|
76
|
-
Accept-Language: tr-TR
|
|
77
|
-
X-Request-Id: {{$guid}}
|
|
78
|
-
|
|
79
|
-
### Expect facts (fresh device):
|
|
80
|
-
### deviceKnown = false, installationKnown = false, installationChanged = false,
|
|
81
|
-
### previousInstallationId = null, act = "", sub = "",
|
|
82
|
-
### registeredAt / lastSeenAt = ISO timestamp (creation moment),
|
|
83
|
-
### deviceInstanceId == registeredDeviceInstanceId (both set),
|
|
84
|
-
### hpkeCreation.success = true, hpkeCreation.publicKey / privateKey dolu, hpkeCreation.keyId = "device-{{deviceId}}"
|
|
85
|
-
### (device instance'ının functions/data'sındaki hpkeCreation ile birebir aynı)
|
|
86
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId1}}/functions/data
|
|
87
|
-
Accept-Language: tr-TR
|
|
88
|
-
X-Request-Id: {{$guid}}
|
|
89
|
-
|
|
90
|
-
###############################################################################
|
|
91
|
-
### 2. Same deviceId + same installationId again -> already-registered
|
|
92
|
-
###############################################################################
|
|
93
|
-
|
|
94
|
-
### Start – same deviceId+installationId as step 1
|
|
95
|
-
# @name startSameExact
|
|
96
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
97
|
-
Accept-Language: tr-TR
|
|
98
|
-
X-Request-Id: {{$guid}}
|
|
99
|
-
Content-Type: application/json
|
|
100
|
-
|
|
101
|
-
{
|
|
102
|
-
"key": "device-register-{{deviceId}}-retry",
|
|
103
|
-
"tags": ["execute", "device-register"],
|
|
104
|
-
"attributes": {
|
|
105
|
-
"deviceId": "{{deviceId}}",
|
|
106
|
-
"installationId": "{{installationId}}",
|
|
107
|
-
"deviceInfo": {
|
|
108
|
-
"osName": "Android",
|
|
109
|
-
"osVersion": "14",
|
|
110
|
-
"deviceModel": "Galaxy S24",
|
|
111
|
-
"manufacturer": "Samsung",
|
|
112
|
-
"language": "tr-TR",
|
|
113
|
-
"timezone": "Europe/Istanbul"
|
|
114
|
-
},
|
|
115
|
-
"deviceCertificatePublicKey": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2X4YZ5JJcds3xfn/ygWy\nR7TZZXe1zE8bF9U3Q2m5yM7qKk0W5X3YZ8vN4V2rK1L8mM3C7H4aP2b6D5F1nE0i\n-----END PUBLIC KEY-----",
|
|
116
|
-
"appVersion": "3.0.0",
|
|
117
|
-
"pushToken": {
|
|
118
|
-
"platform": "fcm",
|
|
119
|
-
"token": "dGhpc0lzQUZha2VGQ01Ub2tlbkZvclRlc3RpbmdQdXJwb3Nlc09ubHk6QVBBOTFiR3F4",
|
|
120
|
-
"projectId": "bank-mobile-app",
|
|
121
|
-
"packageName": "com.bank.mobilebanking"
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
### Expect sync body (output mapping): state = "already-registered", deviceFound = true, deviceKnown = true,
|
|
127
|
-
### installationKnown = true, installationChanged = false, deviceInstanceId = step 1's device instance id,
|
|
128
|
-
### registeredAt = step 1's timestamp, hpkeCreation.publicKey / hpkeCreation.symmetricKey = step 1's;
|
|
129
|
-
### NO hpkeCreation.privateKey / act / sub in the body (functions/data still carries them)
|
|
130
|
-
###
|
|
131
|
-
@instanceId2 = {{startSameExact.response.headers.X-Instance-Id}}
|
|
132
|
-
|
|
133
|
-
### Expect currentState = already-registered
|
|
134
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId2}}/functions/state
|
|
135
|
-
Accept-Language: tr-TR
|
|
136
|
-
X-Request-Id: {{$guid}}
|
|
137
|
-
|
|
138
|
-
### Expect facts (existing registration):
|
|
139
|
-
### deviceKnown = true, installationKnown = true, installationChanged = false,
|
|
140
|
-
### deviceInstanceId == step 1's registeredDeviceInstanceId,
|
|
141
|
-
### registeredAt = step 1's timestamp; registeredDeviceInstanceId ABSENT (only set on the create path);
|
|
142
|
-
### act / sub = "" (anonymous device — populated after login/assign, see step 5),
|
|
143
|
-
### hpkeCreation = 1. adımdaki cihazın hpkeCreation'ı (aynı keyId/publicKey; yeniden üretilmez)
|
|
144
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId2}}/functions/data
|
|
145
|
-
Accept-Language: tr-TR
|
|
146
|
-
X-Request-Id: {{$guid}}
|
|
147
|
-
|
|
148
|
-
###############################################################################
|
|
149
|
-
### 2b. Same deviceId + same installationId, DIFFERENT deviceToken / isGoogleServiceAvailable
|
|
150
|
-
### -> update-registered-device -> updated-already-registered (device.update on step 1's instance)
|
|
151
|
-
###############################################################################
|
|
152
|
-
|
|
153
|
-
### Start – same pair as step 1, new deviceToken + isGoogleServiceAvailable=false
|
|
154
|
-
# @name startSameExactChanged
|
|
155
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
156
|
-
Accept-Language: tr-TR
|
|
157
|
-
X-Request-Id: {{$guid}}
|
|
158
|
-
Content-Type: application/json
|
|
159
|
-
|
|
160
|
-
{
|
|
161
|
-
"key": "device-register-{{deviceId}}-token-refresh",
|
|
162
|
-
"tags": ["execute", "device-register"],
|
|
163
|
-
"attributes": {
|
|
164
|
-
"deviceId": "{{deviceId}}",
|
|
165
|
-
"installationId": "{{installationId}}",
|
|
166
|
-
"deviceInfo": {
|
|
167
|
-
"osName": "Android",
|
|
168
|
-
"osVersion": "14",
|
|
169
|
-
"deviceModel": "Galaxy S24",
|
|
170
|
-
"manufacturer": "Samsung",
|
|
171
|
-
"language": "tr-TR",
|
|
172
|
-
"timezone": "Europe/Istanbul"
|
|
173
|
-
},
|
|
174
|
-
"appVersion": "3.0.1",
|
|
175
|
-
"deviceToken": "yeni-fcm-token-{{$timestamp}}",
|
|
176
|
-
"isGoogleServiceAvailable": false
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
### Expect sync body: state = "updated-already-registered", deviceFound = true, deviceKnown = true, installationKnown = true,
|
|
181
|
-
### deviceInstanceId = step 1's device instance id (no new record), hpkeCreation.publicKey = step 1's (pair NOT rotated)
|
|
182
|
-
###
|
|
183
|
-
@instanceId2b = {{startSameExactChanged.response.headers.X-Instance-Id}}
|
|
184
|
-
|
|
185
|
-
### Expect currentState = updated-already-registered
|
|
186
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId2b}}/functions/state
|
|
187
|
-
Accept-Language: tr-TR
|
|
188
|
-
X-Request-Id: {{$guid}}
|
|
189
|
-
|
|
190
|
-
### Expect facts: deviceUpdateNeeded = true, deviceUpdateFields = ["deviceToken", "isGoogleServiceAvailable"]
|
|
191
|
-
### (step 1 never sent either field, so both count as changed), deviceUpdateSuccess = true, deviceUpdateAttempts = 1,
|
|
192
|
-
### deviceUpdatedAt = ISO timestamp, deviceUpdateError = "", deviceData.deviceToken = the OLD value (null here)
|
|
193
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId2b}}/functions/data
|
|
194
|
-
Accept-Language: tr-TR
|
|
195
|
-
X-Request-Id: {{$guid}}
|
|
196
|
-
|
|
197
|
-
### The device fact itself now carries the new values (deviceToken = "yeni-fcm-token-…", isGoogleServiceAvailable = false,
|
|
198
|
-
### appVersion = "3.0.1"); state stays saved (update targets $self), hpkeCreation unchanged
|
|
199
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/device/instances/device-{{deviceId}}/functions/data
|
|
200
|
-
Accept-Language: tr-TR
|
|
201
|
-
X-Request-Id: {{$guid}}
|
|
202
|
-
|
|
203
|
-
### Same pair again WITHOUT deviceToken / isGoogleServiceAvailable -> plain already-registered (absent fields never count
|
|
204
|
-
### as a change; the stored values are kept)
|
|
205
|
-
# @name startSameExactNoPush
|
|
206
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
207
|
-
Accept-Language: tr-TR
|
|
208
|
-
X-Request-Id: {{$guid}}
|
|
209
|
-
Content-Type: application/json
|
|
210
|
-
|
|
211
|
-
{
|
|
212
|
-
"key": "device-register-{{deviceId}}-retry2",
|
|
213
|
-
"tags": ["execute", "device-register"],
|
|
214
|
-
"attributes": {
|
|
215
|
-
"deviceId": "{{deviceId}}",
|
|
216
|
-
"installationId": "{{installationId}}",
|
|
217
|
-
"deviceInfo": {
|
|
218
|
-
"osName": "Android",
|
|
219
|
-
"osVersion": "14",
|
|
220
|
-
"deviceModel": "Galaxy S24",
|
|
221
|
-
"manufacturer": "Samsung"
|
|
222
|
-
},
|
|
223
|
-
"appVersion": "3.0.1"
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
### Expect: state = "already-registered", deviceUpdateNeeded = false, deviceUpdateFields = []
|
|
228
|
-
###
|
|
229
|
-
### Banned match + changed token -> banned-end (update is never attempted on a banned record; see section 4).
|
|
230
|
-
### update-failed is only reachable when device.update is rejected (e.g. the device instance left saved/registered between
|
|
231
|
-
### search and update); then deviceUpdateAttempts = 3, deviceUpdateSuccess = false, deviceUpdateError set.
|
|
232
|
-
|
|
233
|
-
###############################################################################
|
|
234
|
-
### 3. Same deviceId, NEW installationId (reinstall) -> supersedes step 1's
|
|
235
|
-
### device instance, then registers a new one
|
|
236
|
-
###############################################################################
|
|
237
|
-
|
|
238
|
-
### Start – same deviceId, brand-new installationId
|
|
239
|
-
# @name startReinstall
|
|
240
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
241
|
-
Accept-Language: tr-TR
|
|
242
|
-
X-Request-Id: {{$guid}}
|
|
243
|
-
Content-Type: application/json
|
|
244
|
-
|
|
245
|
-
{
|
|
246
|
-
"key": "device-register-{{deviceId}}-reinstall",
|
|
247
|
-
"tags": ["execute", "device-register"],
|
|
248
|
-
"attributes": {
|
|
249
|
-
"deviceId": "{{deviceId}}",
|
|
250
|
-
"installationId": "{{$guid}}",
|
|
251
|
-
"deviceInfo": {
|
|
252
|
-
"osName": "Android",
|
|
253
|
-
"osVersion": "14",
|
|
254
|
-
"deviceModel": "Galaxy S24",
|
|
255
|
-
"manufacturer": "Samsung",
|
|
256
|
-
"language": "tr-TR",
|
|
257
|
-
"timezone": "Europe/Istanbul"
|
|
258
|
-
},
|
|
259
|
-
"deviceCertificatePublicKey": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2X4YZ5JJcds3xfn/ygWy\nR7TZZXe1zE8bF9U3Q2m5yM7qKk0W5X3YZ8vN4V2rK1L8mM3C7H4aP2b6D5F1nE0i\n-----END PUBLIC KEY-----",
|
|
260
|
-
"appVersion": "3.1.0",
|
|
261
|
-
"pushToken": {
|
|
262
|
-
"platform": "fcm",
|
|
263
|
-
"token": "bmV3LWZjbS10b2tlbi1hZnRlci1yZWluc3RhbGw",
|
|
264
|
-
"projectId": "bank-mobile-app",
|
|
265
|
-
"packageName": "com.bank.mobilebanking"
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
### Expect sync body: state = "registered", deviceFound = false, deviceKnown = true, installationKnown = false,
|
|
271
|
-
### installationChanged = true, deviceInstanceId = NEW device instance id,
|
|
272
|
-
### hpkeCreation.publicKey = the new instance's (differs from step 1's)
|
|
273
|
-
###
|
|
274
|
-
@instanceId3 = {{startReinstall.response.headers.X-Instance-Id}}
|
|
275
|
-
|
|
276
|
-
### Expect currentState = registered, and a NEW registeredDeviceInstanceId (different from step 1's device instance)
|
|
277
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId3}}/functions/state
|
|
278
|
-
Accept-Language: tr-TR
|
|
279
|
-
X-Request-Id: {{$guid}}
|
|
280
|
-
|
|
281
|
-
### Expect facts (reinstall):
|
|
282
|
-
### deviceKnown = true, installationKnown = false, installationChanged = true,
|
|
283
|
-
### previousInstallationId == step 1's installationId ("{{installationId}}"),
|
|
284
|
-
### deviceInstanceId == the NEW registeredDeviceInstanceId, registeredAt/lastSeenAt = now,
|
|
285
|
-
### act = "" (step 1's device was never assigned)
|
|
286
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId3}}/functions/data
|
|
287
|
-
Accept-Language: tr-TR
|
|
288
|
-
X-Request-Id: {{$guid}}
|
|
289
|
-
|
|
290
|
-
### Sanity check: step 1's underlying `device` instance should now be `superseded` (state carries the
|
|
291
|
-
### reason: replaced by a new registration with a different installationId; its data also holds
|
|
292
|
-
### supersededByInstallationId + supersededAt). Replace {{deviceInstanceIdFromStep1}} with the
|
|
293
|
-
### registeredDeviceInstanceId read from step 1's data above.
|
|
294
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/device/instances/{{deviceInstanceIdFromStep1}}/functions/state
|
|
295
|
-
Accept-Language: tr-TR
|
|
296
|
-
X-Request-Id: {{$guid}}
|
|
297
|
-
|
|
298
|
-
###############################################################################
|
|
299
|
-
### 4. Banned device -> banned-end (NOT re-registered)
|
|
300
|
-
### Prep: assign a user to step 3's device instance (saved -> registered),
|
|
301
|
-
### then ban it (registered -> banned).
|
|
302
|
-
### Fill these two from step 3's data output (registeredDeviceInstanceId and
|
|
303
|
-
### the installationId that step 3's request generated):
|
|
304
|
-
###############################################################################
|
|
305
|
-
@deviceInstanceIdFromStep3 = REPLACE_WITH_STEP3_registeredDeviceInstanceId
|
|
306
|
-
@installationIdFromStep3 = REPLACE_WITH_STEP3_installationId
|
|
307
|
-
|
|
308
|
-
### Assign a user to step 3's device instance (saved -> registered)
|
|
309
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/device/instances/{{deviceInstanceIdFromStep3}}/transitions/assign-user?sync=true
|
|
310
|
-
Accept-Language: tr-TR
|
|
311
|
-
X-Request-Id: {{$guid}}
|
|
312
|
-
Content-Type: application/json
|
|
313
|
-
|
|
314
|
-
{
|
|
315
|
-
"attributes": {
|
|
316
|
-
"user": {
|
|
317
|
-
"domain": "morph-idm",
|
|
318
|
-
"workflow": "user",
|
|
319
|
-
"key": "41809307440",
|
|
320
|
-
"version": "1.0.0"
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
### Ban the now-registered device instance
|
|
326
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/device/instances/{{deviceInstanceIdFromStep3}}/transitions/ban-device?sync=true
|
|
327
|
-
Accept-Language: tr-TR
|
|
328
|
-
X-Request-Id: {{$guid}}
|
|
329
|
-
Content-Type: application/json
|
|
330
|
-
|
|
331
|
-
{
|
|
332
|
-
"attributes": {
|
|
333
|
-
"banReason": "execute-test-ban",
|
|
334
|
-
"bannedBy": "execute-test"
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
### Start – same deviceId + step 3's installationId (the banned instance)
|
|
339
|
-
### Replace {{installationIdFromStep3}} with the installationId used in step 3.
|
|
340
|
-
# @name startBanned
|
|
341
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
342
|
-
Accept-Language: tr-TR
|
|
343
|
-
X-Request-Id: {{$guid}}
|
|
344
|
-
Content-Type: application/json
|
|
345
|
-
|
|
346
|
-
{
|
|
347
|
-
"key": "device-register-{{deviceId}}-banned",
|
|
348
|
-
"tags": ["execute", "device-register"],
|
|
349
|
-
"attributes": {
|
|
350
|
-
"deviceId": "{{deviceId}}",
|
|
351
|
-
"installationId": "{{installationIdFromStep3}}",
|
|
352
|
-
"deviceInfo": {
|
|
353
|
-
"osName": "Android",
|
|
354
|
-
"osVersion": "14",
|
|
355
|
-
"deviceModel": "Galaxy S24",
|
|
356
|
-
"manufacturer": "Samsung",
|
|
357
|
-
"language": "tr-TR",
|
|
358
|
-
"timezone": "Europe/Istanbul"
|
|
359
|
-
},
|
|
360
|
-
"appVersion": "3.1.0"
|
|
361
|
-
}
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
### Expect sync body: state = "banned-end", deviceFound = true, deviceKnown = true, installationKnown = true,
|
|
365
|
-
### deviceInstanceId = the banned device instance id, hpkeCreation.publicKey = that instance's
|
|
366
|
-
###
|
|
367
|
-
@instanceId4 = {{startBanned.response.headers.X-Instance-Id}}
|
|
368
|
-
|
|
369
|
-
### Expect currentState = banned-end (no new device instance created)
|
|
370
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId4}}/functions/state
|
|
371
|
-
Accept-Language: tr-TR
|
|
372
|
-
X-Request-Id: {{$guid}}
|
|
373
|
-
|
|
374
|
-
### Expect facts (banned device):
|
|
375
|
-
### deviceKnown = true, installationKnown = true, installationChanged = false,
|
|
376
|
-
### act = "41809307440" (the user assigned in the prep step),
|
|
377
|
-
### deviceInstanceId == the banned device instance id, deviceData.currentState = "banned"
|
|
378
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId4}}/functions/data
|
|
379
|
-
Accept-Language: tr-TR
|
|
380
|
-
X-Request-Id: {{$guid}}
|
|
381
|
-
|
|
382
|
-
###############################################################################
|
|
383
|
-
### 5. Assigned + touched device, then reinstall -> facts carry the predecessor's
|
|
384
|
-
### act AND sub (reinstall-verification persona)
|
|
385
|
-
### Prep: unban step 3/4's instance, touch it with a sub (simulates the
|
|
386
|
-
### end-of-login touch), then register with yet another installationId.
|
|
387
|
-
###############################################################################
|
|
388
|
-
|
|
389
|
-
### Unban (banned -> registered) so touch/supersede are available again
|
|
390
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/device/instances/{{deviceInstanceIdFromStep3}}/transitions/unban-device?sync=true
|
|
391
|
-
Accept-Language: tr-TR
|
|
392
|
-
X-Request-Id: {{$guid}}
|
|
393
|
-
Content-Type: application/json
|
|
394
|
-
|
|
395
|
-
{
|
|
396
|
-
"attributes": {
|
|
397
|
-
"unbanReason": "execute-test-unban",
|
|
398
|
-
"unbannedBy": "execute-test"
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
### Touch: what user-login's touch-device state fires at the end of a successful login
|
|
403
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/device/instances/{{deviceInstanceIdFromStep3}}/transitions/touch?sync=true
|
|
404
|
-
Accept-Language: tr-TR
|
|
405
|
-
X-Request-Id: {{$guid}}
|
|
406
|
-
Content-Type: application/json
|
|
407
|
-
|
|
408
|
-
{
|
|
409
|
-
"attributes": {
|
|
410
|
-
"lastSeenAt": "2026-08-19T12:00:00.000Z",
|
|
411
|
-
"sub": "execute-test-scope-ref"
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
### Start – same deviceId, yet another installationId (second reinstall)
|
|
416
|
-
# @name startReinstall2
|
|
417
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
418
|
-
Accept-Language: tr-TR
|
|
419
|
-
X-Request-Id: {{$guid}}
|
|
420
|
-
Content-Type: application/json
|
|
421
|
-
|
|
422
|
-
{
|
|
423
|
-
"key": "device-register-{{deviceId}}-reinstall2",
|
|
424
|
-
"tags": ["execute", "device-register"],
|
|
425
|
-
"attributes": {
|
|
426
|
-
"deviceId": "{{deviceId}}",
|
|
427
|
-
"installationId": "{{$guid}}",
|
|
428
|
-
"deviceInfo": {
|
|
429
|
-
"osName": "Android",
|
|
430
|
-
"osVersion": "14",
|
|
431
|
-
"deviceModel": "Galaxy S24",
|
|
432
|
-
"manufacturer": "Samsung",
|
|
433
|
-
"language": "tr-TR",
|
|
434
|
-
"timezone": "Europe/Istanbul"
|
|
435
|
-
},
|
|
436
|
-
"appVersion": "3.1.0"
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
### Expect sync body: state = "registered", deviceKnown = true, installationKnown = false, installationChanged = true,
|
|
441
|
-
### deviceInstanceId = brand-new device instance id, hpkeCreation.publicKey = its own
|
|
442
|
-
###
|
|
443
|
-
@instanceId5 = {{startReinstall2.response.headers.X-Instance-Id}}
|
|
444
|
-
|
|
445
|
-
### Expect currentState = registered
|
|
446
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId5}}/functions/state
|
|
447
|
-
Accept-Language: tr-TR
|
|
448
|
-
X-Request-Id: {{$guid}}
|
|
449
|
-
|
|
450
|
-
### Expect facts (reinstall of an assigned device):
|
|
451
|
-
### deviceKnown = true, installationKnown = false, installationChanged = true,
|
|
452
|
-
### previousInstallationId == step 3's installationId,
|
|
453
|
-
### act = "41809307440", sub = "execute-test-scope-ref",
|
|
454
|
-
### deviceInstanceId == the brand-new device instance id
|
|
455
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId5}}/functions/data
|
|
456
|
-
Accept-Language: tr-TR
|
|
457
|
-
X-Request-Id: {{$guid}}
|
|
458
|
-
|
|
459
|
-
###############################################################################
|
|
460
|
-
### 6. IbWeb + Client Hints: per-session deviceId/installationId used as sent; the
|
|
461
|
-
### headers only feed deviceInfo. A second boot with fresh ids and the same browser
|
|
462
|
-
### headers is a NEW device (registered) — identity is the exact id pair, nothing else.
|
|
463
|
-
###############################################################################
|
|
464
|
-
|
|
465
|
-
### Start – IbWeb, random per-session ids + browser Client Hints
|
|
466
|
-
# @name startIbWeb
|
|
467
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
468
|
-
Accept-Language: tr-TR
|
|
469
|
-
X-Request-Id: {{$guid}}
|
|
470
|
-
Sec-CH-UA: "Chromium";v="130", "Google Chrome";v="130", "Not?A_Brand";v="99"
|
|
471
|
-
Sec-CH-UA-Platform: "Windows"
|
|
472
|
-
Sec-CH-UA-Platform-Version: "15.0.0"
|
|
473
|
-
Sec-CH-UA-Mobile: ?0
|
|
474
|
-
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
|
|
475
|
-
Content-Type: application/json
|
|
476
|
-
|
|
477
|
-
{
|
|
478
|
-
"key": "device-register-web-{{$guid}}",
|
|
479
|
-
"tags": ["execute", "device-register", "ibweb"],
|
|
480
|
-
"attributes": {
|
|
481
|
-
"clientId": "IbWeb",
|
|
482
|
-
"deviceId": "web-{{$guid}}",
|
|
483
|
-
"installationId": "{{$guid}}",
|
|
484
|
-
"deviceInfo": {
|
|
485
|
-
"osName": "Windows",
|
|
486
|
-
"osVersion": "15.0.0",
|
|
487
|
-
"deviceModel": "Chrome 130",
|
|
488
|
-
"manufacturer": "unknown"
|
|
489
|
-
},
|
|
490
|
-
"appVersion": "2.0.0"
|
|
491
|
-
}
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
### Expect sync body: state = "registered" (fresh ids), deviceId / installationId exactly as sent,
|
|
495
|
-
### deviceInstanceId = device-{deviceId}, hpkeCreation.publicKey dolu
|
|
496
|
-
###
|
|
497
|
-
@instanceId6 = {{startIbWeb.response.headers.X-Instance-Id}}
|
|
498
|
-
|
|
499
|
-
### Expect facts: deviceId/installationId unchanged, deviceInfo from the Client Hints headers
|
|
500
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId6}}/functions/data
|
|
501
|
-
Accept-Language: tr-TR
|
|
502
|
-
X-Request-Id: {{$guid}}
|
|
503
|
-
|
|
504
|
-
### Start – same browser headers, brand-new per-session ids (next browser session)
|
|
505
|
-
# @name startIbWebAgain
|
|
506
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
507
|
-
Accept-Language: tr-TR
|
|
508
|
-
X-Request-Id: {{$guid}}
|
|
509
|
-
Sec-CH-UA: "Chromium";v="130", "Google Chrome";v="130", "Not?A_Brand";v="99"
|
|
510
|
-
Sec-CH-UA-Platform: "Windows"
|
|
511
|
-
Sec-CH-UA-Platform-Version: "15.0.0"
|
|
512
|
-
Sec-CH-UA-Mobile: ?0
|
|
513
|
-
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
|
|
514
|
-
Content-Type: application/json
|
|
515
|
-
|
|
516
|
-
{
|
|
517
|
-
"key": "device-register-web-{{$guid}}",
|
|
518
|
-
"tags": ["execute", "device-register", "ibweb"],
|
|
519
|
-
"attributes": {
|
|
520
|
-
"clientId": "IbWeb",
|
|
521
|
-
"deviceId": "web-{{$guid}}",
|
|
522
|
-
"installationId": "{{$guid}}",
|
|
523
|
-
"deviceInfo": {
|
|
524
|
-
"osName": "Windows",
|
|
525
|
-
"osVersion": "15.0.0",
|
|
526
|
-
"deviceModel": "Chrome 130",
|
|
527
|
-
"manufacturer": "unknown"
|
|
528
|
-
},
|
|
529
|
-
"appVersion": "2.0.0"
|
|
530
|
-
}
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
### Expect sync body: state = "registered" again — fresh ids, so a NEW record (deviceInstanceId differs from the
|
|
534
|
-
### first run's), deviceKnown = false, installationKnown = false; the browser headers do not link the two runs
|
|
535
|
-
###
|
|
536
|
-
@instanceId7 = {{startIbWebAgain.response.headers.X-Instance-Id}}
|
|
537
|
-
|
|
538
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId7}}/functions/data
|
|
539
|
-
Accept-Language: tr-TR
|
|
540
|
-
X-Request-Id: {{$guid}}
|
|
541
|
-
|
|
542
|
-
### IbWeb WITHOUT any browser headers -> deviceInfo falls back to the body values; identity unchanged (id pair)
|
|
543
|
-
# @name startIbWebNoHints
|
|
544
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
545
|
-
Accept-Language: tr-TR
|
|
546
|
-
X-Request-Id: {{$guid}}
|
|
547
|
-
Content-Type: application/json
|
|
548
|
-
|
|
549
|
-
{
|
|
550
|
-
"key": "device-register-web-{{$guid}}",
|
|
551
|
-
"tags": ["execute", "device-register", "ibweb"],
|
|
552
|
-
"attributes": {
|
|
553
|
-
"clientId": "IbWeb",
|
|
554
|
-
"deviceId": "web-no-hints-{{$guid}}",
|
|
555
|
-
"installationId": "{{$guid}}",
|
|
556
|
-
"deviceInfo": {
|
|
557
|
-
"osName": "Windows",
|
|
558
|
-
"osVersion": "11",
|
|
559
|
-
"deviceModel": "Chrome 130",
|
|
560
|
-
"manufacturer": "unknown"
|
|
561
|
-
},
|
|
562
|
-
"appVersion": "2.0.0"
|
|
563
|
-
}
|
|
564
|
-
}
|
|
565
|
-
|
|
566
|
-
### Expect: state = "registered", deviceId = "web-no-hints-…"
|