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 necessary to allow the user 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 in a Secret:
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
@@ -165,6 +228,23 @@ An example of the returned structure:
165
228
166
229
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.
167
230
231
+
=== Debug request
232
+
233
+
To debug the user-info-fetcher you can `curl` it's API for a given user.
234
+
To achieve this shell into the `user-info-fetcher` container and execute
0 commit comments