Skip to content

Document signing

The BankID OIDC Provider supports the signing of documents or text strings by using the SignDoc API or parameters in the authentication request.

Depending on your needs, we offer two different signing integrations:

  • Simple flow: applicable for short text signing
  • Full flow: applicable for signing PDF documents, XML files, and longer text strings

Simple text signing

Simple text signing is the most basic signing solution we offer. It allows you to sign text strings with BankID.

The implementation is simple as you will only need to add some extra parameters in the authorize request. The signing results will be available as a claim in the ID token.

Note that the text length has a limit 150 characters for BankID High. Longer text can be signed using the full flow (e.g. SEID-SDO).

For more details, see:

Full flow

The full flow is a more advanced signing solution that allows you to sign PDF documents, XML files, and longer text strings.

The implementation is more complex as you will need to use the SignDoc API to create a sign order, upload the document to be signed, and download the signed document.

Full flow also comes in two variants:

  • PAdES: for signing PDF documents
  • SEID-SDO: for signing PDF documents, XML files, and longer text strings

For more details, see: