Skip to main content

Testing

Use the staging environment, https://stgapi.idkollen.se, while you build and test your integration. It works like the live environment, but talks to each eID provider's test system, so you authenticate and sign with test identities instead of real ones.

You get separate API keys for staging and live.

Checklist​

  1. Ask support@idkollen.se for staging keys, if you don't have them.
  2. Get a test identity for each eID you use, see below.
  3. Start a flow and poll its GET endpoint until it is COMPLETED or FAILED.
  4. If you use callbacks: have your staging callback URL whitelisted, make it reachable from the internet, allow the staging callback IPs listed in the Overview, and check the signature.
  5. Try the unhappy paths too: cancel in the app, let a flow time out, and start two flows for the same person at once.
  6. Switch to the live URL and live keys.

BankID (SE)​

Staging only works with a test BankID. Get one at https://www.bankid.com/en/utvecklare/test/skaffa-testbankid/test-bankid-get.

BankID (NO)​

The following test users are available:

National ID (SSN)Last nameFirst nameOne-time passwordPassword
20123931743DuckDonaldotpqwer1234
04081138481MouseMinnieotpqwer1234

FTN​

The following test users are available:

User nameBank
DEMOUSER1Nordea
DEMOUSER2Nordea
DEMOUSER3Nordea
DEMOUSER4Nordea

MitID​

To create a test user, use the MitID Test Tool at https://pp.mitid.dk/test-tool/frontend/#/create-identity.

The referenceText of a MitID authentication is not shown in staging, only in live.

Vipps​

The following test user is available:

National ID (SSN)Phone numberVerification code
55074308332+47908817161236

The test app can be installed using this guide.

Freja eID​

Staging only works with a test Freja eID. To get one, see the heading "Test Mode" on https://frejaeid.freshdesk.com/support/solutions/articles/77000186303.