User Session - Get Attributes node
The User Session - Get Attributes node retrieves 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
Select the attributes that need to be retrieved.
This section allows you to define the mapping between user attributes and the corresponding values while retrieving the user Session / Token.
Rule are defined as:attribute : value retrieved from the user session
Example:username: uidname: givenName
Attribute Manipulation
It is possible to use a set of basic functions to manipulate values, see Attribute Manipulation.
Save in the flow store
Attributes generated or retrieved from the node can be saved into a variable.
They can then be reused by other nodes in the flow by referencing them as {{variable.attribute}}.
To do this you choose attributes that need to be stored in the variable, and in the flow store (All attributes exposed by the node are listed in a multi-select dropdown, allowing the user to choose one or more of them), then a variable name that can be freely defined by the user.
There is also a flag to make the variable available to the frontend.
Default output node
- Success
- Partial Success
- Failure
JSON metadata
{
"name": "retrieve_attributes_from_session",
"active": true,
"bundleName": "am-token-nodes",
"bundleVersion": "1.0",
"nodeName": "RetrieveAttributesFromSession",
"category": "session_management",
"deprecated": false,
"displayName": [{
"lang": "en",
"value": "User Session - Get Attributes"
}, {
"lang": "it",
"value": "User Session - Get Attributes"
}
],
"index": 5,
"inputs": [{
"name": "Input"
}
],
"outputs": [{
"name": "Success",
"level": "success"
}, {
"name": "PartialSuccess",
"level": "warning"
}, {
"name": "Failure",
"level": "error"
}
]
}