@burgan-tech/morph-idm-runtime 0.0.1 → 0.0.3
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.3.tgz +0 -0
- package/morph-idm/Schemas/client/client-update-1.0.0.json +263 -0
- package/morph-idm/Schemas/{user → person}/person-master-1.0.0.json +1 -1
- package/morph-idm/Schemas/token/token-start-1.0.0.json +6 -19
- package/morph-idm/Schemas/user/user-master-1.0.0.json +46 -1
- package/morph-idm/Schemas/user-login/retry-login-1.0.0.json +39 -0
- package/morph-idm/Tasks/call-device-start-1.0.0.json +1 -1
- package/morph-idm/Tasks/call-device-update-1.0.0.json +1 -1
- package/morph-idm/Tasks/consent/consent-auto-select-script.json +16 -0
- package/morph-idm/Tasks/{user/send-push-task.json → device/search-device-task.json} +5 -5
- package/morph-idm/Tasks/get-device-1.0.0.json +1 -1
- package/morph-idm/Tasks/person/get-person-by-task.json +19 -0
- package/morph-idm/Tasks/person/person-update-direct-transition.json +23 -0
- package/morph-idm/Tasks/token/token-create-jwt.json +0 -1
- package/morph-idm/Tasks/token/token-redeem-trigger.json +22 -0
- package/morph-idm/Tasks/token/user-login-get-as-filterable.json +22 -0
- package/morph-idm/Tasks/user/evaluate-failed-login-script.json +18 -0
- package/morph-idm/Tasks/user/get-phone-from-person-task.json +20 -0
- package/morph-idm/Tasks/user/otp-code-generator.json +15 -0
- package/morph-idm/Tasks/user/send-otp-sms-task.json +26 -0
- package/morph-idm/Tasks/user/user-update-password-fail-count.json +24 -0
- package/morph-idm/Tasks/user-login/auth-code-generator.json +17 -0
- package/morph-idm/Tasks/user-login/increment-local-fail-count.json +17 -0
- package/morph-idm/Tasks/user-login/password-verify.json +26 -0
- package/morph-idm/Tasks/user-login/push-send-task.json +25 -0
- package/morph-idm/TestCases/test-123/.httpyac.json +15 -0
- package/morph-idm/TestCases/test-123/01-person.http +95 -0
- package/morph-idm/TestCases/test-123/02-user.http +83 -0
- package/morph-idm/TestCases/test-123/03-scope.http +65 -0
- package/morph-idm/TestCases/test-123/04-consent.http +66 -0
- package/morph-idm/TestCases/test-123/05-device.http +86 -0
- package/morph-idm/TestCases/test-123/06-user-login.http +206 -0
- package/morph-idm/TestCases/test-123/README.md +112 -0
- package/morph-idm/TestCases/test-123/cleanup.js +49 -0
- package/morph-idm/TestCases/test-123/cleanup.sh +20 -0
- package/morph-idm/TestCases/test-123/cleanup.sql +45 -0
- package/morph-idm/TestCases/test-123/http-client.env.json +13 -0
- package/morph-idm/TestCases/test-123/run-setup.sh +42 -0
- package/morph-idm/TestCases/test-auto-consent/.httpyac.json +14 -0
- package/morph-idm/TestCases/test-auto-consent/01-person.http +72 -0
- package/morph-idm/TestCases/test-auto-consent/02-user.http +74 -0
- package/morph-idm/TestCases/test-auto-consent/03-scope.http +66 -0
- package/morph-idm/TestCases/test-auto-consent/04-device.http +56 -0
- package/morph-idm/TestCases/test-auto-consent/05-user-login.http +132 -0
- package/morph-idm/TestCases/test-auto-consent/README.md +36 -0
- package/morph-idm/TestCases/test-auto-consent/cleanup.js +47 -0
- package/morph-idm/TestCases/test-auto-consent/run-setup.sh +50 -0
- package/morph-idm/TestCases/test-multiple-consent/.httpyac.json +17 -0
- package/morph-idm/TestCases/test-multiple-consent/01-person.http +103 -0
- package/morph-idm/TestCases/test-multiple-consent/02-user.http +83 -0
- package/morph-idm/TestCases/test-multiple-consent/03-scope-2.http +66 -0
- package/morph-idm/TestCases/test-multiple-consent/03-scope.http +66 -0
- package/morph-idm/TestCases/test-multiple-consent/04-consent-1.http +67 -0
- package/morph-idm/TestCases/test-multiple-consent/04-consent-2.http +66 -0
- package/morph-idm/TestCases/test-multiple-consent/05-device.http +87 -0
- package/morph-idm/TestCases/test-multiple-consent/06-user-login.http +183 -0
- package/morph-idm/TestCases/test-multiple-consent/README.md +37 -0
- package/morph-idm/TestCases/test-multiple-consent/cleanup.js +46 -0
- package/morph-idm/TestCases/test-multiple-consent/cleanup.sh +20 -0
- package/morph-idm/TestCases/test-multiple-consent/run-setup.sh +53 -0
- package/morph-idm/Views/user-login/push-waiting.json +28 -0
- package/morph-idm/Views/user-login/start.json +28 -0
- package/morph-idm/Workflows/client/client-1.0.0.json +8 -3
- package/morph-idm/Workflows/client/execute/client-update.http +763 -0
- package/morph-idm/Workflows/client/execute/client.http +13 -5
- package/morph-idm/Workflows/client/src/CreateRsaByHttpCallMapping.csx +10 -14
- package/morph-idm/Workflows/client/src/PasswordGeneratorMapping.csx +0 -1
- package/morph-idm/Workflows/consent-selection/consent-selection-1.0.0.json +37 -6
- package/morph-idm/Workflows/consent-selection/execute/multi-consent-selection.http +209 -0
- package/morph-idm/Workflows/consent-selection/src/ConsentSelectedMapping.csx +18 -22
- package/morph-idm/Workflows/consent-selection/src/CreateAutoConsentMapping.csx +45 -45
- package/morph-idm/Workflows/consent-selection/src/MultipleConsentsRule.csx +12 -8
- package/morph-idm/Workflows/consent-selection/src/NoConsentEligibleRule.csx +6 -22
- package/morph-idm/Workflows/consent-selection/src/SingleConsentAutoSelectMapping.csx +63 -0
- package/morph-idm/Workflows/consent-selection/src/SingleConsentRule.csx +11 -22
- package/morph-idm/Workflows/device/execute/device-ios.http +0 -6
- package/morph-idm/Workflows/device/execute/search.http +32 -0
- package/morph-idm/Workflows/person/execute/person-123.http +191 -0
- package/morph-idm/Workflows/person/execute/person.http +196 -0
- package/morph-idm/Workflows/{user → person}/person-1.0.0.json +24 -1
- package/morph-idm/Workflows/token/execute/token.http +14 -3
- package/morph-idm/Workflows/token/password-subflow.json +1 -1
- package/morph-idm/Workflows/token/src/AuthCodeRedeemMapping.csx +114 -0
- package/morph-idm/Workflows/token/src/AuthCodeValidationRule.csx +27 -0
- package/morph-idm/Workflows/token/src/CreateRsaJwtMapping.csx +28 -16
- package/morph-idm/Workflows/token/src/StatusSuccessRule.csx +27 -0
- package/morph-idm/Workflows/token/src/TokenCreatedRule.csx +32 -0
- package/morph-idm/Workflows/token/src/UserLoginGetAsFilterableMapping.csx +204 -0
- package/morph-idm/Workflows/token/token-1.0.0.json +109 -41
- package/morph-idm/Workflows/user/execute/create-user-1234567890.http +16 -4
- package/morph-idm/Workflows/user/execute/create-user-migration.http +179 -0
- package/morph-idm/Workflows/user/execute/create-user-person-password.http +78 -32
- package/morph-idm/Workflows/user/src/EvaluateFailedLoginMapping.csx +75 -0
- package/morph-idm/Workflows/user/src/FailCountMaxRule.csx +33 -0
- package/morph-idm/Workflows/user/src/GetPhoneFromPersonMapping.csx +139 -0
- package/morph-idm/Workflows/user/src/HasPasswordsRule.csx +43 -0
- package/morph-idm/Workflows/user/src/OtpSentSuccessRule.csx +46 -0
- package/morph-idm/Workflows/user/src/PasswordGeneratedSuccessRule.csx +73 -0
- package/morph-idm/Workflows/user/src/PhoneFetchedSuccessRule.csx +35 -0
- package/morph-idm/Workflows/user/src/ResetPasswordFailCountMapping.csx +88 -0
- package/morph-idm/Workflows/user/src/SendOtpSmsMapping.csx +357 -0
- package/morph-idm/Workflows/user/src/UserPasswordGeneratorMapping.csx +33 -6
- package/morph-idm/Workflows/user/user-1.0.0.json +365 -5
- package/morph-idm/Workflows/{user → user-login}/execute/user-login.http +155 -32
- package/morph-idm/Workflows/user-login/src/AuthCodeGeneratorMapping.csx +44 -0
- package/morph-idm/Workflows/{user/src/GetClientMapping.csx → user-login/src/ClientGetMapping.csx} +6 -4
- package/morph-idm/Workflows/{user/src/TriggerConsentSelectionAsSubFlowMapping.csx → user-login/src/ConsentSelectionSubFlowMapping.csx} +19 -20
- package/morph-idm/Workflows/user-login/src/DeviceSearchMapping.csx +128 -0
- package/morph-idm/Workflows/{user → user-login}/src/GrantValidationRule.csx +5 -1
- package/morph-idm/Workflows/user-login/src/HasFailCountRule.csx +32 -0
- package/morph-idm/Workflows/user-login/src/MaxRetriesReachedRule.csx +32 -0
- package/morph-idm/Workflows/user-login/src/NoSecurityImageRule.csx +33 -0
- package/morph-idm/Workflows/user-login/src/NoSecurityQuestionRule.csx +65 -0
- package/morph-idm/Workflows/user-login/src/OtpCodeGenerateMapping.csx +37 -0
- package/morph-idm/Workflows/{user/src/SendOtpMapping.csx → user-login/src/OtpSendMapping.csx} +13 -7
- package/morph-idm/Workflows/user-login/src/OtpVerifiedRule.csx +35 -0
- package/morph-idm/Workflows/user-login/src/PasswordFailCountResetMapping.csx +77 -0
- package/morph-idm/Workflows/user-login/src/PasswordFailCountUpdateMapping.csx +80 -0
- package/morph-idm/Workflows/user-login/src/PasswordVerifyMapping.csx +172 -0
- package/morph-idm/Workflows/user-login/src/PersonFetchedRule.csx +32 -0
- package/morph-idm/Workflows/user-login/src/PersonGetMapping.csx +61 -0
- package/morph-idm/Workflows/user-login/src/PersonUpdateMapping.csx +105 -0
- package/morph-idm/Workflows/user-login/src/PersonUpdatedRule.csx +32 -0
- package/morph-idm/Workflows/{user/src/SendPushMapping.csx → user-login/src/PushSendMapping.csx} +22 -11
- package/morph-idm/Workflows/user-login/src/PushVerifiedRule.csx +31 -0
- package/morph-idm/Workflows/{user/src/GetScopesByUserMapping.csx → user-login/src/ScopesByUserGetMapping.csx} +24 -22
- package/morph-idm/Workflows/user-login/src/TokenGenerationSuccessRule.csx +33 -0
- package/morph-idm/Workflows/{user/src/TriggerTokenWorkflowAsSubFlowMapping.csx → user-login/src/TokenSubFlowMapping.csx} +7 -13
- package/morph-idm/Workflows/user-login/src/UserFoundRule.csx +19 -0
- package/morph-idm/Workflows/{user/src/GetUserMapping.csx → user-login/src/UserGetMapping.csx} +5 -3
- package/morph-idm/Workflows/user-login/src/UserStatusActiveRule.csx +34 -0
- package/morph-idm/Workflows/user-login/src/UserValidHasFailCountRule.csx +39 -0
- package/morph-idm/Workflows/user-login/src/UserValidNoFailCountRule.csx +39 -0
- package/morph-idm/Workflows/user-login/user-login.1.0.0.json +1828 -0
- package/package.json +1 -1
- package/vnext.config.json +3 -3
- package/burgan-tech-morph-idm-runtime-0.0.1.tgz +0 -0
- package/morph-idm/Schemas/client/client-update-master-1.0.0.json +0 -201
- package/morph-idm/Workflows/client/client-update-1.0.0.json +0 -202
- package/morph-idm/Workflows/client-manager/client-manager-1.0.0.json +0 -217
- package/morph-idm/Workflows/client-manager/execute/client-manager.http +0 -214
- package/morph-idm/Workflows/client-manager/src/ClientCreatedRule.csx +0 -28
- package/morph-idm/Workflows/client-manager/src/ClientExistsRule.csx +0 -25
- package/morph-idm/Workflows/client-manager/src/CreateClientSubFlowMapping.csx +0 -63
- package/morph-idm/Workflows/client-manager/src/GetClientForManagerMapping.csx +0 -59
- package/morph-idm/Workflows/user/src/ApproveRule.csx +0 -16
- package/morph-idm/Workflows/user/src/AutoConsentCreatedRule.csx +0 -20
- package/morph-idm/Workflows/user/src/AutoConsentRequiredRule.csx +0 -77
- package/morph-idm/Workflows/user/src/CheckDeviceByUserReferenceMapping.csx +0 -66
- package/morph-idm/Workflows/user/src/ClientValidationFailRule.csx +0 -28
- package/morph-idm/Workflows/user/src/ConsentValidationRule.csx +0 -36
- package/morph-idm/Workflows/user/src/CreateAutoConsentMapping.csx +0 -171
- package/morph-idm/Workflows/user/src/DeviceFoundForLoginRule.csx +0 -32
- package/morph-idm/Workflows/user/src/DeviceNotFoundForLoginRule.csx +0 -31
- package/morph-idm/Workflows/user/src/GetConsentMapping.csx +0 -27
- package/morph-idm/Workflows/user/src/GetDeviceMapping.csx +0 -52
- package/morph-idm/Workflows/user/src/GetScopeMapping.csx +0 -139
- package/morph-idm/Workflows/user/src/GrantValidationFailRule.csx +0 -48
- package/morph-idm/Workflows/user/src/OtpVerifiedRule.csx +0 -31
- package/morph-idm/Workflows/user/src/PushVerifiedRule.csx +0 -31
- package/morph-idm/Workflows/user/src/RejectRule.csx +0 -16
- package/morph-idm/Workflows/user/src/ScopeValidationFailRule.csx +0 -67
- package/morph-idm/Workflows/user/src/ScopeValidationRule.csx +0 -67
- package/morph-idm/Workflows/user/src/TokenGenerationSuccessRule.csx +0 -28
- package/morph-idm/Workflows/user/src/UserValidationFailRule.csx +0 -36
- package/morph-idm/Workflows/user/src/VerifyOtpMapping.csx +0 -65
- package/morph-idm/Workflows/user/src/VerifyPushMapping.csx +0 -65
- package/morph-idm/Workflows/user/user-login.1.0.0.json +0 -1144
- /package/morph-idm/Workflows/{user → person}/person-cdc-worker.1.0.0.json +0 -0
- /package/morph-idm/Workflows/{user → person}/person-upsert-1.0.0.json +0 -0
- /package/morph-idm/Workflows/scope/execute/{scope-individual.http → scope-individual-1234567890-1234567890.http} +0 -0
- /package/morph-idm/Workflows/{user → user-login}/execute/README-LOGIN.md +0 -0
- /package/morph-idm/Workflows/{user → user-login}/src/ClientValidationRule.csx +0 -0
- /package/morph-idm/Workflows/{user → user-login}/src/ConsentSelectedRule.csx +0 -0
- /package/morph-idm/Workflows/{user → user-login}/src/IsIbWebClientWithDeviceRule.csx +0 -0
- /package/morph-idm/Workflows/{user → user-login}/src/NonIbWebClientWithDeviceRule.csx +0 -0
- /package/morph-idm/Workflows/{user → user-login}/src/OtpSentRule.csx +0 -0
- /package/morph-idm/Workflows/{user → user-login}/src/PushSentRule.csx +0 -0
- /package/morph-idm/Workflows/{user → user-login}/src/ScopeFetchedRule.csx +0 -0
- /package/morph-idm/Workflows/{user → user-login}/src/UserValidationRule.csx +0 -0
|
Binary file
|
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "BUSINESS CONTEXT: Client update schema for partial updates to OAuth2/OIDC client applications. All fields are optional. Array fields REPLACE existing arrays entirely, not merged.",
|
|
3
|
+
"key": "client-update",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"domain": "morph-idm",
|
|
6
|
+
"flow": "sys-schemas",
|
|
7
|
+
"flowVersion": "1.0.0",
|
|
8
|
+
"tags": [
|
|
9
|
+
"morph-idm",
|
|
10
|
+
"schema",
|
|
11
|
+
"update",
|
|
12
|
+
"client"
|
|
13
|
+
],
|
|
14
|
+
"attributes": {
|
|
15
|
+
"type": "workflow",
|
|
16
|
+
"schema": {
|
|
17
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
18
|
+
"$id": "https://vnext.io/schemas/core/client-update.json",
|
|
19
|
+
"title": "Client Update",
|
|
20
|
+
"description": "Partial update schema for client instances. All fields are optional. Array fields (redirectUris, allowedGrants, tokens, etc.) REPLACE existing arrays entirely when provided, not merged.",
|
|
21
|
+
"type": "object",
|
|
22
|
+
"properties": {
|
|
23
|
+
"clientName": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"description": "Updated human-readable name of the client application.",
|
|
26
|
+
"minLength": 10,
|
|
27
|
+
"maxLength": 25
|
|
28
|
+
},
|
|
29
|
+
"allowedGrants": {
|
|
30
|
+
"type": "array",
|
|
31
|
+
"description": "Updated list of authorized OAuth2 grant types. If provided, REPLACES entire existing array.",
|
|
32
|
+
"items": {
|
|
33
|
+
"type": "string"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"allowedFirstFactor": {
|
|
37
|
+
"type": "array",
|
|
38
|
+
"description": "Updated list of allowed first-factor authentication methods. If provided, REPLACES entire existing array.",
|
|
39
|
+
"items": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"enum": [
|
|
42
|
+
"password",
|
|
43
|
+
"pin",
|
|
44
|
+
"sldap"
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"redirectUris": {
|
|
49
|
+
"type": "array",
|
|
50
|
+
"description": "Updated list of redirect URIs. If provided (including empty array), REPLACES entire existing array. Empty array removes all redirect URIs.",
|
|
51
|
+
"minItems": 0,
|
|
52
|
+
"items": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"format": "uri"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"postLogoutRedirectUris": {
|
|
58
|
+
"type": "array",
|
|
59
|
+
"description": "Updated list of post-logout redirect URIs. If provided (including empty array), REPLACES entire existing array. Empty array removes all post-logout redirect URIs.",
|
|
60
|
+
"minItems": 0,
|
|
61
|
+
"items": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"format": "uri"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"allowedOrigins": {
|
|
67
|
+
"type": "array",
|
|
68
|
+
"description": "Updated list of allowed CORS origins. If provided (including empty array), REPLACES entire existing array. Empty array removes all allowed origins.",
|
|
69
|
+
"minItems": 0,
|
|
70
|
+
"items": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"format": "uri"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"loginURI": {
|
|
76
|
+
"type": "string",
|
|
77
|
+
"format": "uri",
|
|
78
|
+
"description": "Updated URI for accessing the client's user login screen."
|
|
79
|
+
},
|
|
80
|
+
"returnURI": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"format": "uri",
|
|
83
|
+
"description": "Updated default URI to which users will be redirected after successful login."
|
|
84
|
+
},
|
|
85
|
+
"logoutURI": {
|
|
86
|
+
"type": "string",
|
|
87
|
+
"format": "uri",
|
|
88
|
+
"description": "Updated URI to which users will be redirected when logout is completed."
|
|
89
|
+
},
|
|
90
|
+
"tokens": {
|
|
91
|
+
"type": "array",
|
|
92
|
+
"description": "Updated token configurations. If provided (including empty array), REPLACES entire existing tokens array. Empty array removes all token configurations.",
|
|
93
|
+
"items": {
|
|
94
|
+
"type": "object",
|
|
95
|
+
"properties": {
|
|
96
|
+
"type": {
|
|
97
|
+
"type": "string",
|
|
98
|
+
"enum": [
|
|
99
|
+
"identity",
|
|
100
|
+
"access",
|
|
101
|
+
"refresh"
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
"duration": {
|
|
105
|
+
"type": "string",
|
|
106
|
+
"default": "PT5M"
|
|
107
|
+
},
|
|
108
|
+
"claims": {
|
|
109
|
+
"type": "array",
|
|
110
|
+
"description": "If provided, REPLACES entire existing claims array for this token type.",
|
|
111
|
+
"items": {
|
|
112
|
+
"type": "object",
|
|
113
|
+
"properties": {
|
|
114
|
+
"name": {
|
|
115
|
+
"type": "string"
|
|
116
|
+
},
|
|
117
|
+
"value": {
|
|
118
|
+
"type": "string"
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"accessTokenFormat": {
|
|
127
|
+
"type": "string",
|
|
128
|
+
"enum": [
|
|
129
|
+
"jwt",
|
|
130
|
+
"reference"
|
|
131
|
+
],
|
|
132
|
+
"description": "Updated access token format."
|
|
133
|
+
},
|
|
134
|
+
"authorizationCodeLifetime": {
|
|
135
|
+
"type": "string",
|
|
136
|
+
"description": "Updated authorization code lifetime in ISO-8601 format."
|
|
137
|
+
},
|
|
138
|
+
"refreshTokenPolicy": {
|
|
139
|
+
"type": "object",
|
|
140
|
+
"description": "Updated refresh token policy. If provided, REPLACES entire existing refresh token policy.",
|
|
141
|
+
"properties": {
|
|
142
|
+
"rotation": {
|
|
143
|
+
"type": "string",
|
|
144
|
+
"enum": [
|
|
145
|
+
"rotate",
|
|
146
|
+
"reuse"
|
|
147
|
+
]
|
|
148
|
+
},
|
|
149
|
+
"absoluteLifetime": {
|
|
150
|
+
"type": "string"
|
|
151
|
+
},
|
|
152
|
+
"reuseInterval": {
|
|
153
|
+
"type": "string"
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"pkce": {
|
|
158
|
+
"type": "object",
|
|
159
|
+
"description": "Updated PKCE settings. If provided, REPLACES entire existing PKCE configuration.",
|
|
160
|
+
"properties": {
|
|
161
|
+
"mode": {
|
|
162
|
+
"type": "string",
|
|
163
|
+
"enum": [
|
|
164
|
+
"must",
|
|
165
|
+
"optional"
|
|
166
|
+
]
|
|
167
|
+
},
|
|
168
|
+
"codeChallengeMethods": {
|
|
169
|
+
"type": "array",
|
|
170
|
+
"description": "If provided, REPLACES entire existing code challenge methods array.",
|
|
171
|
+
"items": {
|
|
172
|
+
"type": "string",
|
|
173
|
+
"enum": [
|
|
174
|
+
"S256",
|
|
175
|
+
"plain"
|
|
176
|
+
]
|
|
177
|
+
},
|
|
178
|
+
"minItems": 1
|
|
179
|
+
},
|
|
180
|
+
"defaultMethod": {
|
|
181
|
+
"type": "string",
|
|
182
|
+
"enum": [
|
|
183
|
+
"S256",
|
|
184
|
+
"plain"
|
|
185
|
+
]
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"singleSessionClients": {
|
|
190
|
+
"type": "array",
|
|
191
|
+
"description": "Updated list of single session client types. If provided (including empty array), REPLACES entire existing array.",
|
|
192
|
+
"items": {
|
|
193
|
+
"type": "string"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"allowedScopeGroups": {
|
|
197
|
+
"type": "array",
|
|
198
|
+
"description": "Updated list of allowed scope groups. If provided (including empty array), REPLACES entire existing array.",
|
|
199
|
+
"items": {
|
|
200
|
+
"type": "string"
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
"tokenEndpointAuthMethod": {
|
|
204
|
+
"type": "string",
|
|
205
|
+
"enum": [
|
|
206
|
+
"client_secret_post",
|
|
207
|
+
"client_secret_basic",
|
|
208
|
+
"client_secret_jwt",
|
|
209
|
+
"private_key_jwt",
|
|
210
|
+
"none"
|
|
211
|
+
],
|
|
212
|
+
"description": "Updated token endpoint authentication method."
|
|
213
|
+
},
|
|
214
|
+
"applicationType": {
|
|
215
|
+
"type": "string",
|
|
216
|
+
"enum": [
|
|
217
|
+
"web",
|
|
218
|
+
"spa",
|
|
219
|
+
"native",
|
|
220
|
+
"service"
|
|
221
|
+
],
|
|
222
|
+
"description": "Updated application type."
|
|
223
|
+
},
|
|
224
|
+
"clientType": {
|
|
225
|
+
"type": "string",
|
|
226
|
+
"enum": [
|
|
227
|
+
"confidential",
|
|
228
|
+
"public"
|
|
229
|
+
],
|
|
230
|
+
"description": "Updated OAuth2 client type."
|
|
231
|
+
},
|
|
232
|
+
"responseTypes": {
|
|
233
|
+
"type": "array",
|
|
234
|
+
"description": "Updated list of response types. If provided (including empty array), REPLACES entire existing array.",
|
|
235
|
+
"items": {
|
|
236
|
+
"type": "string"
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"clientUri": {
|
|
240
|
+
"type": "string",
|
|
241
|
+
"format": "uri",
|
|
242
|
+
"description": "Updated URL of the client application's homepage."
|
|
243
|
+
},
|
|
244
|
+
"logoUri": {
|
|
245
|
+
"type": "string",
|
|
246
|
+
"format": "uri",
|
|
247
|
+
"description": "Updated URL of the client application's logo."
|
|
248
|
+
},
|
|
249
|
+
"policyUri": {
|
|
250
|
+
"type": "string",
|
|
251
|
+
"format": "uri",
|
|
252
|
+
"description": "Updated URL of the client application's privacy policy."
|
|
253
|
+
},
|
|
254
|
+
"tosUri": {
|
|
255
|
+
"type": "string",
|
|
256
|
+
"format": "uri",
|
|
257
|
+
"description": "Updated URL of the client application's terms of service."
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"additionalProperties": false
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
}
|
|
@@ -18,31 +18,18 @@
|
|
|
18
18
|
"description": "OAuth2 token flow initiation data. Contains client, user, scope, and consent information to start token workflow.",
|
|
19
19
|
"type": "object",
|
|
20
20
|
"properties": {
|
|
21
|
-
"
|
|
21
|
+
"userName": {
|
|
22
22
|
"type": "string",
|
|
23
|
-
"description": "
|
|
23
|
+
"description": "User name for the token request."
|
|
24
24
|
},
|
|
25
|
-
"
|
|
26
|
-
"type": "object",
|
|
27
|
-
"description": "Client fact object for the OAuth2 token request."
|
|
28
|
-
},
|
|
29
|
-
"user": {
|
|
30
|
-
"type": "string",
|
|
31
|
-
"description": "User fact key for the token request."
|
|
32
|
-
},
|
|
33
|
-
"consent": {
|
|
34
|
-
"type": "array",
|
|
35
|
-
"description": "Consent fact key for the token request."
|
|
36
|
-
},
|
|
37
|
-
"scope": {
|
|
25
|
+
"authorizationCode": {
|
|
38
26
|
"type": "string",
|
|
39
|
-
"description": "
|
|
27
|
+
"description": "Authorization code for the token request."
|
|
40
28
|
}
|
|
41
29
|
},
|
|
42
30
|
"required": [
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"consent"
|
|
31
|
+
"userName",
|
|
32
|
+
"authorizationCode"
|
|
46
33
|
],
|
|
47
34
|
"additionalProperties": true
|
|
48
35
|
}
|
|
@@ -45,6 +45,22 @@
|
|
|
45
45
|
],
|
|
46
46
|
"description": "Specifies the type of password verification method. Password (Classic password authentication. Stored in hashed form), pin (Authentication typically consisting of short numeric sequences), sldap (Account type authenticated through an external LDAP server)"
|
|
47
47
|
},
|
|
48
|
+
"passwordId": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"description": "Password ID (used as salt in hashing). Required for all password types."
|
|
51
|
+
},
|
|
52
|
+
"initialPassword": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"description": "Plain text password (only for initial generation, optional)."
|
|
55
|
+
},
|
|
56
|
+
"accessFailedCount": {
|
|
57
|
+
"type": "integer",
|
|
58
|
+
"description": "Failed login attempt count from Provider_Bff migration."
|
|
59
|
+
},
|
|
60
|
+
"mustResetPassword": {
|
|
61
|
+
"type": "boolean",
|
|
62
|
+
"description": "Password reset requirement from Provider_Bff migration."
|
|
63
|
+
},
|
|
48
64
|
"source": {
|
|
49
65
|
"oneOf": [
|
|
50
66
|
{
|
|
@@ -81,8 +97,37 @@
|
|
|
81
97
|
}
|
|
82
98
|
}
|
|
83
99
|
]
|
|
100
|
+
},
|
|
101
|
+
"audit": {
|
|
102
|
+
"type": "object",
|
|
103
|
+
"description": "Audit trail from Provider_Bff migration (optional).",
|
|
104
|
+
"properties": {
|
|
105
|
+
"createdByUserName": {
|
|
106
|
+
"type": "string",
|
|
107
|
+
"description": "Username who created the password."
|
|
108
|
+
},
|
|
109
|
+
"createdByIP": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"description": "IP address of password creation."
|
|
112
|
+
},
|
|
113
|
+
"createdByInstanceId": {
|
|
114
|
+
"type": "string",
|
|
115
|
+
"description": "Instance ID where password was created."
|
|
116
|
+
},
|
|
117
|
+
"createdByInstanceState": {
|
|
118
|
+
"type": "string",
|
|
119
|
+
"description": "Instance state during password creation."
|
|
120
|
+
},
|
|
121
|
+
"createdBehalfOf": {
|
|
122
|
+
"type": "string",
|
|
123
|
+
"description": "User on whose behalf the password was created."
|
|
124
|
+
}
|
|
125
|
+
}
|
|
84
126
|
}
|
|
85
|
-
}
|
|
127
|
+
},
|
|
128
|
+
"required": [
|
|
129
|
+
"passwordId"
|
|
130
|
+
]
|
|
86
131
|
}
|
|
87
132
|
},
|
|
88
133
|
"forceActionsAfterSuccessLogin": {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"key": "retry-login",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"domain": "morph-idm",
|
|
5
|
+
"flow": "sys-schemas",
|
|
6
|
+
"flowVersion": "1.0.0",
|
|
7
|
+
"tags": [
|
|
8
|
+
"user-login",
|
|
9
|
+
"retry",
|
|
10
|
+
"authentication",
|
|
11
|
+
"schema"
|
|
12
|
+
],
|
|
13
|
+
"attributes": {
|
|
14
|
+
"type": "workflow",
|
|
15
|
+
"schema": {
|
|
16
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
17
|
+
"$id": "https://vnext.io/schemas/user-login/retry-login.json",
|
|
18
|
+
"type": "object",
|
|
19
|
+
"title": "Retry Login Schema",
|
|
20
|
+
"description": "Schema for retry login transition - allows user to re-enter credentials",
|
|
21
|
+
"properties": {
|
|
22
|
+
"userName": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"description": "User name / identifier for login",
|
|
25
|
+
"minLength": 1
|
|
26
|
+
},
|
|
27
|
+
"password": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"description": "User password",
|
|
30
|
+
"minLength": 1
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"required": [
|
|
34
|
+
"userName",
|
|
35
|
+
"password"
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"key": "consent-auto-select-script",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"domain": "morph-idm",
|
|
5
|
+
"flow": "sys-tasks",
|
|
6
|
+
"flowVersion": "1.0.0",
|
|
7
|
+
"tags": [
|
|
8
|
+
"consent",
|
|
9
|
+
"script",
|
|
10
|
+
"auto-select"
|
|
11
|
+
],
|
|
12
|
+
"attributes": {
|
|
13
|
+
"type": "7",
|
|
14
|
+
"config": {}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
|
-
"key": "
|
|
2
|
+
"key": "search-device-task",
|
|
3
3
|
"version": "1.0.0",
|
|
4
4
|
"domain": "morph-idm",
|
|
5
5
|
"flow": "sys-tasks",
|
|
6
6
|
"flowVersion": "1.0.0",
|
|
7
7
|
"tags": [
|
|
8
|
-
"
|
|
9
|
-
"
|
|
8
|
+
"device",
|
|
9
|
+
"search",
|
|
10
10
|
"idm"
|
|
11
11
|
],
|
|
12
12
|
"attributes": {
|
|
13
13
|
"type": "6",
|
|
14
14
|
"config": {
|
|
15
|
-
"url": "
|
|
16
|
-
"method": "
|
|
15
|
+
"url": "{RuntimeBaseAddress}/api/v1/morph-idm/workflows/device/instances",
|
|
16
|
+
"method": "GET",
|
|
17
17
|
"headers": {
|
|
18
18
|
"Content-Type": "application/json"
|
|
19
19
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"key": "get-person-by-task",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"domain": "morph-idm",
|
|
5
|
+
"flow": "sys-tasks",
|
|
6
|
+
"flowVersion": "1.0.0",
|
|
7
|
+
"tags": [
|
|
8
|
+
"person",
|
|
9
|
+
"idm",
|
|
10
|
+
"get-instance-data"
|
|
11
|
+
],
|
|
12
|
+
"attributes": {
|
|
13
|
+
"type": "13",
|
|
14
|
+
"config": {
|
|
15
|
+
"domain": "morph-idm",
|
|
16
|
+
"flow": "person"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"key": "person-update-direct-transition",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"domain": "morph-idm",
|
|
5
|
+
"flow": "sys-tasks",
|
|
6
|
+
"flowVersion": "1.0.0",
|
|
7
|
+
"tags": [
|
|
8
|
+
"person",
|
|
9
|
+
"direct-trigger",
|
|
10
|
+
"transition",
|
|
11
|
+
"workflow-communication",
|
|
12
|
+
"task"
|
|
13
|
+
],
|
|
14
|
+
"attributes": {
|
|
15
|
+
"type": "12",
|
|
16
|
+
"config": {
|
|
17
|
+
"domain": "morph-idm",
|
|
18
|
+
"flow": "person",
|
|
19
|
+
"transitionName": "update",
|
|
20
|
+
"body": {}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"key": "token-redeem-trigger",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"domain": "morph-idm",
|
|
5
|
+
"flow": "sys-tasks",
|
|
6
|
+
"flowVersion": "1.0.0",
|
|
7
|
+
"tags": [
|
|
8
|
+
"token",
|
|
9
|
+
"redeem",
|
|
10
|
+
"trigger",
|
|
11
|
+
"morph-idm"
|
|
12
|
+
],
|
|
13
|
+
"attributes": {
|
|
14
|
+
"type": "12",
|
|
15
|
+
"config": {
|
|
16
|
+
"domain": "morph-idm",
|
|
17
|
+
"flow": "user-login",
|
|
18
|
+
"transitionName": "redeem-auth-code",
|
|
19
|
+
"body": {}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"key": "user-login-get-as-filterable",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"domain": "morph-idm",
|
|
5
|
+
"flow": "sys-tasks",
|
|
6
|
+
"flowVersion": "1.0.0",
|
|
7
|
+
"tags": [
|
|
8
|
+
"user",
|
|
9
|
+
"data-fetch",
|
|
10
|
+
"filter-user"
|
|
11
|
+
],
|
|
12
|
+
"attributes": {
|
|
13
|
+
"type": "15",
|
|
14
|
+
"config": {
|
|
15
|
+
"domain": "morph-idm",
|
|
16
|
+
"flow": "user-login",
|
|
17
|
+
"page": 1,
|
|
18
|
+
"pageSize": 10,
|
|
19
|
+
"sort": "-CreatedAt"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"key": "evaluate-failed-login-script",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"domain": "morph-idm",
|
|
5
|
+
"flow": "sys-tasks",
|
|
6
|
+
"flowVersion": "1.0.0",
|
|
7
|
+
"tags": [
|
|
8
|
+
"user",
|
|
9
|
+
"password",
|
|
10
|
+
"fail-count",
|
|
11
|
+
"script",
|
|
12
|
+
"evaluate"
|
|
13
|
+
],
|
|
14
|
+
"attributes": {
|
|
15
|
+
"type": "7",
|
|
16
|
+
"config": {}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"key": "get-phone-from-person-task",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"domain": "morph-idm",
|
|
5
|
+
"flow": "sys-tasks",
|
|
6
|
+
"flowVersion": "1.0.0",
|
|
7
|
+
"tags": [
|
|
8
|
+
"user",
|
|
9
|
+
"person",
|
|
10
|
+
"phone",
|
|
11
|
+
"morph-idm"
|
|
12
|
+
],
|
|
13
|
+
"attributes": {
|
|
14
|
+
"type": "13",
|
|
15
|
+
"config": {
|
|
16
|
+
"domain": "morph-idm",
|
|
17
|
+
"flow": "person"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"key": "send-otp-sms-task",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"domain": "morph-idm",
|
|
5
|
+
"flow": "sys-tasks",
|
|
6
|
+
"flowVersion": "1.0.0",
|
|
7
|
+
"tags": [
|
|
8
|
+
"user",
|
|
9
|
+
"sms",
|
|
10
|
+
"otp",
|
|
11
|
+
"messaging",
|
|
12
|
+
"morph-idm"
|
|
13
|
+
],
|
|
14
|
+
"attributes": {
|
|
15
|
+
"type": "6",
|
|
16
|
+
"config": {
|
|
17
|
+
"url": "{MessagingServiceBaseUrl}/api/v2/Messaging/sms/templated/string",
|
|
18
|
+
"method": "POST",
|
|
19
|
+
"headers": {
|
|
20
|
+
"Content-Type": "application/json"
|
|
21
|
+
},
|
|
22
|
+
"timeoutSeconds": 30,
|
|
23
|
+
"validateSsl": false
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|