/
Simple flow implementation guide
Simple flow implementation guide
The simplified flow can be used for text signing and can be initiated by providing the sign scope and the text to be signed, i.e. sign_txt
, as query parameters to the authorization request:
GET [authorize_endpoint]... &scope=sign&sign_txt=base64encoded(utf8-string) |
The text to be signed must be base64 encoded and provided in the query parameter sign_txt.
The result contains the basic signatures of the merchant and end user, as well as the hash over the received text. The result is contained in the sign_result claim in the ID token.
Example sign_result claim in ID token:
"sign_result" : { |
Sequence diagram
BankID on mobile for text signing
See Document and Text Signing for details and limitations when using BankID on mobile for signing.
Tip: Utility code for base64 in javascript
// Format a string str such that it may be used as the sign_txt value |
, multiple selections available,
Related content
Simple flow implementation guide
Simple flow implementation guide
More like this
Full flow PAdES API and implementation guide
Full flow PAdES API and implementation guide
More like this
Document and Text Signing
Document and Text Signing
More like this
Scopes and claims Sign
Scopes and claims Sign
More like this
Full flow SEID-SDO API and implementation guide
Full flow SEID-SDO API and implementation guide
More like this