Skip to main content

Authentication Vault

You can save the data obtained during end-user authentication in the Signicat Authentication Vault.

The Authentication Vault allows you to store logs and personal data automatically after your end-users authenticate with an ID method. The data is stored securely inside Signicat Digital Evidence Management (DEM) where you can manage and retrieve it using the DEM API.

This page explains how to configure the Authentication Vault and manage your records in the Signicat Dashboard.

How it works

In a typical authentication flow, you:

  1. Connect to an ID method with an authentication protocol.
  2. Direct the end-user to the authentication server where they verify their identity online and share their data.
  3. Redirect the end-user back to your service.
  4. Send a request to retrieve the end-user's personal data.

In the scenario above, your application sends/receives a series of requests/responses to/from Signicat eID Hub servers. Typically, the data is only persisted temporarily for the scope of an authentication session.

The Authentication Vault allows you to store the response from Signicat eID Hub automatically in the DEM database. That way you can always access it later. The data is saved as records that you can retrieve with the DEM API.

You can configure the Authentication Vault to control the following:

  • Obfuscating the national identity number.
  • Applying Qualified timestamps.
  • Limiting storage only to specific ID methods.
  • Deciding how long the records should live in the DEM database.
Authentication protocols

The Authentication Vault allows you to store records obtained from connections with the following protocols:

  • OpenID Connect (OIDC)
  • Authentication REST API (only redirect flow)

Note that no data is stored when using SAML 2.0.

Prerequisites

To use the Authentication Vault, make sure you've completed the initial setup steps:

  1. Sign up to the Signicat Dashboard.
  2. In the Signicat Dashboard, set up an organisation, an account and a domain.

We advise that you create a sandbox account to test our solutions before implementing them in a production account.

Go live in production

To use the Authentication Vault in a production account, you must first purchase it together with the DEM product. When you are ready to do this, contact us by creating a support ticket in the Signicat Dashboard.

Permissions

The Authentication Vault stores data using the sensitive record type, as records contain personal user information.

To view, edit and create records from the Authentication Vault, make sure that your User and/or API client have the following permissions in the Dashboard > Access Management:

  • DemSensitiveViewer: Access to read sensitive records in DEM.
  • DemSensitiveWriter: Access to read and write sensitive records in DEM.
  • DemSensitiveEditor: Access to read, write and update sensitive records in DEM.

Additionally, you can add more permissions to manage the DEM records as explained in the DEM documentation.

Configuration

To enable and configure the Authentication Vault in your account, do the following:

  1. Go to Dashboard > eID Hub.
  2. In the left sidebar menu, expand Advanced, then select Authentication Vault.
Authentication Vault in the Signicat Dashboard

Authentication Vault in the Signicat Dashboard

In the Authentication Vault configuration page, set the following attributes:

AttributeDescription
StatusToggle the button to enable/disable the Authentication Vault product.
Time to live (TTL)Number of time units to store the records for. Allowed values are digits. Must be between 2 days and 84 months.
UnitTime unit. Choose between "Days" and "Months".
Selected authentication providersChoose the ID method(s) for which to store data. You must select at least one.
Obfuscate NINDetermines whether to show or obfuscate the national identity number (NIN) of the end-user. If ticked, NIN is obfuscated.
Qualified timestampTick to add a Qualified timestamp using Signicat's Qualified Timestamping Authority (QTSA) services. Timestamping data elements binds the data to a proven time and allows you to detect if the data has been modified.

Click Save to save the configuration and activate the Authentication Vault in your account.

After saving, try a test authentication flow to see what the authentication records look like in DEM, as explained in the next section.

Note

Note that the configuration in the Authentication Vault page applies only to the Authentication Vault product. These settings do not affect the global configuration of Digital Evidence Management (DEM) in your account.

Authentication records

After you activate the Authentication Vault in your account, you can manage the data from end-user authentication in the Signicat Dashboard.

To view your records in DEM, go to Dashboard > Digital Evidence Management.

Example

