Dōrvis

Sign in

Methods and acr_values

The acr_values parameter picks which method to open. Without it, the user sees the Dorvis selection page with every method enabled for the integration.

Supported values

Dorvis supports 10 acr_values values for seven methods. The eParaksts family has four values: idp:eparaksts-mobile, idp:eparaksts, idp:eparaksts-scan and idp:eid (a chooser with every eParaksts method).

acr_valuesMethodauth_method in the ID token
idp:smartidSmart-IDsmartid
idp:eparaksts-mobileeParaksts mobileeparaksts-mobile
idp:eparakstseParaksts with a smart card and readereparaksts
idp:eparaksts-scaneID card scanned with the eID Scan appeparaksts-scan
idp:eideParaksts menu with every eParaksts methodeid
idp:swedbankSwedbank Gatewayswedbank
idp:sebSEB e-Linkseb
idp:citadeleCitadele Digilinkcitadele
idp:luminorLuminor Linkluminor
idp:edimDigimaksedim

Rules

  • The value is case-insensitive: idp:SmartID and idp:smartid mean the same thing
  • The idp: prefix is required. Dorvis rejects smartid without it
  • Dorvis reads only the first value, so send one value per request
  • The method must be enabled for the integration. Otherwise the user comes back with error=auth_method_disabled
  • eParaksts mobile, eID Scan and eID switch on together with the eParaksts configuration

Your own button for each method

To show the methods in your own design, start the same login with a different acr_values for each button. Leave the parameter out for an Other methods button and Dorvis shows the selection.

HTML
<!-- one button per method, each starts the same OIDC login with a different acr_values -->
<a href="/login?acr=idp:smartid">Smart-ID</a>
<a href="/login?acr=idp:eparaksts-mobile">eParaksts mobile</a>
<a href="/login?acr=idp:swedbank">Swedbank</a>
<a href="/login">Citi veidi / Other methods</a>

Which methods to enable

Most users in Latvia can sign in with Smart-ID or eParaksts mobile. Bank login serves older customers who do not use other methods. Digimaks lets you try the EUDI wallet flow now. Enable or disable methods in the portal’s Configuration section without changing your code.

Did not find the answer?

Write to us and a developer will reply.

Ask a question
Loading complete

We use cookies to make this website easier to use. Read our Privacy and Cookie Policy.