To style additional attributes in the Loginapp Design Kit, sample data is required. The Design Kit configuration supports adding an additionalAttributes
block for every page.
The following example demonstrates, how the mTAN Token Registration Step in the authentication flow can be provided with sample data:
pages: [ ... { path: '/auth/flow/{{FLOW}}/mtan/registration/verification/otp', additionalAttributes: { resendPossible: true, phoneNumber: '+41791234567' }, pageSettings: { ... } }, ... ]
Adding attributes in the Design Kit only works with attributes available on a particular page at the runtime of Airlock IAM.
Sample data added in an additionalAttributes
block is only available in the Design Kit and is not part of the styling information deployed on an Airlock IAM.