Introduction
IDkollen provides a JSON/REST API for authenticating and signing with MitID.
Choosing a flow
| Situation | Use |
|---|---|
| The user logs in on your website | Authentication: redirect the user to MitID |
| You are talking to the user on the phone, or know their SSN | Backchannel auth (beta) |
| The user should approve a text | Signing |
| You only need to know that the user is old enough | Age verification. You get the answer, not the identity. |
Usage flow
- The user initiates an authentication or sign via the partner's interface.
- The partner calls IDkollen's API with the secret key to get the login link or sign link to MitID.
- The partner sends the login link or sign link to the end user to use to authenticate themselves or sign with.
- Once the end user has authenticated themselves, the user will be redirected to a redirect URL provided to IDkollen by you, with the flow's
id. - The partner fetches the result with the
id. - IDkollen responds with the end user's identity or the sign result.
Testing
Test users and test apps for staging are listed under Testing.
More information
If you have any questions, please contact us at support@idkollen.se.