Imagine that one of your end-users has just authenticated with your application using Norwegian BankID.

In this example, we use a test user:

National IDOTPPassword
29090816894otpqwer1234

and the following Authentication Vault configuration:

  • Time to live (TTL)/Unit: 2 Days
  • Selected authentication providers: Norwegian BankID
  • Obfuscate NIN: check
  • Qualified timestamp: check

After mocking an authentication using the test user with Norwegian BankID, you should see the record appear in the Dashboard > Digital Evidence Management. Select the record and expand the raw data (JSON).

Example raw data from DEM

{
"id": "<RECORD_ID>",
"metadata": {
"searchAttribute": "b1a1f071-8273-e04c-82db-eb03d14d1228"
},
"systemMetadata": {
"type": "SENSITIVE",
"expiryDate": "2024-06-23T00:00:00Z",
"createdDate": "2024-06-21T00:00:00Z",
"createdDateTime": "2024-06-21T07:35:01Z",
"createdBy": "<CLIENT_ID>",
"auditLevel": "QUALIFIED"
},
"coreData": {
"response": {
"subject": "cpPchEZj4bUtjH6ZKXVmVD8COVKHzei7s9LPT2MCTM4=",
"subjectType": "PERSISTENT",
"issuer": "https://auth.current.bankid.no/auth/realms/current",
"idp": "nbid",
"loa": "high",
"transactionId": "b1a1f071-8273-e04c-82db-eb03d14d1228",
"attributes": [
{
"name": "nbidTid",
"datatype": "string",
"value": "2c3c8a87-0770-4f4a-972f-55420af38167"
}
],
"standardAttributes": {
"name": {
"fullName": "Gustavo Silva",
"firstName": "Gustavo",
"lastName": "Silva"
},
"nin": {
"value": "***",
"issuingCountry": "NO",
"type": "BIRTH"
},
"dateOfBirth": "1908-09-29"
}
}
},
"timestampData": {
"timestamp": "MIIJCzADAgEAMIIJAgYJKo...q9cpN2WSu5e/",
"timestampValid": true
},
"relations": [
{
"relationID": "<RECORD_ID>",
"type": "SENSITIVE",
"_links": {
"self": {
"href": "https://api.signicat.com/dem/records/<RECORD_ID>"
}
}
}
],
"_links": {
"self": {
"href": "https://api.signicat.com/dem/records/<RECORD_ID>"
}
}
}

Note the following relevant fields:

AttributeDescription
idRecord ID in UUID/GUID standard. Use it when sending requests to the DEM API to retrieve the record.
metadataSearchable field useful to filter DEM logged records.
systemMetadataMetadata object with information about creation and expiry date, source and record type.
systemMetadata.typeThe type of the record. Always set to SENSITIVE when using the Authentication Vault.
systemMetadata.auditLevelThe level of timestamping and verification applied to the record. Returns: QUALIFIED, if you tick "Qualified timestamp" in the Authentication Vault configuration; SIMPLE, if left unticked.
coreData.responseAuthentication response containing personal information of the end-user. Note how nin is obfuscated *** in this example, according to the Authentication Vault configuration.
timestampDataQualified timestamp generated by Signicat's Qualified Timestamping Authority (QTSA). Available if you tick "Qualified timestamp" in the Authentication Vault configuration.

Managing and retrieving records

You can manage your DEM records in the Signicat Dashboard and with the DEM API.

Using the Dashboard

To view and manage records in the Signicat Dashboard:

  1. Go to Dashboard > Digital Evidence Management.
  2. Select a record.
  3. Now, you can view the data and manage the record:
    • To view the raw data in full, select Expand lines.
    • To download the record in PDF format, select Get report (PDF).
    • To delete the record, select Delete. Then, confirm the action in the pop-up box.
    Expiry date

    When a record reaches the expiry date, it is deleted automatically and cannot be restored.

Using the DEM API

You can retrieve records from DEM using the DEM API. Learn more about connecting to the API and accessing records in the DEM API guide.

You can read more about Digital Evidence Management in the documentation: