Skip to content

Commit e4e1519

Browse files
authored
Updated steps
1 parent acf58c2 commit e4e1519

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

source/kombit-adgangsstyring/kombit-adgangsstyring.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ Steps:
3131
a. Edit the file with a suiteable text editor, such as: VSCode, SublimeText or notepad++.
3232
b. Replace all instances of :code:`{YOUR_BASE_URL}` with your actual base url, i.e. :code:`test.os2iot.dk`.
3333
c. Replace all instances of :code:`{YOUR_PUBLIC_KEY_AS_BASE64}` with the base64 encoded part of the certificate (without newlines), i.e. :code:`<X509Certificate>MIIGJDCCBQygAwIBAgIEXd/ZTjANBgkqhkiG9w0BAQsFADBAMQswCQYDVQQGEwJESzESMBAGA1UECgwJVFJVU1QyNDA...=</X509Certificate>`
34+
(Tip: `{YOUR_PUBLIC_KEY_AS_BASE64}` is the extracted certificate)
35+
3436

3537
3. Create an IT-system in KOMBIT adgangsstrying:
3638
a. Stamdata:
@@ -50,15 +52,19 @@ Steps:
5052
i. Navn: os2iot-adgang-brugersystemrolle
5153
ii. Domæne: os2iot.dk
5254
iii. Rollenavn: adgang
53-
iv. Version: 1
54-
v. This must yield the URI: :code:`http://os2iot.dk/roles/usersystemrole/adgang/`, if another one is wishes then pass the environment variable :code:`KOMBIT_ROLE_NAME` to the backend (default: :code:`http://os2iot.dk/roles/usersystemrole/adgang/`).
55+
iv. Version: Choose a unique number (If its already in use you will get an error)
56+
v. This must yield the URI: :code:`http://os2iot.dk/roles/usersystemrole/adgang/`, if another one is wished then pass the environment variable :code:`KOMBIT_ROLE_NAME` to the backend (default: :code:`http://os2iot.dk/roles/usersystemrole/adgang/`).
5557
vi. Save the IT-system
58+
59+
|image1|
60+
5661
b. Create a Jobfunktionsrolle (or update existing)
5762
i. Navn and Rollenavn is decided by you.
5863
ii. Press "Tilknyt brugersystemrolle" and locate the IT-system and brugersystemrolle created above and save it.
5964
iii. Save the jobfunktionsrolle.
6065
c. Update your IdP to give the relevant users the jobfunktionsrolle created here.
6166

67+
6268
5. Configure OS2IoT-backend to support KOMBIT adgangsstrying:
6369
a. You need to add two environment variables to the command running the backend server in your environment.
6470
i. This can be using the :code:`.env` file, or by setting them in some other manner.

0 commit comments

Comments
 (0)