Create MitID Erhverv test users (test business users) in the integration test environment

To create and activate MitID Erhverv test users, you must have previously created private MitID test users.

With private MitID test users created in the MitID Simulator, you can create MitID Erhverv test users in the integration test environment.

The guides below explain step by step how you can:

  1. create a MitID Erhverv test user in the MitID Erhverv integration test environment
  2. activate a MitID Erhverv test user.

To create MitID Business users, you must have created a:

  • test user organisation in the integration test environment
  • private MitID test user in the MitID Simulator in the integration test environment.

Please note that you must repeat the 2 processes below for each organisation if you want to use the same private test user for multiple organisations.

You must create a test organisation. The test organisation can have your own CVR number or a dummy CVR number. Read more here:

MitID Erhverv integration test environment: How to create a test organisation in MitID Erhverv integration test environment: 

You must create them in the MitID Simulator. Follow this guide:

Create private MitID test users in the integration test environment

Create MitID Erhverv test user (test business user) in MitID Erhverv

There are 3 tabs:

  • MitID
  • Local login
  • Test login

Click on the "Test login" tab.

To log in to MitID Erhverv integration test environment, you must enter::

  • user ID
  • password.

Once you have filled these in, press the "Log on" button.

The user ID can be found in the confirmation email you received when you created a test organisation.

The password is the code you chose yourself when creating the test organisation.

Once you are logged in, select "Settings" from the menu.

Then select "Authenticators". This will expand the settings for authenticators.

Under "Private MitID" you should check that:

  • "Yes, organisation accepts use of private MitID" is selected
  • there is a tick in the box "Private MitID (e.g. private MitID app)".

Here's how to find "Create user" in MitID Erhverv: Menu > Users > Create user.

If your organisation has up to 8 users, the "Create user" button is located after the list of users.

If your organisation has more than 8 users, the "Create user" button is located before the list of users.

Once you have clicked "Create user", the "Create user" window will appear.

Here's how to find "User information" in MitID Erhverv: Menu > Users > Create user > User information.

You must complete the following 5 mandatory fields with information about the private MitID user you have created in advance:

  • First name
  • Surname
  • CPR number (MitID Erhverv test user must have a CPR number entered in the profile. Otherwise the user cannot log in to the MitID Erhverv integration test environment)
  • Email address (must not contain the letters Æ, Ø and Å if the user is to have a user or organisation certificate. We generally recommend using an email address without Æ, Ø and Å)
  • Telephone number (optional)

You can also tick "Mark user as anonymous" if you wish to test anonymous users in self-services. This means that only the user's UUID, and not their name, will be displayed in self-services when the user logs in or signs on behalf of the test organisation.

The user administrator in the organisation can still see the user's name in MitID Erhverv.

Here's how to find "Authenticators" in MitID Erhverv: Menu > Users > Create user > Identification methods.

Select "Private MitID (e.g. private MitID app)".

If "Private MitID (e.g. private MitID app)" is not shown as an option, you need to adjust your organisation's authenticators settings. If you need to adjust the setup, follow the guidance from step 4.

You will receive an activation email from MitID Erhverv. You must follow the link in the email and activate the user in the MitID Erhverv integration test environment. During activation, you must confirm the user's identity by using the username and password you chose when creating the corresponding private MitID test user.

Go to the next guide below: Activate MitID Business test user.

Activate MitID Erhverv test user (test business user)

When you have clicked the link, the "Activate your user profile" page opens.

The "Start activation" button is at the bottom of the page.

Once you have clicked "Start activation", you will go to the "Log in with your private MitID" page.

The "Log in" button is at the bottom of the page.

When you click the "Log in" button, you will go to the login page.

There are 2 tabs:

  • MitID
  • Test login

Click on the "Test login" tab.

You must enter:

  • user ID
  • password.

Click the "Log on" button.

The user ID can be found in the confirmation email you received when you created the private MitID test user in the MitID Simulator.

The password is the code you chose yourself during creation.

On the "Activate MitID identification methods" page, the option "Yes, I want to use my private MitID" is already selected.

Click the "Next" button at the bottom of the page, and you will go to the "Confirmation" page.

The confirmation page shows confirmation that you can now use the private MitID to act on behalf of the organisation.

You can now use the created MitID Business user to log in and act on behalf of the test organisation for which you have created the user. Please note that the created MitID Business user for testing cannot be used for other test organisations. If you wish to use the same user for another organisation, you must repeat the processes again for that organisation.

To log in, you must use the same username and password that you used in step 5.

To log in, you must use the "Test login" tab.

MitID Erhverv in the integration test environment: Login

Related topics

The following topics may also be relevant to your organisation if it uses advanced functionality in MitID Erhverv: