Auxiliary applications (pipes)#
You can configure Blitz Identity Provider to show an announcement to the user upon login. This can show the user one or two buttons, and the user’s choice can be analyzed in the login procedure.
To customize the display to the user of the ad, you need:
in the
blitz.conf
configuration file add theblitz.prod.local.idp.built-in-pipes
section, in which you assign theid
identifier and thetype
announcement type to the auxiliary application with theinfo
type. The following announcement configurations are possible:news
- a single button is displayed,agreement
- two buttons are displayed;
Example configuration of two info
helper applications with identifiers alarm
and user_agreement
:
"built-in-pipes": {
"info": [
{
"id": "alarm",
"type": "news"
},
{
"id": "user_agreement",
"type": "agreement"
}
]
}
You can configure after login Blitz Identity Provider to show the user a selection box from a list of values and store the result of the selection in an attribute in the user’s account.
To customize the display of a list of values to the user:
in the
blitz.conf
configuration file add a sectionblitz.prod.local.idp.built-in-pipes
in which to assign to the auxiliary application with typechoice
the identifierid
and the name of the attributeclaim
in which to save the selection result;
Configuration example of the choice
helper application:
"built-in-pipes": {
"choice": [
{
"id": "select_value",
"claim": "role"
}
]
}