@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,66 +0,0 @@
|
|
|
1
|
-
###############################################################################
|
|
2
|
-
# STEP 4b: Consent 2 - User 1234 + Client IbWeb + Corporate Scope
|
|
3
|
-
###############################################################################
|
|
4
|
-
|
|
5
|
-
### Create Consent 2 - Corporate
|
|
6
|
-
# @name createConsent2
|
|
7
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/consent/instances/start?sync=true
|
|
8
|
-
Accept-Language: tr-TR
|
|
9
|
-
X-Request-Id: {{$guid}}
|
|
10
|
-
X-Device-Id: admin-portal
|
|
11
|
-
X-Token-Id: {{$guid}}
|
|
12
|
-
X-Device-Info: Test Suite/1.0
|
|
13
|
-
X-Forwarded-For: 192.168.1.100
|
|
14
|
-
user_reference: test-admin
|
|
15
|
-
Content-Type: application/json
|
|
16
|
-
|
|
17
|
-
{
|
|
18
|
-
"key": "{{consentKey2}}",
|
|
19
|
-
"tags": ["test", "consent", "corporate", "multi-consent-test"],
|
|
20
|
-
"attributes": {
|
|
21
|
-
"user": {
|
|
22
|
-
"domain": "morph-idm",
|
|
23
|
-
"workflow": "user",
|
|
24
|
-
"key": "{{userKey}}",
|
|
25
|
-
"version": "1.0.0"
|
|
26
|
-
},
|
|
27
|
-
"client": {
|
|
28
|
-
"domain": "morph-idm",
|
|
29
|
-
"workflow": "client",
|
|
30
|
-
"key": "{{clientKey}}",
|
|
31
|
-
"version": "1.0.0"
|
|
32
|
-
},
|
|
33
|
-
"scope": {
|
|
34
|
-
"domain": "morph-idm",
|
|
35
|
-
"workflow": "scope",
|
|
36
|
-
"key": "{{scopeKey2}}",
|
|
37
|
-
"version": "1.0.0"
|
|
38
|
-
},
|
|
39
|
-
"roles": [
|
|
40
|
-
{
|
|
41
|
-
"role": "idm.corporate-authorized",
|
|
42
|
-
"grant": "allow"
|
|
43
|
-
}
|
|
44
|
-
],
|
|
45
|
-
"grantedAt": "{{$datetime iso8601}}",
|
|
46
|
-
"expiresAt": "2027-01-01T00:00:00Z"
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
### Get Consent 2 Data
|
|
51
|
-
# @name getConsent2Data
|
|
52
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/consent/instances/{{consentKey2}}/functions/data
|
|
53
|
-
Accept-Language: tr-TR
|
|
54
|
-
X-Request-Id: {{$guid}}
|
|
55
|
-
X-Device-Id: admin-portal
|
|
56
|
-
X-Token-Id: {{$guid}}
|
|
57
|
-
user_reference: test-admin
|
|
58
|
-
|
|
59
|
-
### Get Consent 2 State
|
|
60
|
-
# @name getConsent2State
|
|
61
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/consent/instances/{{consentKey2}}/functions/state
|
|
62
|
-
Accept-Language: tr-TR
|
|
63
|
-
X-Request-Id: {{$guid}}
|
|
64
|
-
X-Device-Id: admin-portal
|
|
65
|
-
X-Token-Id: {{$guid}}
|
|
66
|
-
user_reference: test-admin
|
|
@@ -1,261 +0,0 @@
|
|
|
1
|
-
### Variables
|
|
2
|
-
@workflow = device
|
|
3
|
-
@deviceId = sm1
|
|
4
|
-
@installationId = sm1
|
|
5
|
-
@userKey = 1234
|
|
6
|
-
|
|
7
|
-
### ===========================================
|
|
8
|
-
### ANDROID DEVICE REGISTRATION (Samsung Galaxy S23 Ultra)
|
|
9
|
-
### ===========================================
|
|
10
|
-
|
|
11
|
-
### Start Device - Android with FCM
|
|
12
|
-
# @name startDevice
|
|
13
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
14
|
-
Accept-Language: tr-TR
|
|
15
|
-
X-Request-Id: {{$guid}}
|
|
16
|
-
X-Device-Id: {{deviceId}}
|
|
17
|
-
X-Token-Id: {{$guid}}
|
|
18
|
-
X-Device-Info: Mobile Banking Android/3.0
|
|
19
|
-
X-Forwarded-For: 192.168.1.101
|
|
20
|
-
user_reference: anonymous
|
|
21
|
-
Content-Type: application/json
|
|
22
|
-
|
|
23
|
-
{
|
|
24
|
-
"key": "device-{{deviceId}}",
|
|
25
|
-
"tags": ["android", "mobile", "fcm"],
|
|
26
|
-
"attributes": {
|
|
27
|
-
"deviceId": "{{deviceId}}",
|
|
28
|
-
"installationId": "{{installationId}}",
|
|
29
|
-
"user" :"{{userKey}}",
|
|
30
|
-
"deviceInfo": {
|
|
31
|
-
"osName": "Android",
|
|
32
|
-
"osVersion": "14",
|
|
33
|
-
"deviceModel": "Galaxy S23 Ultra",
|
|
34
|
-
"manufacturer": "Samsung",
|
|
35
|
-
"userAgent": "MobileBanking/3.0 (Linux; Android 14; SM-S918B)",
|
|
36
|
-
"screenResolution": "3088x1440",
|
|
37
|
-
"language": "tr-TR",
|
|
38
|
-
"timezone": "Europe/Istanbul"
|
|
39
|
-
},
|
|
40
|
-
"deviceCertificatePublicKey": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2X4YZ5JJcds3xfn/ygWy\nR7TZZXe1zE8bF9U3Q2m5yM7qKk0W5X3YZ8vN4V2rK1L8mM3C7H4aP2b6D5F1nE0i\n-----END PUBLIC KEY-----",
|
|
41
|
-
"appVersion": "3.0.0",
|
|
42
|
-
"pushToken": {
|
|
43
|
-
"platform": "fcm",
|
|
44
|
-
"token": "dGhpc0lzQUZha2VGQ01Ub2tlbkZvclRlc3RpbmdQdXJwb3Nlc09ubHk6QVBBOTFiR3F4",
|
|
45
|
-
"projectId": "bank-mobile-app",
|
|
46
|
-
"packageName": "com.bank.mobilebanking",
|
|
47
|
-
"updatedAt": "{{$datetime iso8601}}"
|
|
48
|
-
},
|
|
49
|
-
"attribution": {
|
|
50
|
-
"source": "google_ads",
|
|
51
|
-
"campaign": "summer_2024",
|
|
52
|
-
"medium": "cpc",
|
|
53
|
-
"utmParameters": {
|
|
54
|
-
"utm_source": "google",
|
|
55
|
-
"utm_medium": "cpc",
|
|
56
|
-
"utm_campaign": "summer_2024"
|
|
57
|
-
},
|
|
58
|
-
"clickId": "gclid_abc123xyz",
|
|
59
|
-
"attributionProvider": "AppsFlyer",
|
|
60
|
-
"capturedAt": "{{$datetime iso8601}}"
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
###
|
|
66
|
-
@instanceId = {{startDevice.response.body.id}}
|
|
67
|
-
@deviceKey = {{startDevice.response.body.key}}
|
|
68
|
-
|
|
69
|
-
### ===========================================
|
|
70
|
-
### TRANSITIONS
|
|
71
|
-
### ===========================================
|
|
72
|
-
|
|
73
|
-
### Assign User (saved -> registered)
|
|
74
|
-
# @name assignUser
|
|
75
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/assign-user?sync=true
|
|
76
|
-
Accept-Language: tr-TR
|
|
77
|
-
X-Request-Id: {{$guid}}
|
|
78
|
-
X-Device-Id: {{deviceId}}
|
|
79
|
-
X-Token-Id: {{$guid}}
|
|
80
|
-
X-Device-Info: Mobile Banking Android/3.0
|
|
81
|
-
X-Forwarded-For: 192.168.1.101
|
|
82
|
-
user_reference: {{userKey}}
|
|
83
|
-
Content-Type: application/json
|
|
84
|
-
|
|
85
|
-
{
|
|
86
|
-
"attributes": {
|
|
87
|
-
"user": {
|
|
88
|
-
"domain": "morph-idm",
|
|
89
|
-
"workflow": "user",
|
|
90
|
-
"key": "{{userKey}}",
|
|
91
|
-
"version": "1.0.0"
|
|
92
|
-
},
|
|
93
|
-
"certificates": [
|
|
94
|
-
{
|
|
95
|
-
"consent": {
|
|
96
|
-
"domain": "morph-idm",
|
|
97
|
-
"workflow": "consent",
|
|
98
|
-
"key": "{{userKey}}-IbWeb-{{userKey}}",
|
|
99
|
-
"version": "1.0.0"
|
|
100
|
-
},
|
|
101
|
-
"mtls": {
|
|
102
|
-
"publicKey": "-----BEGIN CERTIFICATE-----\nMIIC...android-mtls-cert...\n-----END CERTIFICATE-----",
|
|
103
|
-
"fingerprint": "SHA256:android123...",
|
|
104
|
-
"serialNumber": "A1:B2:C3:D4:E5:F6:78:90",
|
|
105
|
-
"issuer": "CN=Bank mTLS CA, O=Bank, C=TR"
|
|
106
|
-
},
|
|
107
|
-
"jws": {
|
|
108
|
-
"publicKey": "-----BEGIN PUBLIC KEY-----\nMIIB...android-hsm-key...\n-----END PUBLIC KEY-----",
|
|
109
|
-
"keyId": "device-{{deviceId}}-consent-{{userKey}}-IbWeb-{{userKey}}",
|
|
110
|
-
"algorithm": "ES256",
|
|
111
|
-
"keyType": "EC",
|
|
112
|
-
"hsmKeyAlias": "jws-consent-{{userKey}}-IbWeb"
|
|
113
|
-
},
|
|
114
|
-
"issuedAt": "{{$datetime iso8601}}",
|
|
115
|
-
"expiresAt": "2025-03-30T00:00:00Z",
|
|
116
|
-
"status": "active",
|
|
117
|
-
"renewalCount": 0
|
|
118
|
-
}
|
|
119
|
-
],
|
|
120
|
-
"lastSeenAt": "{{$datetime iso8601}}"
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
### Unassign User (registered -> saved)
|
|
125
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/unassign-user?sync=true
|
|
126
|
-
Accept-Language: tr-TR
|
|
127
|
-
X-Request-Id: {{$guid}}
|
|
128
|
-
X-Device-Id: {{deviceId}}
|
|
129
|
-
X-Token-Id: {{$guid}}
|
|
130
|
-
user_reference: admin-001
|
|
131
|
-
Content-Type: application/json
|
|
132
|
-
|
|
133
|
-
{
|
|
134
|
-
"attributes": {
|
|
135
|
-
"user": null,
|
|
136
|
-
"certificates": [],
|
|
137
|
-
"lastSeenAt": "{{$datetime iso8601}}"
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
### Ban Device (registered -> banned)
|
|
142
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/ban-device?sync=true
|
|
143
|
-
Accept-Language: tr-TR
|
|
144
|
-
X-Request-Id: {{$guid}}
|
|
145
|
-
X-Device-Id: {{deviceId}}
|
|
146
|
-
X-Token-Id: {{$guid}}
|
|
147
|
-
user_reference: security-admin
|
|
148
|
-
Content-Type: application/json
|
|
149
|
-
|
|
150
|
-
{
|
|
151
|
-
"attributes": {
|
|
152
|
-
"metadata": {
|
|
153
|
-
"bannedAt": "{{$datetime iso8601}}",
|
|
154
|
-
"bannedBy": "security-admin",
|
|
155
|
-
"banReason": "Rooted device detected",
|
|
156
|
-
"banType": "temporary"
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
### Unban Device (banned -> registered)
|
|
162
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/unban-device?sync=true
|
|
163
|
-
Accept-Language: tr-TR
|
|
164
|
-
X-Request-Id: {{$guid}}
|
|
165
|
-
X-Device-Id: {{deviceId}}
|
|
166
|
-
X-Token-Id: {{$guid}}
|
|
167
|
-
user_reference: security-admin
|
|
168
|
-
Content-Type: application/json
|
|
169
|
-
|
|
170
|
-
{
|
|
171
|
-
"attributes": {
|
|
172
|
-
"metadata": {
|
|
173
|
-
"unbannedAt": "{{$datetime iso8601}}",
|
|
174
|
-
"unbannedBy": "security-admin",
|
|
175
|
-
"unbanReason": "Device verified as safe"
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
### ===========================================
|
|
181
|
-
### UPDATE TRANSITIONS
|
|
182
|
-
### ===========================================
|
|
183
|
-
|
|
184
|
-
### Update FCM Token
|
|
185
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/update?sync=true
|
|
186
|
-
Accept-Language: tr-TR
|
|
187
|
-
X-Request-Id: {{$guid}}
|
|
188
|
-
X-Device-Id: {{deviceId}}
|
|
189
|
-
X-Token-Id: {{$guid}}
|
|
190
|
-
user_reference: {{userKey}}
|
|
191
|
-
Content-Type: application/json
|
|
192
|
-
|
|
193
|
-
{
|
|
194
|
-
"attributes": {
|
|
195
|
-
"pushToken": {
|
|
196
|
-
"platform": "fcm",
|
|
197
|
-
"token": "NEW_FCM_TOKEN_AFTER_REFRESH_xyz789abc123",
|
|
198
|
-
"projectId": "bank-mobile-app",
|
|
199
|
-
"packageName": "com.bank.mobilebanking",
|
|
200
|
-
"updatedAt": "{{$datetime iso8601}}"
|
|
201
|
-
},
|
|
202
|
-
"appVersion": "3.1.0",
|
|
203
|
-
"lastSeenAt": "{{$datetime iso8601}}"
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
### Update Device Info
|
|
208
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/update?sync=true
|
|
209
|
-
Accept-Language: tr-TR
|
|
210
|
-
X-Request-Id: {{$guid}}
|
|
211
|
-
X-Device-Id: {{deviceId}}
|
|
212
|
-
X-Token-Id: {{$guid}}
|
|
213
|
-
user_reference: {{userKey}}
|
|
214
|
-
Content-Type: application/json
|
|
215
|
-
|
|
216
|
-
{
|
|
217
|
-
"attributes": {
|
|
218
|
-
"deviceInfo": {
|
|
219
|
-
"osName": "Android",
|
|
220
|
-
"osVersion": "14.1",
|
|
221
|
-
"deviceModel": "Galaxy S23 Ultra",
|
|
222
|
-
"manufacturer": "Samsung",
|
|
223
|
-
"userAgent": "MobileBanking/3.1 (Linux; Android 14.1; SM-S918B)",
|
|
224
|
-
"screenResolution": "3088x1440",
|
|
225
|
-
"language": "tr-TR",
|
|
226
|
-
"timezone": "Europe/Istanbul"
|
|
227
|
-
},
|
|
228
|
-
"appVersion": "3.1.0",
|
|
229
|
-
"lastSeenAt": "{{$datetime iso8601}}"
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
### ===========================================
|
|
234
|
-
### QUERIES
|
|
235
|
-
### ===========================================
|
|
236
|
-
|
|
237
|
-
### Get Device State
|
|
238
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/state
|
|
239
|
-
Accept-Language: tr-TR
|
|
240
|
-
X-Request-Id: {{$guid}}
|
|
241
|
-
X-Device-Id: {{deviceId}}
|
|
242
|
-
X-Token-Id: {{$guid}}
|
|
243
|
-
user_reference: {{userKey}}
|
|
244
|
-
|
|
245
|
-
### Get Device Data
|
|
246
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/data
|
|
247
|
-
Accept-Language: tr-TR
|
|
248
|
-
X-Request-Id: {{$guid}}
|
|
249
|
-
X-Device-Id: {{deviceId}}
|
|
250
|
-
X-Token-Id: {{$guid}}
|
|
251
|
-
user_reference: {{userKey}}
|
|
252
|
-
|
|
253
|
-
### Get All Devices
|
|
254
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances
|
|
255
|
-
Accept-Language: tr-TR
|
|
256
|
-
X-Request-Id: {{$guid}}
|
|
257
|
-
X-Device-Id: admin-portal
|
|
258
|
-
X-Token-Id: {{$guid}}
|
|
259
|
-
user_reference: admin-001
|
|
260
|
-
|
|
261
|
-
|
|
@@ -1,266 +0,0 @@
|
|
|
1
|
-
###############################################################################
|
|
2
|
-
# STEP 6: User Login - Multi Consent Test
|
|
3
|
-
###############################################################################
|
|
4
|
-
# Bu test, user instance'da securityQuestion DOLU olan Person 1234 ile login yapar.
|
|
5
|
-
# 2 consent olduğundan consent-selection state'ine gitmeli
|
|
6
|
-
###############################################################################
|
|
7
|
-
|
|
8
|
-
@loginKey = login-1234-{{$timestamp}}
|
|
9
|
-
@codeVerifier = dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk
|
|
10
|
-
@codeChallenge = E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM
|
|
11
|
-
|
|
12
|
-
### Start User Login - With Validations
|
|
13
|
-
# @name startLogin
|
|
14
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/start?sync=true
|
|
15
|
-
Accept-Language: tr-TR
|
|
16
|
-
X-Request-Id: {{$guid}}
|
|
17
|
-
X-Device-Id: device-iphone-12-john
|
|
18
|
-
X-Token-Id: {{$guid}}
|
|
19
|
-
X-Device-Info: Mobile Banking App iOS/2.0
|
|
20
|
-
X-Forwarded-For: 192.168.1.100
|
|
21
|
-
user_reference: 12345678900
|
|
22
|
-
Content-Type: application/json
|
|
23
|
-
|
|
24
|
-
{
|
|
25
|
-
"key": "login-{{$timestamp}}-{{$randomInt 1000 9999}}",
|
|
26
|
-
"tags": [
|
|
27
|
-
"test",
|
|
28
|
-
"login",
|
|
29
|
-
"2fa"
|
|
30
|
-
],
|
|
31
|
-
"attributes": {
|
|
32
|
-
"clientId": "IbWeb",
|
|
33
|
-
"grantType": "authorization_code",
|
|
34
|
-
"scopes": [
|
|
35
|
-
"IbCustomer"
|
|
36
|
-
],
|
|
37
|
-
"allowConsentSelelction": true,
|
|
38
|
-
"scope-group":"retail-customers"
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
### Get Instance ID
|
|
43
|
-
@instanceId = {{startLogin.response.body.id}}
|
|
44
|
-
|
|
45
|
-
### Start User Login - With Validations
|
|
46
|
-
# @name login
|
|
47
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/transitions/login?sync=true
|
|
48
|
-
Accept-Language: tr-TR
|
|
49
|
-
X-Request-Id: {{$guid}}
|
|
50
|
-
X-Device-Id: device-iphone-12-john
|
|
51
|
-
X-Token-Id: {{$guid}}
|
|
52
|
-
X-Device-Info: Mobile Banking App iOS/2.0
|
|
53
|
-
X-Forwarded-For: 192.168.1.100
|
|
54
|
-
user_reference: 12345678900
|
|
55
|
-
Content-Type: application/json
|
|
56
|
-
|
|
57
|
-
{
|
|
58
|
-
"key": "login-{{$timestamp}}-{{$randomInt 1000 9999}}",
|
|
59
|
-
"tags": [
|
|
60
|
-
"test",
|
|
61
|
-
"login",
|
|
62
|
-
"2fa"
|
|
63
|
-
],
|
|
64
|
-
"attributes": {
|
|
65
|
-
"clientId": "IbWeb",
|
|
66
|
-
"grantType": "authorization_code",
|
|
67
|
-
"scopes": [
|
|
68
|
-
"IbCustomer"
|
|
69
|
-
],
|
|
70
|
-
"codeChallenge": "{{codeChallenge}}",
|
|
71
|
-
"codeChallengeMethod": "S256",
|
|
72
|
-
"userName": "71587037772",
|
|
73
|
-
"password": "112233",
|
|
74
|
-
"deviceId": "sm2",
|
|
75
|
-
"installationId": "sm2",
|
|
76
|
-
"loginMethod": "password",
|
|
77
|
-
"ipAddress": "192.168.1.100",
|
|
78
|
-
"userAgent": "Mobile Banking App iOS/2.0",
|
|
79
|
-
"loginTimestamp": "{{$datetime iso8601}}",
|
|
80
|
-
"challengeToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
|
|
81
|
-
"sessionMetadata": {
|
|
82
|
-
"deviceFingerprint": "abc123xyz789",
|
|
83
|
-
"geolocation": {
|
|
84
|
-
"country": "TR",
|
|
85
|
-
"city": "Istanbul",
|
|
86
|
-
"latitude": 41.0082,
|
|
87
|
-
"longitude": 28.9784
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
### Get Login State
|
|
97
|
-
# @name getLoginState
|
|
98
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/functions/state
|
|
99
|
-
Accept-Language: tr-TR
|
|
100
|
-
X-Request-Id: {{$guid}}
|
|
101
|
-
X-Device-Id: {{deviceId}}
|
|
102
|
-
X-Token-Id: {{$guid}}
|
|
103
|
-
user_reference: {{userKey}}
|
|
104
|
-
|
|
105
|
-
### Get Login Data
|
|
106
|
-
# @name getLoginData
|
|
107
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/functions/data
|
|
108
|
-
Accept-Language: tr-TR
|
|
109
|
-
X-Request-Id: {{$guid}}
|
|
110
|
-
X-Device-Id: {{deviceId}}
|
|
111
|
-
X-Token-Id: {{$guid}}
|
|
112
|
-
user_reference: {{userKey}}
|
|
113
|
-
|
|
114
|
-
###############################################################################
|
|
115
|
-
# OTP Flow (if device not registered)
|
|
116
|
-
###############################################################################
|
|
117
|
-
|
|
118
|
-
### Verify OTP
|
|
119
|
-
# @name verifyOtp
|
|
120
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/transitions/verify-otp?sync=true
|
|
121
|
-
Accept-Language: tr-TR
|
|
122
|
-
X-Request-Id: {{$guid}}
|
|
123
|
-
X-Device-Id: {{deviceId}}
|
|
124
|
-
X-Token-Id: {{$guid}}
|
|
125
|
-
X-Device-Info: Test Browser/1.0
|
|
126
|
-
X-Forwarded-For: 192.168.1.100
|
|
127
|
-
user_reference: {{userKey}}
|
|
128
|
-
Content-Type: application/json
|
|
129
|
-
|
|
130
|
-
{
|
|
131
|
-
"attributes": {
|
|
132
|
-
"otpReference": 745952
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
### Approve Push
|
|
137
|
-
# @name approvePush
|
|
138
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/transitions/approve-push?sync=true
|
|
139
|
-
Accept-Language: tr-TR
|
|
140
|
-
X-Request-Id: {{$guid}}
|
|
141
|
-
X-Device-Id: {{deviceId}}
|
|
142
|
-
X-Token-Id: {{$guid}}
|
|
143
|
-
user_reference: {{userKey}}
|
|
144
|
-
Content-Type: application/json
|
|
145
|
-
|
|
146
|
-
{
|
|
147
|
-
"attributes": {
|
|
148
|
-
"pushReference": "test-reference"
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
###############################################################################
|
|
153
|
-
# token Redeem - subFlowInstanceId ile token flow'una redeem istegi
|
|
154
|
-
###############################################################################
|
|
155
|
-
|
|
156
|
-
###
|
|
157
|
-
# Başarılı login sonrası:
|
|
158
|
-
# @name getStateAfterLogin
|
|
159
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/functions/state
|
|
160
|
-
|
|
161
|
-
### Step 6: Get Instance Data
|
|
162
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/functions/data
|
|
163
|
-
|
|
164
|
-
###############################################################################
|
|
165
|
-
# PHASE 3: Token Redeem (POST /oauth/token eşleniği)
|
|
166
|
-
# SSO Client (back-channel) token subflow'una codeVerifier göndererek
|
|
167
|
-
# token alır. PKCE doğrulaması token flow'unda yapılır.
|
|
168
|
-
#
|
|
169
|
-
# NOT: tokenInstanceId değerini Step 5'teki state response'undaki
|
|
170
|
-
# activeCorrelations[0].subFlowInstanceId'den alın
|
|
171
|
-
###############################################################################
|
|
172
|
-
|
|
173
|
-
### token subflow instance ID (state response'undan alınacak)
|
|
174
|
-
@tokenInstanceId = {{getStateAfterLogin.response.body.activeCorrelations[0].subFlowInstanceId}}
|
|
175
|
-
|
|
176
|
-
### Redeem token - code_verifier ile token al
|
|
177
|
-
# @name redeemToken
|
|
178
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/token/instances/{{tokenInstanceId}}/transitions/redeem?sync=true
|
|
179
|
-
Accept-Language: tr-TR
|
|
180
|
-
X-Request-Id: {{$guid}}
|
|
181
|
-
X-Device-Id: {{deviceId}}
|
|
182
|
-
X-Token-Id: {{$guid}}
|
|
183
|
-
X-Device-Info: Admin Portal/1.0
|
|
184
|
-
X-Forwarded-For: 192.168.1.100
|
|
185
|
-
user_reference: {{userKey}}
|
|
186
|
-
Content-Type: application/json
|
|
187
|
-
|
|
188
|
-
{
|
|
189
|
-
"attributes": {
|
|
190
|
-
"codeVerifier": "{{codeVerifier}}"
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
### Step 8: Check token State - Beklenen: "issued" (tokenlar üretildi)
|
|
195
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/token/instances/{{tokenInstanceId}}/functions/state
|
|
196
|
-
|
|
197
|
-
### Step 9: Get token Data - Token bilgileri
|
|
198
|
-
# tokenResponse: accessToken, idToken, refreshToken, tokenType, expiresIn
|
|
199
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/token/instances/{{tokenInstanceId}}/functions/data
|
|
200
|
-
|
|
201
|
-
###############################################################################
|
|
202
|
-
# Consent Selection Flow - 2 consent olduğundan bu state'e gelmeli
|
|
203
|
-
###############################################################################
|
|
204
|
-
|
|
205
|
-
### Get State Before Consent Selection - Beklenen: consent-selection
|
|
206
|
-
# @name getStateBeforeConsent
|
|
207
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/functions/state
|
|
208
|
-
Accept-Language: tr-TR
|
|
209
|
-
X-Request-Id: {{$guid}}
|
|
210
|
-
X-Device-Id: {{deviceId}}
|
|
211
|
-
X-Token-Id: {{$guid}}
|
|
212
|
-
user_reference: {{userKey}}
|
|
213
|
-
|
|
214
|
-
### Select Consent 1 (IbWeb)
|
|
215
|
-
# @name selectConsent1
|
|
216
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/transitions/select-consent?sync=true
|
|
217
|
-
Accept-Language: tr-TR
|
|
218
|
-
X-Request-Id: {{$guid}}
|
|
219
|
-
X-Device-Id: {{deviceId}}
|
|
220
|
-
X-Token-Id: {{$guid}}
|
|
221
|
-
X-Device-Info: Test Browser/1.0
|
|
222
|
-
X-Forwarded-For: 192.168.1.100
|
|
223
|
-
user_reference: {{userKey}}
|
|
224
|
-
Content-Type: application/json
|
|
225
|
-
|
|
226
|
-
{
|
|
227
|
-
"attributes": {
|
|
228
|
-
"selectedConsentKey": "{{consentKey1}}"
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
### Select Consent 2 (MbApp) - Alternatif olarak
|
|
233
|
-
# @name selectConsent2
|
|
234
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/transitions/select-consent?sync=true
|
|
235
|
-
Accept-Language: tr-TR
|
|
236
|
-
X-Request-Id: {{$guid}}
|
|
237
|
-
X-Device-Id: {{deviceId}}
|
|
238
|
-
X-Token-Id: {{$guid}}
|
|
239
|
-
X-Device-Info: Test Browser/1.0
|
|
240
|
-
X-Forwarded-For: 192.168.1.100
|
|
241
|
-
user_reference: {{userKey}}
|
|
242
|
-
Content-Type: application/json
|
|
243
|
-
|
|
244
|
-
{
|
|
245
|
-
"attributes": {
|
|
246
|
-
"selectedConsentKey": "{{consentKey2}}"
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
### Get Final State
|
|
251
|
-
# @name getFinalState
|
|
252
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/functions/state
|
|
253
|
-
Accept-Language: tr-TR
|
|
254
|
-
X-Request-Id: {{$guid}}
|
|
255
|
-
X-Device-Id: {{deviceId}}
|
|
256
|
-
X-Token-Id: {{$guid}}
|
|
257
|
-
user_reference: {{userKey}}
|
|
258
|
-
|
|
259
|
-
### Get Final Data
|
|
260
|
-
# @name getFinalData
|
|
261
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/functions/data
|
|
262
|
-
Accept-Language: tr-TR
|
|
263
|
-
X-Request-Id: {{$guid}}
|
|
264
|
-
X-Device-Id: {{deviceId}}
|
|
265
|
-
X-Token-Id: {{$guid}}
|
|
266
|
-
user_reference: {{userKey}}
|