Accessing the administration interface in Keycloak
The first time you log in
To manage groups in Keycloak your -drift user has to be a member of the group it-usit-weblogin-gjest-admin. If you are not a member and need access, contact USITINT ukevakt.
To access the administration interface of Keycloak you must have local two-factor authentication enabled for your -drift user. You can do this on passord.uio.no


If you are able to download the drifts-vdi client to your local machine that is recommended.
Log in to the drifts-vdi with you -drift user
Start the client, or access it through your browser at https://view-mgmt.uio.no/. Acessing through the browser:
1. Go to https://view-mgmt.uio.no/
2. Choose VMware Horizon HTML Access
3. You will be sent to a login window. Fill out the username of your -drift user in the username field, then provide the local two-factor authentication code in the field "One-Time Code". This is the local two-factor authentication set up at passord.uio.no.
Tip: If the current code is about to run out, wait for a new one to appear. Even if you are able to fill inn the code before it expires, it might fail if there is not enough time for the application to verify it.
4. You will be presented with a new login window. Fill in your -drift users username and password.
5. After acessing the drifts-vdi, choose your preferred client. The examples use "Linux Drift UiO-IT".
6. You are now using drifts-VDI! Start a browser e.g. Firefox. If you can't find a browser to access, press 'Activities' in the upper left corner, or search for Firefox in the search field.
You can now log in to the administration interface in Keycloak.
Log in to Keycloak inside a drifts-vdi
1. In the browser ; go to admin.weblogin2.uio.no and log in with your -drift user. You will be asked to log in with two-factor authentication. When you log in to Keycloak for the first time you will have to set up two-factor authentication spesificly for Keycloak, so follow the instructions given. (This is not the same two-factor authentication as the previously mentioned local 2FA which is set up on passord.uio.no)
2. If you are not sent directly to the group administration page, choose WebID Group Admin in the drop-down menu to the left.
3. You should now be able to see "Users" and "Groups" in the menu to the left. You are ready to administer WebID-groups!
Manage groups in Keycloak
To manage groups in Keycloak, log in as described above.
Create a group
1. Choose "Groups" in the menu to the left. You will be presented with a list of already created groups.
2. Check the provided list to make sure the group you want to make does not already exist.
3. Press "Create Group" to create a new group. Only use letters, numbers and hyphens.
4. A new window will appear. Here you enter the name you want your group to have, and then press "Create".
Note: After creating the group, you will have to add a member as soon as possible, as the group will be deleted if there are no members.
Users that can be added to groups in Keycloak
There are three types of users that can be added to WebID-groups:
- WebID-users. These users have registered as WebID-users, see brukerveiledning for ? opprette en ny WebID-bruker.
- UiO-users.
- Feide-users. These users must have logged in with Weblogin2 to be searchable, and to be added to groups.
Add users to a group
1. Click Groups in the menu to the left in Keycloak.
2. Find the group you want in the list of available groups and click it. Go to the tab called 'Members'.
3. Click 'Add members' and find the user in the list provided. You can use the search field to find the correct username.
5. Tick the boxes for the user(s) you want to add to the group, and then press the 'Add'-button.
Note: The first time you attempt to add a user in a new group, you will get the error message "Could not add users to the group". Ignore this error, and press the 'Add'-button again.
Remove users from a group
1. Click Groups in the menu to the left in Keycloak.
2. Find the group you want to remove user(s) from. Go to the tab 'Members', and then find the user(s). Press the button with three dots at the far right of the user, and click the 'Leave'-button. The user(s) should now be removed from the group.
Change the name of a group
It is not possible currently to change the name of your group. If there is an error in the naming of the group you will have to create a new one instead.
Delete a group
It is not yet possible to delete a group in Keycloak.