@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,730 +0,0 @@
|
|
|
1
|
-
###############################################################################
|
|
2
|
-
# USER-LOGIN — UÇTAN UCA (E2E) SENARYO
|
|
3
|
-
#
|
|
4
|
-
# Tek, kendi kendine yeten dosya: önce login için gereken TÜM instance'ları
|
|
5
|
-
# oluşturur, en sonda da login senaryosunu (user-validation → login-approvement
|
|
6
|
-
# → security-check → login-success) sürer.
|
|
7
|
-
#
|
|
8
|
-
# Çalıştırma: VS Code REST Client (veya httpyac) ile YUKARIDAN AŞAĞIYA sırayla.
|
|
9
|
-
# Runtime: http://localhost:4251 (şifre doğrulaması için morph-idm-api da ayakta olmalı)
|
|
10
|
-
#
|
|
11
|
-
# ÖN KOŞUL (login-approvement): push/OTP gönderimi messaging-service MOCK'una gider
|
|
12
|
-
# (MorphIdm:MessagingServiceMock:BaseUrl, ~port 3030). Bu mock ayakta DEĞİLSE push-send
|
|
13
|
-
# başarısız olur → otp-send → notification-failed-end ve login-success'e ULAŞILMAZ.
|
|
14
|
-
# Akış: check-device → push-send → push-waiting → (approve-push) → push-verification
|
|
15
|
-
# → push-complete → ... → login-success. approve-push YALNIZCA 'push-waiting'te geçerli.
|
|
16
|
-
# Cihaz bulunmazsa OTP yoluna düşer: otp-send → otp-waiting → (verify-otp).
|
|
17
|
-
#
|
|
18
|
-
# Yeni model notları:
|
|
19
|
-
# • Şifre user instance'ında DEĞİL, user-password flow'unda (user-password-set ile kurulur).
|
|
20
|
-
# • Güvenlik sorusu/resmi user'da DEĞİL; security-question-user / anti-phishing-image-user
|
|
21
|
-
# flow'larında. Bu dosya bunları ÖNCEDEN kurmaz — login içindeki security-check subflow'u
|
|
22
|
-
# durur ve set-security-question + set-security-image transition'larıyla INLINE kurulur
|
|
23
|
-
# (sadece DEFINITION'lar önceden seed edilir).
|
|
24
|
-
#
|
|
25
|
-
# Anahtar çözümleme: userKey = {scope}-{userKey} = 1234-1234,
|
|
26
|
-
# consentKey = {userKey}-{client}-{userKey} = 1234-IbWeb-1234-1234
|
|
27
|
-
###############################################################################
|
|
28
|
-
|
|
29
|
-
@apiVersion = v1
|
|
30
|
-
@domain = morph-idm
|
|
31
|
-
|
|
32
|
-
@userKey = 16160400222
|
|
33
|
-
@clientKey = IbWeb
|
|
34
|
-
@scopeGroup = retail-customers
|
|
35
|
-
@organizationKey = retail-banking-org
|
|
36
|
-
@consentKey = 16160400222
|
|
37
|
-
@deviceId = sm12
|
|
38
|
-
@installationId = sm12
|
|
39
|
-
|
|
40
|
-
# security-check DEFINITION anahtarları (SecurityCheckSeeder ile aynı)
|
|
41
|
-
@questionDefId = 11111111-2222-3333-4444-555555555554
|
|
42
|
-
@imageDefId = 11111111-2222-3333-4444-555555555556
|
|
43
|
-
|
|
44
|
-
# Şifre: düz "123456" + eşleşen hash (PasswordSeeder.PasswordHash). Login düz şifre gönderir.
|
|
45
|
-
@plainPassword = 123456
|
|
46
|
-
@passwordHash = AQAAAAEAACcQAAAAEOBwk1rYGrRTchrgqNcty8pn5z97kz3uXdYtghWY/uBSMtBWP6ZbsOT/6knH3UP+Hw==
|
|
47
|
-
@passwordSalt = 79e756ec-cdb1-4ad4-8e40-5c0260ab16b7
|
|
48
|
-
|
|
49
|
-
# PKCE (token redeem için gerekirse)
|
|
50
|
-
@codeVerifier = dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk
|
|
51
|
-
@codeChallenge = E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
###############################################################################
|
|
55
|
-
# ░░ SETUP ░░ Login için gereken instance'lar (sırayla)
|
|
56
|
-
###############################################################################
|
|
57
|
-
|
|
58
|
-
### S1. Person oluştur (draft)
|
|
59
|
-
# @name startPerson
|
|
60
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/person/instances/start?sync=true
|
|
61
|
-
Accept-Language: tr-TR
|
|
62
|
-
X-Request-Id: {{$guid}}
|
|
63
|
-
X-Device-Id: admin-portal
|
|
64
|
-
X-Token-Id: {{$guid}}
|
|
65
|
-
X-Device-Info: Test Suite/1.0
|
|
66
|
-
X-Forwarded-For: 192.168.1.100
|
|
67
|
-
user_reference: test-admin
|
|
68
|
-
Content-Type: application/json
|
|
69
|
-
|
|
70
|
-
{
|
|
71
|
-
"key": "{{userKey}}",
|
|
72
|
-
"tags": ["test", "e2e", "person"],
|
|
73
|
-
"attributes": {
|
|
74
|
-
"personType": "retail-customers",
|
|
75
|
-
"name": { "first": "Test", "last": "User" }
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
### S1b. Person publish (draft -> active) [person için ZORUNLU]
|
|
80
|
-
# @name publishPerson
|
|
81
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/person/instances/{{userKey}}/transitions/publish?sync=true
|
|
82
|
-
Accept-Language: tr-TR
|
|
83
|
-
X-Request-Id: {{$guid}}
|
|
84
|
-
X-Device-Id: admin-portal
|
|
85
|
-
X-Token-Id: {{$guid}}
|
|
86
|
-
user_reference: test-admin
|
|
87
|
-
Content-Type: application/json
|
|
88
|
-
|
|
89
|
-
{
|
|
90
|
-
"attributes": {
|
|
91
|
-
"publishedBy": "test-admin",
|
|
92
|
-
"publishedAt": "{{$datetime iso8601}}"
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
### S2. User oluştur (type=person, status=active, OTP telefonu) [start -> active]
|
|
97
|
-
# @name createUser
|
|
98
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user/instances/start?sync=true
|
|
99
|
-
Accept-Language: tr-TR
|
|
100
|
-
X-Request-Id: {{$guid}}
|
|
101
|
-
X-Device-Id: admin-portal
|
|
102
|
-
X-Token-Id: {{$guid}}
|
|
103
|
-
X-Device-Info: Test Suite/1.0
|
|
104
|
-
X-Forwarded-For: 192.168.1.100
|
|
105
|
-
user_reference: test-admin
|
|
106
|
-
Content-Type: application/json
|
|
107
|
-
|
|
108
|
-
{
|
|
109
|
-
"key": "{{userKey}}",
|
|
110
|
-
"tags": ["test", "e2e", "user"],
|
|
111
|
-
"attributes": {
|
|
112
|
-
"type": "person",
|
|
113
|
-
"status": {
|
|
114
|
-
"type": 20,
|
|
115
|
-
"state": 10,
|
|
116
|
-
"reason": 10,
|
|
117
|
-
"reasonDescription": "E2E test seed",
|
|
118
|
-
"createdByUserName": "test-seeder",
|
|
119
|
-
"createdAt": "{{$datetime iso8601}}"
|
|
120
|
-
},
|
|
121
|
-
"person": {
|
|
122
|
-
"domain": "morph-idm",
|
|
123
|
-
"workflow": "person",
|
|
124
|
-
"key": "{{userKey}}",
|
|
125
|
-
"version": "1.0.0"
|
|
126
|
-
},
|
|
127
|
-
"mobilePhonesNumbers": [
|
|
128
|
-
{ "countryCode": "90", "areaCode": "539", "number": "1111111", "useForOTP": true }
|
|
129
|
-
]
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
### S2b. User state (active beklenir). 'draft' görünürse aşağıdaki publish'i çalıştır.
|
|
134
|
-
# @name getUserState
|
|
135
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user/instances/{{userKey}}/functions/state
|
|
136
|
-
Accept-Language: tr-TR
|
|
137
|
-
X-Request-Id: {{$guid}}
|
|
138
|
-
user_reference: test-admin
|
|
139
|
-
|
|
140
|
-
### S2c. (FALLBACK) User publish — yalnızca S2b 'draft' dönerse gerekir
|
|
141
|
-
# @name publishUser
|
|
142
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user/instances/{{userKey}}/transitions/publish?sync=true
|
|
143
|
-
Accept-Language: tr-TR
|
|
144
|
-
X-Request-Id: {{$guid}}
|
|
145
|
-
user_reference: test-admin
|
|
146
|
-
Content-Type: application/json
|
|
147
|
-
|
|
148
|
-
{
|
|
149
|
-
"attributes": { "publishedBy": "test-admin", "publishedAt": "{{$datetime iso8601}}" }
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
### S3. Şifre kur — user-password-set orkestratörü (düz "123456" hash'i, taze tarih)
|
|
153
|
-
# mustResetPassword=false + güncel lastUpdatedDate → login force-change'e DÜŞMEZ.
|
|
154
|
-
# @name setPassword
|
|
155
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-password-set/instances/start?sync=false
|
|
156
|
-
Accept-Language: tr-TR
|
|
157
|
-
X-Request-Id: {{$guid}}
|
|
158
|
-
X-Device-Id: admin-portal
|
|
159
|
-
X-Token-Id: {{$guid}}
|
|
160
|
-
user_reference: test-admin
|
|
161
|
-
Content-Type: application/json
|
|
162
|
-
|
|
163
|
-
{
|
|
164
|
-
"key": "{{userKey}}",
|
|
165
|
-
"tags": ["test", "e2e", "password"],
|
|
166
|
-
"attributes": {
|
|
167
|
-
"source": "initial",
|
|
168
|
-
"passwordEntry": {
|
|
169
|
-
"type": "Password",
|
|
170
|
-
"salt": "{{passwordSalt}}",
|
|
171
|
-
"mustResetPassword": true,
|
|
172
|
-
"failCount": 0,
|
|
173
|
-
"source": {
|
|
174
|
-
"password": "{{passwordHash}}",
|
|
175
|
-
"algorithm": "pbkdf2-hmacsha256",
|
|
176
|
-
"lastUpdatedDate": "{{$datetime iso8601}}"
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
### S3b. user-password-set state (completed beklenir)
|
|
183
|
-
# @name getPasswordSetState
|
|
184
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-password-set/instances/{{userKey}}/functions/state
|
|
185
|
-
Accept-Language: tr-TR
|
|
186
|
-
X-Request-Id: {{$guid}}
|
|
187
|
-
user_reference: test-admin
|
|
188
|
-
|
|
189
|
-
### S3c. user-password (aktif kayıt) — passwordEntry, mustResetPassword=false beklenir
|
|
190
|
-
# @name getUserPasswordData
|
|
191
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-password/instances/{{userKey}}/functions/data
|
|
192
|
-
Accept-Language: tr-TR
|
|
193
|
-
X-Request-Id: {{$guid}}
|
|
194
|
-
user_reference: test-admin
|
|
195
|
-
|
|
196
|
-
### S3d. Organization oluştur (retail-banking-org) — login organization-fetch'in bulacağı instance
|
|
197
|
-
# organization-fetch state'i organizasyonu scopeGroupSnapshot.organization.key (= retail-customers grubunun
|
|
198
|
-
# organization.key'i) ile arar. Bu instance'ın key'i o değerle eşleşmeli (retail-banking-org).
|
|
199
|
-
# FullAuthorized pozisyonu idm.full-authorized verir → S5'teki consent rolü ile uyumlu.
|
|
200
|
-
# @name createOrganization
|
|
201
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/organization/instances/start?sync=true
|
|
202
|
-
Accept-Language: tr-TR
|
|
203
|
-
X-Request-Id: {{$guid}}
|
|
204
|
-
X-Device-Id: admin-portal
|
|
205
|
-
X-Token-Id: {{$guid}}
|
|
206
|
-
user_reference: test-admin
|
|
207
|
-
Content-Type: application/json
|
|
208
|
-
|
|
209
|
-
{
|
|
210
|
-
"key": "{{organizationKey}}",
|
|
211
|
-
"tags": ["test", "e2e", "organization"],
|
|
212
|
-
"attributes": {
|
|
213
|
-
"reference": { "domain": "morph-idm", "workflow": "scope-group", "key": "{{scopeGroup}}", "version": "1.0.0" },
|
|
214
|
-
"positionLevels": ["clerk", "officer", "manager", "director", "executive"],
|
|
215
|
-
"children": [
|
|
216
|
-
{
|
|
217
|
-
"nodeType": "location",
|
|
218
|
-
"key": "retail-head-office",
|
|
219
|
-
"name": "Retail Head Office",
|
|
220
|
-
"locationType": "headquarters",
|
|
221
|
-
"roles": [],
|
|
222
|
-
"children": [
|
|
223
|
-
{
|
|
224
|
-
"nodeType": "division",
|
|
225
|
-
"key": "retail-operations-dept",
|
|
226
|
-
"name": "Retail Operations",
|
|
227
|
-
"divisionType": "operational",
|
|
228
|
-
"roles": [],
|
|
229
|
-
"children": [
|
|
230
|
-
{
|
|
231
|
-
"nodeType": "position",
|
|
232
|
-
"key": "FullAuthorized",
|
|
233
|
-
"title": "Retail Operations FullAuthorized",
|
|
234
|
-
"positionLevel": "fullAuthorized",
|
|
235
|
-
"maxAssignments": 1,
|
|
236
|
-
"roles": [ { "role": "idm.full-authorized", "grant": "allow" } ]
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
"nodeType": "position",
|
|
240
|
-
"key": "Viewer",
|
|
241
|
-
"title": "Retail Operations FullAuthorized",
|
|
242
|
-
"positionLevel": "fullAuthorized",
|
|
243
|
-
"maxAssignments": 1,
|
|
244
|
-
"roles": [ { "role": "idm.full-authorized", "grant": "allow" } ]
|
|
245
|
-
}
|
|
246
|
-
]
|
|
247
|
-
}
|
|
248
|
-
]
|
|
249
|
-
}
|
|
250
|
-
],
|
|
251
|
-
"metadata": { "createdAt": "{{$datetime iso8601}}", "version": "1.0" }
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
### S3d-b. Organization publish (active) — diğer setup entity'leriyle tutarlı (fetch draft'ı da bulur ama parity için)
|
|
256
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/organization/instances/{{organizationKey}}/transitions/publish?sync=true
|
|
257
|
-
Accept-Language: tr-TR
|
|
258
|
-
X-Request-Id: {{$guid}}
|
|
259
|
-
X-Device-Id: admin-portal
|
|
260
|
-
X-Token-Id: {{$guid}}
|
|
261
|
-
user_reference: test-admin
|
|
262
|
-
Content-Type: application/json
|
|
263
|
-
|
|
264
|
-
### S3d-c. Organization state (active beklenir)
|
|
265
|
-
# @name getOrganizationState
|
|
266
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/organization/instances/{{organizationKey}}/functions/state
|
|
267
|
-
Accept-Language: tr-TR
|
|
268
|
-
X-Request-Id: {{$guid}}
|
|
269
|
-
user_reference: test-admin
|
|
270
|
-
|
|
271
|
-
### S4. Scope oluştur (retail-customers grubuna bağlı)
|
|
272
|
-
# @name createScope
|
|
273
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/scope/instances/start?sync=true
|
|
274
|
-
Accept-Language: tr-TR
|
|
275
|
-
X-Request-Id: {{$guid}}
|
|
276
|
-
X-Device-Id: admin-portal
|
|
277
|
-
X-Token-Id: {{$guid}}
|
|
278
|
-
user_reference: test-admin
|
|
279
|
-
Content-Type: application/json
|
|
280
|
-
|
|
281
|
-
{
|
|
282
|
-
"key": "{{userKey}}",
|
|
283
|
-
"tags": ["test", "e2e", "scope"],
|
|
284
|
-
"attributes": {
|
|
285
|
-
"group": { "domain": "morph-idm", "workflow": "scope-group", "key": "{{scopeGroup}}" },
|
|
286
|
-
"organization" : { "domain": "morph-idm", "workflow": "organization", "key": "{{organizationKey}}" }
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
### S4b. Scope publish (draft -> active)
|
|
291
|
-
# @name publishScope
|
|
292
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/scope/instances/{{userKey}}/transitions/publish?sync=true
|
|
293
|
-
Accept-Language: tr-TR
|
|
294
|
-
X-Request-Id: {{$guid}}
|
|
295
|
-
user_reference: test-admin
|
|
296
|
-
Content-Type: application/json
|
|
297
|
-
|
|
298
|
-
{
|
|
299
|
-
"attributes": { }
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
### S5. Consent oluştur (tek consent → consent-selection otomatik seçer)
|
|
303
|
-
# @name createConsent
|
|
304
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/consent/instances/start?sync=true
|
|
305
|
-
Accept-Language: tr-TR
|
|
306
|
-
X-Request-Id: {{$guid}}
|
|
307
|
-
X-Device-Id: admin-portal
|
|
308
|
-
X-Token-Id: {{$guid}}
|
|
309
|
-
user_reference: test-admin
|
|
310
|
-
Content-Type: application/json
|
|
311
|
-
|
|
312
|
-
{
|
|
313
|
-
"key": "{{consentKey}}",
|
|
314
|
-
"tags": ["test", "e2e", "consent"],
|
|
315
|
-
"attributes": {
|
|
316
|
-
"user": { "domain": "morph-idm", "workflow": "user", "key": "{{userKey}}", "version": "1.0.0" },
|
|
317
|
-
"client": { "domain": "morph-idm", "workflow": "client", "key": "{{clientKey}}", "version": "1.0.0" },
|
|
318
|
-
"scope": { "domain": "morph-idm", "workflow": "scope", "key": "{{userKey}}", "version": "1.0.0" },
|
|
319
|
-
"roles": [ { "role": "idm.full-authorized", "grant": "allow" } ],
|
|
320
|
-
"grantedAt": "{{$datetime iso8601}}",
|
|
321
|
-
"expiresAt": "2027-01-01T00:00:00Z",
|
|
322
|
-
"isAutoConsent": true
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
### S5b. Consent configure (draft -> active)
|
|
327
|
-
# @name configureConsent
|
|
328
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/consent/instances/{{consentKey}}/transitions/configure?sync=true
|
|
329
|
-
Accept-Language: tr-TR
|
|
330
|
-
X-Request-Id: {{$guid}}
|
|
331
|
-
user_reference: test-admin
|
|
332
|
-
Content-Type: application/json
|
|
333
|
-
|
|
334
|
-
{
|
|
335
|
-
"attributes": { "publishedBy": "test-admin", "publishedAt": "{{$datetime iso8601}}" }
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
### S6. Device oluştur (push'a hazır — login-approvement push onayı için)
|
|
339
|
-
# @name startDevice
|
|
340
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/device/instances/start?sync=true
|
|
341
|
-
Accept-Language: tr-TR
|
|
342
|
-
X-Request-Id: {{$guid}}
|
|
343
|
-
X-Device-Id: {{deviceId}}
|
|
344
|
-
X-Token-Id: {{$guid}}
|
|
345
|
-
X-Device-Info: Mobile Banking Android/3.0
|
|
346
|
-
X-Forwarded-For: 192.168.1.101
|
|
347
|
-
user_reference: anonymous
|
|
348
|
-
Content-Type: application/json
|
|
349
|
-
|
|
350
|
-
{
|
|
351
|
-
"key": "device-{{deviceId}}",
|
|
352
|
-
"tags": ["test", "e2e", "device", "fcm"],
|
|
353
|
-
"attributes": {
|
|
354
|
-
"deviceId": "{{deviceId}}",
|
|
355
|
-
"installationId": "{{installationId}}",
|
|
356
|
-
"user": "{{userKey}}",
|
|
357
|
-
"deviceInfo": {
|
|
358
|
-
"osName": "Android",
|
|
359
|
-
"osVersion": "14",
|
|
360
|
-
"deviceModel": "Galaxy S23 Ultra",
|
|
361
|
-
"manufacturer": "Samsung",
|
|
362
|
-
"userAgent": "MobileBanking/3.0 (Linux; Android 14; SM-S918B)",
|
|
363
|
-
"screenResolution": "3088x1440",
|
|
364
|
-
"language": "tr-TR",
|
|
365
|
-
"timezone": "Europe/Istanbul"
|
|
366
|
-
},
|
|
367
|
-
"deviceCertificatePublicKey": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2X4YZ5JJcds3xfn/ygWy\n-----END PUBLIC KEY-----",
|
|
368
|
-
"appVersion": "3.0.0",
|
|
369
|
-
"pushToken": {
|
|
370
|
-
"platform": "fcm",
|
|
371
|
-
"token": "dGhpc0lzQUZha2VGQ01Ub2tlbkZvclRlc3RpbmdQdXJwb3Nlc09ubHk6QVBBOTFiR3F4",
|
|
372
|
-
"projectId": "bank-mobile-app",
|
|
373
|
-
"packageName": "com.bank.mobilebanking",
|
|
374
|
-
"updatedAt": "{{$datetime iso8601}}"
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
### S6b. Device assign-user (saved -> registered)
|
|
380
|
-
# @name assignDevice
|
|
381
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/device/instances/device-{{deviceId}}/transitions/assign-user?sync=true
|
|
382
|
-
Accept-Language: tr-TR
|
|
383
|
-
X-Request-Id: {{$guid}}
|
|
384
|
-
X-Device-Id: {{deviceId}}
|
|
385
|
-
X-Token-Id: {{$guid}}
|
|
386
|
-
user_reference: {{userKey}}
|
|
387
|
-
Content-Type: application/json
|
|
388
|
-
|
|
389
|
-
{
|
|
390
|
-
"attributes": {
|
|
391
|
-
"user": { "domain": "morph-idm", "workflow": "user", "key": "{{userKey}}", "version": "1.0.0" },
|
|
392
|
-
"certificates": [],
|
|
393
|
-
"lastSeenAt": "{{$datetime iso8601}}"
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
### S7. security-question-definition oluştur (start -> define -> publish)
|
|
398
|
-
# @name startQuestionDef
|
|
399
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/security-question-definition/instances/start?sync=true
|
|
400
|
-
Accept-Language: tr-TR
|
|
401
|
-
X-Request-Id: {{$guid}}
|
|
402
|
-
X-Device-Id: admin-portal
|
|
403
|
-
X-Token-Id: {{$guid}}
|
|
404
|
-
user_reference: test-admin
|
|
405
|
-
Content-Type: application/json
|
|
406
|
-
|
|
407
|
-
{
|
|
408
|
-
"key": "{{questionDefId}}",
|
|
409
|
-
"tags": ["test", "e2e", "sc-seed"],
|
|
410
|
-
"attributes": {}
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
### S7b. security-question-definition define
|
|
414
|
-
# @name defineQuestionDef
|
|
415
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/security-question-definition/instances/{{questionDefId}}/transitions/define?sync=true
|
|
416
|
-
Accept-Language: tr-TR
|
|
417
|
-
X-Request-Id: {{$guid}}
|
|
418
|
-
user_reference: test-admin
|
|
419
|
-
Content-Type: application/json
|
|
420
|
-
|
|
421
|
-
{
|
|
422
|
-
"attributes": {
|
|
423
|
-
"key": "mother-maiden-name",
|
|
424
|
-
"groupKey": "family",
|
|
425
|
-
"descriptionTr": "Annenizin kızlık soyadı nedir?",
|
|
426
|
-
"descriptionEn": "What is your mother's maiden name?",
|
|
427
|
-
"priority": 1,
|
|
428
|
-
"valueTypeClr": "String"
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
### S7c. security-question-definition publish (-> active)
|
|
433
|
-
# @name publishQuestionDef
|
|
434
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/security-question-definition/instances/{{questionDefId}}/transitions/publish?sync=true
|
|
435
|
-
Accept-Language: tr-TR
|
|
436
|
-
X-Request-Id: {{$guid}}
|
|
437
|
-
user_reference: test-admin
|
|
438
|
-
Content-Type: application/json
|
|
439
|
-
|
|
440
|
-
{
|
|
441
|
-
"attributes": { "publishedBy": "test-admin", "publishedAt": "{{$datetime iso8601}}" }
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
### S8. anti-phishing-image-definition oluştur (start -> define -> publish)
|
|
445
|
-
# @name startImageDef
|
|
446
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/anti-phishing-image-definition/instances/start?sync=true
|
|
447
|
-
Accept-Language: tr-TR
|
|
448
|
-
X-Request-Id: {{$guid}}
|
|
449
|
-
X-Device-Id: admin-portal
|
|
450
|
-
X-Token-Id: {{$guid}}
|
|
451
|
-
user_reference: test-admin
|
|
452
|
-
Content-Type: application/json
|
|
453
|
-
|
|
454
|
-
{
|
|
455
|
-
"key": "{{imageDefId}}",
|
|
456
|
-
"tags": ["test", "e2e", "sc-seed"],
|
|
457
|
-
"attributes": {}
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
### S8b. anti-phishing-image-definition define
|
|
461
|
-
# @name defineImageDef
|
|
462
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/anti-phishing-image-definition/instances/{{imageDefId}}/transitions/define?sync=true
|
|
463
|
-
Accept-Language: tr-TR
|
|
464
|
-
X-Request-Id: {{$guid}}
|
|
465
|
-
user_reference: test-admin
|
|
466
|
-
Content-Type: application/json
|
|
467
|
-
|
|
468
|
-
{
|
|
469
|
-
"attributes": {
|
|
470
|
-
"imagePath": "https://www.test.com.tr/uploads/2025/1/ibguvenlik_09.jpg",
|
|
471
|
-
"titleTr": "Fare",
|
|
472
|
-
"titleEn": "Mice"
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
### S8c. anti-phishing-image-definition publish (-> active)
|
|
477
|
-
# @name publishImageDef
|
|
478
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/anti-phishing-image-definition/instances/{{imageDefId}}/transitions/publish?sync=true
|
|
479
|
-
Accept-Language: tr-TR
|
|
480
|
-
X-Request-Id: {{$guid}}
|
|
481
|
-
user_reference: test-admin
|
|
482
|
-
Content-Type: application/json
|
|
483
|
-
|
|
484
|
-
{
|
|
485
|
-
"attributes": { "publishedBy": "test-admin", "publishedAt": "{{$datetime iso8601}}" }
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
###############################################################################
|
|
490
|
-
# ░░ LOGIN ░░ Senaryo: user-validation → login-approvement → security-check → login-success
|
|
491
|
-
###############################################################################
|
|
492
|
-
|
|
493
|
-
### L1. Login instance başlat (pre-login)
|
|
494
|
-
# @name startLogin
|
|
495
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/start?sync=false
|
|
496
|
-
Accept-Language: tr-TR
|
|
497
|
-
X-Request-Id: {{$guid}}
|
|
498
|
-
X-Device-Id: {{deviceId}}
|
|
499
|
-
X-Installation-Id: {{deviceId}}
|
|
500
|
-
X-Device-Info: Mobile Banking App iOS/2.0
|
|
501
|
-
X-Forwarded-For: 192.168.1.100
|
|
502
|
-
user_reference: {{userKey}}
|
|
503
|
-
Content-Type: application/json
|
|
504
|
-
|
|
505
|
-
{
|
|
506
|
-
"key": "login-{{$timestamp}}-{{$randomInt 1000 9999}}",
|
|
507
|
-
"tags": ["test", "e2e", "login"],
|
|
508
|
-
"attributes": {
|
|
509
|
-
"clientId": "{{clientKey}}",
|
|
510
|
-
"grantType": "authorization_code",
|
|
511
|
-
"scopes": ["IbCustomer"],
|
|
512
|
-
"scopeGroup": "{{scopeGroup}}",
|
|
513
|
-
"allowConsentSelection": false
|
|
514
|
-
}
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
### Login instance id'sini yakala
|
|
518
|
-
@instanceId = {{startLogin.response.body.id}}
|
|
519
|
-
|
|
520
|
-
### L2. login transition — kimlik bilgilerini gönder (user-validation'ı sürer)
|
|
521
|
-
# @name login
|
|
522
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/transitions/login?sync=true
|
|
523
|
-
Accept-Language: tr-TR
|
|
524
|
-
X-Request-Id: {{$guid}}
|
|
525
|
-
X-Device-Id: {{deviceId}}
|
|
526
|
-
X-Installation-Id: {{deviceId}}
|
|
527
|
-
X-Device-Info: Mobile Banking App iOS/2.0
|
|
528
|
-
X-Forwarded-For: 192.168.1.101
|
|
529
|
-
user_reference: {{userKey}}
|
|
530
|
-
Content-Type: application/json
|
|
531
|
-
|
|
532
|
-
{
|
|
533
|
-
"attributes": {
|
|
534
|
-
"clientId": "{{clientKey}}",
|
|
535
|
-
"grantType": "authorization_code",
|
|
536
|
-
"scopes": ["IbCustomer"],
|
|
537
|
-
"scope": "{{userKey}}",
|
|
538
|
-
"codeChallenge": "{{codeChallenge}}",
|
|
539
|
-
"codeChallengeMethod": "S256",
|
|
540
|
-
"userName": "{{userKey}}",
|
|
541
|
-
"password": "{{plainPassword}}",
|
|
542
|
-
"loginMethod": "password",
|
|
543
|
-
"userAgent": "Mobile Banking App iOS/2.0",
|
|
544
|
-
"loginTimestamp": "{{$datetime iso8601}}"
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
### L3. State — user-validation geçildi mi? (login-approvement beklenir).
|
|
549
|
-
# 'pre-login' (data.loginFailed=true) görünürse L3b login (retry)'i çalıştır.
|
|
550
|
-
# @name stateAfterLogin
|
|
551
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/functions/state
|
|
552
|
-
Accept-Language: tr-TR
|
|
553
|
-
X-Request-Id: {{$guid}}
|
|
554
|
-
user_reference: {{userKey}}
|
|
555
|
-
##
|
|
556
|
-
|
|
557
|
-
###
|
|
558
|
-
# → user-validated-end (antiPhishingImage varsa önce mark-image-require-change)
|
|
559
|
-
# @name s5_change
|
|
560
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/transitions/change?sync=false
|
|
561
|
-
Content-Type: application/json
|
|
562
|
-
X-Request-Id: {{$guid}}
|
|
563
|
-
|
|
564
|
-
{
|
|
565
|
-
"attributes": {
|
|
566
|
-
"newPassword": "113322",
|
|
567
|
-
"newPasswordConfirm": "113322"
|
|
568
|
-
}
|
|
569
|
-
}
|
|
570
|
-
##
|
|
571
|
-
|
|
572
|
-
### L3b. (KOŞULLU) login (retry) — yalnızca yanlış şifreyle pre-login'e dönülmüşse (loginFailed=true)
|
|
573
|
-
# pre-login'in kendi login transition'ı; doğru şifreyle yeni bir user-validation subflow'u başlar.
|
|
574
|
-
# @name retryLogin
|
|
575
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/transitions/login?sync=true
|
|
576
|
-
Accept-Language: tr-TR
|
|
577
|
-
X-Request-Id: {{$guid}}
|
|
578
|
-
X-Device-Id: {{deviceId}}
|
|
579
|
-
X-Token-Id: {{$guid}}
|
|
580
|
-
user_reference: {{userKey}}
|
|
581
|
-
Content-Type: application/json
|
|
582
|
-
|
|
583
|
-
{
|
|
584
|
-
"attributes": { "userName": "{{userKey}}", "password": "{{plainPassword}}" }
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
### L4. State — login-approvement alt-durumları: check-device → push-send → push-waiting.
|
|
588
|
-
# approve-push'u GÖNDERMEDEN ÖNCE state 'push-waiting' OLMALI (mesajlaşma mock'u ayaktaysa).
|
|
589
|
-
# Cihaz yoksa otp-send → otp-waiting'e düşer; o durumda L5b verify-otp kullan.
|
|
590
|
-
# @name stateBeforeApprove
|
|
591
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/functions/state
|
|
592
|
-
Accept-Language: tr-TR
|
|
593
|
-
X-Request-Id: {{$guid}}
|
|
594
|
-
user_reference: {{userKey}}
|
|
595
|
-
|
|
596
|
-
### L5. approve-push — push bildirimini onayla (yalnızca state=push-waiting iken geçerli)
|
|
597
|
-
# @name approvePush
|
|
598
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/transitions/approve-push?sync=true
|
|
599
|
-
Accept-Language: tr-TR
|
|
600
|
-
X-Request-Id: {{$guid}}
|
|
601
|
-
X-Device-Id: {{deviceId}}
|
|
602
|
-
X-Token-Id: {{$guid}}
|
|
603
|
-
user_reference: {{userKey}}
|
|
604
|
-
Content-Type: application/json
|
|
605
|
-
|
|
606
|
-
{
|
|
607
|
-
"attributes": { "pushReference": "push-ref-{{$guid}}" }
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
### L5b. (ALTERNATİF) verify-otp — cihaz bulunmaz/OTP yoluna düşülürse (state=otp-waiting)
|
|
611
|
-
# otpReference SAYIDIR. Push onayı yerine OTP doğrulaması bu adımla yapılır.
|
|
612
|
-
# @name verifyOtp
|
|
613
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/transitions/verify-otp?sync=false
|
|
614
|
-
Accept-Language: tr-TR
|
|
615
|
-
X-Request-Id: {{$guid}}
|
|
616
|
-
X-Device-Id: {{deviceId}}
|
|
617
|
-
X-Token-Id: {{$guid}}
|
|
618
|
-
user_reference: {{userKey}}
|
|
619
|
-
Content-Type: application/json
|
|
620
|
-
|
|
621
|
-
{
|
|
622
|
-
"attributes": { "otpCode":"123456" }
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
### L6. State — security-check beklenir (alt durum: security-question-change)
|
|
626
|
-
# scope-fetch + consent-selection (tek consent → auto) otomatik geçilir.
|
|
627
|
-
# @name stateBeforeSecurityQuestion
|
|
628
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/functions/state
|
|
629
|
-
Accept-Language: tr-TR
|
|
630
|
-
X-Request-Id: {{$guid}}
|
|
631
|
-
user_reference: {{userKey}}
|
|
632
|
-
|
|
633
|
-
### L7. set-security-question — güvenlik sorusunu INLINE kur (security-check)
|
|
634
|
-
# @name setSecurityQuestion
|
|
635
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/transitions/set-security-question?sync=true
|
|
636
|
-
Accept-Language: tr-TR
|
|
637
|
-
X-Request-Id: {{$guid}}
|
|
638
|
-
X-Device-Id: {{deviceId}}
|
|
639
|
-
X-Token-Id: {{$guid}}
|
|
640
|
-
user_reference: {{userKey}}
|
|
641
|
-
Content-Type: application/json
|
|
642
|
-
|
|
643
|
-
{
|
|
644
|
-
"attributes": {
|
|
645
|
-
"newQuestionDefinitionId": "{{questionDefId}}",
|
|
646
|
-
"newAnswer": "test-cevap-123"
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
### L8. State — security-image-change beklenir
|
|
651
|
-
# @name stateBeforeSecurityImage
|
|
652
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/functions/state
|
|
653
|
-
Accept-Language: tr-TR
|
|
654
|
-
X-Request-Id: {{$guid}}
|
|
655
|
-
user_reference: {{userKey}}
|
|
656
|
-
|
|
657
|
-
### L9. set-security-image — anti-phishing görselini INLINE kur (security-check)
|
|
658
|
-
# @name setSecurityImage
|
|
659
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/transitions/set-security-image?sync=true
|
|
660
|
-
Accept-Language: tr-TR
|
|
661
|
-
X-Request-Id: {{$guid}}
|
|
662
|
-
X-Device-Id: {{deviceId}}
|
|
663
|
-
X-Token-Id: {{$guid}}
|
|
664
|
-
user_reference: {{userKey}}
|
|
665
|
-
Content-Type: application/json
|
|
666
|
-
|
|
667
|
-
{
|
|
668
|
-
"attributes": { "imageDefinitionId": "{{imageDefId}}" }
|
|
669
|
-
}
|
|
670
|
-
|
|
671
|
-
### L10. Final state — login-success beklenir
|
|
672
|
-
# @name finalState
|
|
673
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/functions/state
|
|
674
|
-
Accept-Language: tr-TR
|
|
675
|
-
X-Request-Id: {{$guid}}
|
|
676
|
-
user_reference: {{userKey}}
|
|
677
|
-
|
|
678
|
-
### L11. Final data — token/snapshot bilgileri
|
|
679
|
-
# @name finalData
|
|
680
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/functions/data
|
|
681
|
-
Accept-Language: tr-TR
|
|
682
|
-
X-Request-Id: {{$guid}}
|
|
683
|
-
user_reference: {{userKey}}
|
|
684
|
-
|
|
685
|
-
###############################################################################
|
|
686
|
-
# ░░ TOKEN REDEEM ░░ token subflow'undan token al (POST /oauth/token eşleniği)
|
|
687
|
-
#
|
|
688
|
-
# login-success'e ulaşınca user-login state response'undaki activeCorrelations
|
|
689
|
-
# içinden subFlowName == 'token' olan kayıt token subflow instance'ını gösterir
|
|
690
|
-
# (listede cert-management gibi başka subflow'lar da olabilir, index'e güvenme).
|
|
691
|
-
# O instance'a önce state isteği atılır,
|
|
692
|
-
# sonra codeVerifier ile redeem transition'ı çağrılarak token alınır.
|
|
693
|
-
# PKCE doğrulaması (codeChallenge ↔ codeVerifier) token flow'unda yapılır.
|
|
694
|
-
###############################################################################
|
|
695
|
-
|
|
696
|
-
### token subflow instance ID — L10 finalState response'undan alınır
|
|
697
|
-
@tokenInstanceId = {{finalState.response.body.$.activeCorrelations[?(@.subFlowName=='token')].subFlowInstanceId}}
|
|
698
|
-
|
|
699
|
-
### L12. token state — redeem öncesi durum (token henüz üretilmedi)
|
|
700
|
-
# @name tokenStateBeforeRedeem
|
|
701
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/token/instances/{{tokenInstanceId}}/functions/state
|
|
702
|
-
Accept-Language: tr-TR
|
|
703
|
-
X-Request-Id: {{$guid}}
|
|
704
|
-
user_reference: {{userKey}}
|
|
705
|
-
|
|
706
|
-
### L13. redeem — codeVerifier ile token al (PKCE doğrulaması token flow'unda yapılır)
|
|
707
|
-
# @name redeemToken
|
|
708
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/token/instances/{{tokenInstanceId}}/transitions/redeem?sync=true
|
|
709
|
-
Accept-Language: tr-TR
|
|
710
|
-
X-Request-Id: {{$guid}}
|
|
711
|
-
X-Device-Id: {{deviceId}}
|
|
712
|
-
X-Token-Id: {{$guid}}
|
|
713
|
-
X-Device-Info: Mobile Banking App iOS/2.0
|
|
714
|
-
X-Forwarded-For: 192.168.1.100
|
|
715
|
-
user_reference: {{userKey}}
|
|
716
|
-
Content-Type: application/json
|
|
717
|
-
|
|
718
|
-
{
|
|
719
|
-
"attributes": {
|
|
720
|
-
"codeVerifier": "{{codeVerifier}}"
|
|
721
|
-
}
|
|
722
|
-
}
|
|
723
|
-
|
|
724
|
-
### L14. token data — token bilgileri
|
|
725
|
-
# tokenResponse: accessToken, idToken, refreshToken, tokenType, expiresIn
|
|
726
|
-
# @name tokenData
|
|
727
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/token/instances/{{tokenInstanceId}}/functions/data
|
|
728
|
-
Accept-Language: tr-TR
|
|
729
|
-
X-Request-Id: {{$guid}}
|
|
730
|
-
user_reference: {{userKey}}
|