Configuration of User Visible Data per application
User visible data is a text displayed to the user during authentication with BankID, with the purpose of providing context for the authentication and to enable users to detect identification errors and averting fraud attempts.
Usage in SSO
In order to customize the userVisibleData parameter for the Swedish BankID Authentication, please update the BANK_ID_TEXT internationalization message. Instructions on the process can be found here: Login user interface customization message bundle files - SSO .
The length of the text must be no longer than 1125 characters (including application name - see “Customization” paragraph)
Customization
The BANK_ID_TEXT message can have the application display name injected. To do so, insert the placeholder {0} at the desired location. For example:
BANK_ID_TEXT = You are trying to authenticate to {0}. Please confirm the operation.If your configured application display name is My application then the user will see:
You are trying to authenticate to My application. Please confirm the operation.
Application display name
Display name can be provided in one of the following ways (listed in the order of preference):
from
ftn_spnamerequest parameter if theAllowFtnSpnameis enabled (see OAuth 2.0 integration guide - SSO for details)from metadata:
client_namefield for OAuth2/OIDCDisplayNamefield for SAML
hostname from request parameter:
redirect_urifor OAuth2/OIDCassertionConsumerUrlfor SAML
BankID documentation
BankID /auth endpoint documentation