Skip to content

Commit

Permalink
add MitID Ervherv to prefill page
Browse files Browse the repository at this point in the history
  • Loading branch information
mickhansen committed Mar 25, 2024
1 parent 12a9852 commit f145203
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/pages/verify/e-ids/danish-mitid-erhverv.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ 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)
### Prefill 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.
Expand Down
9 changes: 5 additions & 4 deletions src/pages/verify/guides/prefilled-fields.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ By default the user is prompted for this data when needed, but if you would like
The actual support for controlling the input data varies by eID method:

1. Danish MitID: Use `login_hint=sub:<CPR>` where `<CPR>` has the format `DDMMYYXXXX`
2. Swedish BankID: Use `login_hint=sub:<SSN>` where `<SSN>` has the format `YYYYMMDDXXXX`
3. Norwegian BankID Mobile: Use `login_hint=BIM:<PHONENUMBER>:<BIRTHDATE>` where `<PHONENUMBER>` has 8 digits and `<BIRTHDATE>` has the format `DDMMYY`
4. Norwegian BankID Kodebrikke: Use `login_hint=BID:<SSN>` where `<SSN>` has the format `DDMMYYXXXXX`
5. Norwegian BankID Biometrics: Use `login_hint=BIS:<SSN>` where `<SSN>` has the format `DDMMYYXXXXX`
2. Danish MitID Erhverv: Use `login_hint=vatid:DK<CVR>`, [additional details](/verify/e-ids/danish-mitid-erhverv/#prefill-vat-id-cvr-number)
3. Swedish BankID: Use `login_hint=sub:<SSN>` where `<SSN>` has the format `YYYYMMDDXXXX`
4. Norwegian BankID Mobile: Use `login_hint=BIM:<PHONENUMBER>:<BIRTHDATE>` where `<PHONENUMBER>` has 8 digits and `<BIRTHDATE>` has the format `DDMMYY`
5. Norwegian BankID Kodebrikke: Use `login_hint=BID:<SSN>` where `<SSN>` has the format `DDMMYYXXXXX`
6. Norwegian BankID Biometrics: Use `login_hint=BIS:<SSN>` where `<SSN>` has the format `DDMMYYXXXXX`

<Highlight icon="file-lines">

Expand Down

0 comments on commit f145203

Please sign in to comment.