Introduction
IDkollen provides a JSON/REST API for authenticating and signing with BankID.
Choosing a flow
| Situation | Use |
|---|---|
| The user logs in on your website on a computer | Authentication, showing a QR code |
| The user logs in on the phone or computer that has BankID | Authentication, with app start |
| You are talking to the user on the phone | Phone auth |
| The user should approve a text, such as an agreement | Signing |
| Someone shows you a BankID digital ID card | ID verification |
| You only need to know that the user is old enough | Age verification. You get the answer, not the identity. |
To only accept one specific person, send their ssn when starting. Send the user's ipAddress to get BankID's risk
assessment in the result.
Usage flow
- The user initiates an authentication via the partner's interface.
- The partner calls IDkollen's API to start an authentication.
- IDkollen sends response to partner with information about the initiated authentication.
- The partner uses the information to launch BankID on the users device.
- The user identifies themselves with BankID.
- The partner fetches the result or gets it via their callback endpoint.
Testing
Test users and test apps for staging are listed under Testing.
More information
For more information about error messages and how the BankID API works in general, please refer to the BankID Relying Party Guidelines.
If you have any questions, please contact us at support@idkollen.se.