Skip to content

Commit

Permalink
document MitID Ervherv VAT ID prefill feature
Browse files Browse the repository at this point in the history
  • Loading branch information
mickhansen committed Mar 25, 2024
1 parent 0451f99 commit 12a9852
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/pages/verify/e-ids/danish-mitid-erhverv.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@ You can determine which kind of option the user selected by inspecting the claim
- Company signatory logins will have a `companySignatory` claim with value `true`.
- Private logins will have neither of the above.

### Pefill VAT ID (CVR number)

If you already have an expectation of what company the user will login on behalf of, you can prefill the VAT ID (CVR number)
to limit their selection choice (if multiple roles in the same company) or skip the company selector all together.

- When activating MitID Erhverv via acr_values: `urn:grn:authn:dk:mitid:business`: `login_hint=vatid:DK<CVR>`
- When activating MitID Erhverv via login_hint: `login_hint=business vatid:DK<CVR>`

## Test users

To test business logins with MitID Erhverv, you will start by [creating a test organization](/verify/e-ids/danish-mitid-erhverv/#create-test-organization) and [a test user](/verify/e-ids/danish-mitid-erhverv/#create-test-users), and then [connect the test user](/verify/e-ids/danish-mitid-erhverv/#connect-user-to-organization-as-an-employee) to the organization as an employee.
Expand Down

0 comments on commit 12a9852

Please sign in to comment.