What you need
- A Dorvis account in the self-service portal. The Dorvis team creates it after you apply, and test credentials are issued by hand, without a contract
- An app with an OpenID Connect library (Node.js, Python, PHP, Java, .NET, Go or WordPress)
- A redirect URI where Dorvis sends the user after login. For local development,
http://localhost:3000/callbackalso works
Steps
- Once the account exists, log in to the self-service portal and open Client integrations.
- Click New integration and enter the service name and redirect URI.
- Copy the
client_idandclient_secret. The portal shows the secret only once, so store it safely straight away. - Put the credentials into your app configuration together with the Dorvis issuer URL.
- Start the app and open the login. Dorvis shows the methods enabled for your integration.
- After login, read
given_name,family_nameandperson_codefrom the ID token.
OIDC_ISSUER_URL=https://dorvis.eu/oidc
OIDC_CLIENT_ID=your-client-id
OIDC_CLIENT_SECRET=your-client-secret
OIDC_REDIRECT_URL=http://localhost:3000/callback
ACR_VALUES=idp:edimMost libraries read every endpoint from the discovery document, so the issuer is all you need to set.
curl https://dorvis.eu/oidc/.well-known/openid-configurationNext steps
- Read how the Authorization Code flow works and add
state,nonceand PKCE - Use
acr_valuesto open one method without the Dorvis selection page - Find ready-to-run examples in seven languages on the Examples page
Did not find the answer?
Write to us and a developer will reply.






