Open hpwaldegger opened 6 years ago
It should provide a configuration option for all the proposed login messages in your packages. Possible solution:
'MobileID' => array(
'login_message' => '<static|prefix|free>', // Type of login message, default 'static' if not set
'hosturi' => 'https://myidp.com', // Host prefix for the login message 'prefix'
...
),
Mobile ID is now available with some use case specific options (https://www.mobileid.ch/de/geschaeftskunden). Some options restrict the DTBS/DTBD that can be used (e.g. "Mobile Login: jetzt bequem einloggen?"). In order to facilitate the use of this code samples, the message should be changed to reflect the text for the most frequently used "professional" package, i.e. change the message to
"<prefix>: Möchten Sie sich mit Mobile ID einloggen?"
"<prefix>: souhaitez-vous vous connecter avec Mobile ID?"
"<prefix>: Vuoi eseguire l’accesso con il Mobile ID?"
"<prefix>: Do you want to login with Mobile ID?"
{mobileid:Auth:message} defined in dictionaries/Auth.definition.json must be changed accordingly.