User Session - Set Attributes node
The User Session - Set Attributes node allows setting or updating attributes within the user's session during the flow execution.
This node is available in: Authentication, Admin, Self Service, API, Consent, Library, Custom, User Defined
Node configurations
This section allows you to define the mapping between user attributes and the corresponding values while modifying / updating the user Session / Token.
Each value can be assigned a static value or dynamically populated using variables returned by previous nodes in the flow (e.g {{form.username}} and {{form.password}}).
Rule are defined as:attribute : value retrieved from the node
Example:username: {{form.username}}name: {{form.givenName}}
Attribute Manipulation
It is possible to use a set of basic functions to manipulate values, see Attribute Manipulation.
Default output node
- Success
- Failure
JSON metadata
{
"name": "session_attribute_mapping",
"active": true,
"bundleName": "am-token-nodes",
"bundleVersion": "1.0",
"nodeName": "SessionAttribute",
"category": "session_management",
"deprecated": false,
"displayName": [{
"lang": "en",
"value": "User Session - Set Attributes"
}, {
"lang": "it",
"value": "User Session - Set Attributes"
}
],
"index": 4,
"inputs": [{
"name": "Input"
}
],
"outputs": [{
"name": "Success",
"level": "success"
}, {
"name": "Failure",
"level": "error"
}
]
}