eideasy-browser-client is a handy tool that you can use to handle the client side parts of the identification and signing flows when using eID Easy API.

A typical signing implementation using the eID Easy API and the eideasy-browser-client would look like this:

  1. Prepare the files for signing by sending a server side request to the /prepare-files-for-signingopen in new window endpoint.
  2. /prepare-files-for-signing endpoint returns a docId.
  3. Create a browser client instance using the docId.
  4. Use any of the eideasy-browser-client's signing modules (e.g. idCardSignature, smartIdSignature, mobileIdSignature etc.) to complete the signing process.
  5. eID Easy server sends a POST request containing doc_id and signer_id to your configured "Signature notification URL" when the user has finished signing the document.



We are constantly improving our browser-client and releasing new versions. Make sure to use the latest version of the browser-client to get access to the latest signing and authentication methods.


  1. Install with npm or Yarn:
yarn add @eid-easy/eideasy-browser-client
npm install @eid-easy/eideasy-browser-client
  1. Import createClient:
import createClient from '@eid-easy/eideasy-browser-client';


  1. Add the script tag:
<script src="" integrity="sha256-7AAxrSs4WGJpwybfMvwqLDoIB0LvnyYP2ex9aN5/32U=" crossorigin="anonymous"></script>
  1. Use the eidEasyBrowserClient object to access createClient:
const createClient = window.eidEasyBrowserClient.createClient;
Last Updated: