Smart ID Digital Access component (Hybrid Access Gateway) supports sending signing messages over SAML. If the SAML request contains a sign message, Digital Access forwards it to the signing interface of the app or client for authentication, so that it can be shown to the user when they are asked to sign.
To be used for signing, the SAML request must contain a SignMessage element. Once this is present, supporting authentication methods will use signing instead of authentication. Authentication methods without a dedicated signing option will still use authentication but display the signing message within the browser.
Even if an authentication method does not support a certain signing functionality, it can still be used to authenticate a signature. For the supported authentication methods mentioned above, there is a certain signing interface that shows the signing message directly in the software (app or desktop application used). For other methods this signing message can be shown to the user within the browser.
To do this:
Change the branding of the following file: access-point/built-in-files/wwwroot/wa/authmech/base/GenericForm.html
Add the following HTML code wherever the message should be displayed: