User Session - Get and Validate node
The User Session - Get and Validate node retrieves the current user session and validates it.
This node is available in: Authentication, Admin, Self Service, API, Consent, Library, Custom, User Defined
Node configurations
Base URL from where to get and validate the user Token Session.
The ID token to be retrieved and validated for the user Token Session.
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
- Not Authenticated
- Already Authenticated
- Failure
JSON metadata
{
"name": "get_token",
"active": true,
"bundleName": "am-token-nodes",
"bundleVersion": "1.0",
"category": "session_management",
"deprecated": false,
"displayName": [{
"lang": "en",
"value": "User Session - Get and Validate"
}, {
"lang": "it",
"value": "User Session - Get and Validate"
}
],
"nodeName": "GetToken",
"index": 2,
"inputs": [{
"name": "Input"
}
],
"outputs": [{
"name": "NotAuthenticated",
"level": "warning"
}, {
"name": "AlreadyAuthenticated",
"level": "warning"
}, {
"name": "Failure",
"level": "error"
}
]
}