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
Upload the file to the client importer and click on `Save`.
110
+
111
+
image::keycloak-user-info-fetcher/2.png[]
112
+
113
+
Afterwards you need to modify the created user `service-account-user-info-fetcher`.
114
+
To achieve this open the user and click on the `Role mapping tab`:
115
+
116
+
image::keycloak-user-info-fetcher/3.png[]
117
+
118
+
Assign the role `view-users` as shown below.
119
+
This is needed, so that the user is allowed to read other users information.
120
+
121
+
image::keycloak-user-info-fetcher/4.png[]
122
+
123
+
Afterwards you can store the user-info-fetcher credentials in Kubernetes with something like
124
+
125
+
[source,yaml]
126
+
----
127
+
apiVersion: v1
128
+
kind: Secret
129
+
metadata:
130
+
name: user-info-fetcher-client-credentials
131
+
stringData:
132
+
clientId: user-info-fetcher
133
+
clientSecret: XXX # replace with your chosen password
134
+
----
135
+
73
136
[#backend-activedirectory]
74
137
=== Active Directory
75
138
@@ -153,6 +216,23 @@ An example of the returned structure:
153
216
154
217
NOTE: The exact formats of `id` and `groups` will vary depending on the xref:#backends[backend] in use. This example is using the xref:#backend-keycloak[] backend.
155
218
219
+
=== Debug request
220
+
221
+
To debug the user-info-fetcher you can `curl` it's API for a given user.
222
+
To achieve this shell into the `user-info-fetcher` container and execute
0 commit comments