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
- Ask support@idkollen.se for staging keys, if you don't have them.
- Get a test identity for each eID you use, see below.
- Start a flow and poll its
GETendpoint until it isCOMPLETEDorFAILED. - 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.
- Try the unhappy paths too: cancel in the app, let a flow time out, and start two flows for the same person at once.
- 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 name | First name | One-time password | Password |
|---|---|---|---|---|
| 20123931743 | Duck | Donald | otp | qwer1234 |
| 04081138481 | Mouse | Minnie | otp | qwer1234 |
FTN
The following test users are available:
| User name | Bank |
|---|---|
| DEMOUSER1 | Nordea |
| DEMOUSER2 | Nordea |
| DEMOUSER3 | Nordea |
| DEMOUSER4 | Nordea |
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 number | Verification code |
|---|---|---|
| 55074308332 | +4790881716 | 1236 |
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.