BankIDAuthenticator
Authenticate or Sign using BankID. Depending on the method used the user may need to enter the personal number.
BankID authenticator allows for three different scenarios:
- Starting BankID on the same device.
- Starting BankID on another device(only v5.1).
- Starting BankID using a QR code.
Every method needs to be activated through configuration.
Translate userVisibleData by adding keyword "bankid.translated.userVisibleData" to this field and update language files with the keyword and translations.
Authentication mode is always the default. To use signature mode, the authentication must be for SAML and the AuthnRequest must contain a SignMessage. The "userVisibleData" for this BankID transaction will then be overridden and set to the value of the SignMessage. You can disable signatures completely by setting the configuration parameter "allowSignTransactions" to "false".
On successful authentication or signature, these parameters will be added to the request sent to the connected pipe:
- userPersonalNumber - The end user personal number (SSID)
- userGivenName - The end user given name
- userSurName - The end user family name
- bid_signature - The signature created in the bankID client during the authentication
Properties
Requirements
The requirement parameter is used to describe how a signature must be created and verified. Add a json(escaped as String) containing one or more of the attributes below to the authenticators configuration.
Example Configuration
{ "id": "bid", "alias": "bid", "name": "BankIDAuthenticator", "configuration": { "pipeID": "pipeBID", "keyStore": "bankidkeystore", "mode": "test",
"version": "v6.0", "requirement": "{\"certificatePolicies\":[\"1.2.3.4.5\"], \"mrtd\": false}", "userVisibleData": "*This is visible in the BankID application*", "userVisibleDataFormat": "simpleMarkdownV1","enableHoneypot": "true", "loginTemplate": "bankidagnostic.template", "templateVariables": { "methods": [ { "title": "bankid.messages.option_label_sd", "image": "/authenticate/res/images/icons/phenixid-bankid.png", "data-toggle-action": "SD" }, { "title": "bankid.messages.option_label_qr", "image": "/authenticate/res/images/icons/phenixid-bankid-qr.png", "data-toggle-action": "QR" } ] } } }
Requirements
- A BankID key store issued by an authorized issuer
- The user must have activated BankID prior to authenticating