You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/kombit-adgangsstyring/kombit-adgangsstyring.rst
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,8 @@ Steps:
31
31
a. Edit the file with a suiteable text editor, such as: VSCode, SublimeText or notepad++.
32
32
b. Replace all instances of :code:`{YOUR_BASE_URL}` with your actual base url, i.e. :code:`test.os2iot.dk`.
33
33
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
+
34
36
35
37
3. Create an IT-system in KOMBIT adgangsstrying:
36
38
a. Stamdata:
@@ -50,15 +52,19 @@ Steps:
50
52
i. Navn: os2iot-adgang-brugersystemrolle
51
53
ii. Domæne: os2iot.dk
52
54
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/`).
55
57
vi. Save the IT-system
58
+
59
+
|image1|
60
+
56
61
b. Create a Jobfunktionsrolle (or update existing)
57
62
i. Navn and Rollenavn is decided by you.
58
63
ii. Press "Tilknyt brugersystemrolle" and locate the IT-system and brugersystemrolle created above and save it.
59
64
iii. Save the jobfunktionsrolle.
60
65
c. Update your IdP to give the relevant users the jobfunktionsrolle created here.
61
66
67
+
62
68
5. Configure OS2IoT-backend to support KOMBIT adgangsstrying:
63
69
a. You need to add two environment variables to the command running the backend server in your environment.
64
70
i. This can be using the :code:`.env` file, or by setting them in some other manner.
0 commit comments