SCS-CBU-CED-IAM / simplesaml-mobileid

Mobile ID custom auth module for simplesamlphp
3 stars 1 forks source link

DTBS/DTBD does not comply with new commercial packages #62

Open hpwaldegger opened 6 years ago

hpwaldegger commented 6 years ago

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

{mobileid:Auth:message} defined in dictionaries/Auth.definition.json must be changed accordingly.

FreddyKaiser commented 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'
    ...
    ),