Older version2.8 Valves AuthenticateBankIDCollectAuthenticationStatusValve

BankIDCollectAuthenticationStatusValve

Check the status of a BankID authentication using the BankID transaction ID as identifier.

The property status will always be added to a new item.

If status equals OK, user data will be fetched and added to a new item. These signature properties will be added:

- personalNumber

- name

- givenName

- surName

-signature

-ocspResponse

 

If status equals ERROR, these properties will be added:

- message

- status

Properties

Name Description Default value Mandatory Supports property expansion
bankid_keystore ID of the keystore to use setting up client authenticateion Yes No
mode Switch to communicate with bankid test or production environment. Set to test to target bankid test environment. production No No
transactionID BankID transaction ID. Yes Yes
customerID Customer ID (for event logging). No No
userid_param_name User ID (for event logging). {{request.userid}} No Yes

Example Configuration

{
    "name": "BankIDCollectAuthenticationStatusValve",
    "config": {
    "bankid_keystore":"1111-2222-33333-4444",
     "transactionID": "{{request.transactionID}}",
     "customerID": "{{request.tenant}}",
     "userid_param_name" : "{{request.userid}}"
     }
}

Requirements

- Keystore (p12 format) file used to authenticate to BankID service stored on PhenixID Authentication Server.