User sync doesn't work on RC 4.7.0 #12

Open
opened 2022-05-13 07:12:42 +00:00 by Hofer · 2 comments
Hofer commented 2022-05-13 07:12:42 +00:00 (Migrated from lab.libreho.st)

Getting the following:

[
  "{\"stack\":\"TypeError: Cannot read property 'content' of undefined\\n    at RcSdk.parseResponse (evalmachine.<anonymous>:40:23)\\n    at RcSdk.request (evalmachine.<anonymous>:67:24)\\n    at UsersEndpoint._get (evalmachine.<anonymous>:16:19)\\n    at UsersEndpoint.get (evalmachine.<anonymous>:68:34)\",\"message\":\"Cannot read property 'content' of undefined\"}"
]

Using auth mode bearer token. Using the credentials from the token created in RC.

If I enable import during sync i'm getting an error, if i don't nothing happens. Always 0 users have been changed.

Keycloak Logs:

07:08:07,734 ERROR [org.keycloak.services.error.KeycloakErrorHandler] (default task-8) Uncaught server error: java.lang.RuntimeException: com.unboundid.scim2.common.exceptions.ServerErrorException: Cannot read property 'content' of undefined

Not sure if it's an issue with keycloak or rocketchat.

Getting the following: ``` [ "{\"stack\":\"TypeError: Cannot read property 'content' of undefined\\n at RcSdk.parseResponse (evalmachine.<anonymous>:40:23)\\n at RcSdk.request (evalmachine.<anonymous>:67:24)\\n at UsersEndpoint._get (evalmachine.<anonymous>:16:19)\\n at UsersEndpoint.get (evalmachine.<anonymous>:68:34)\",\"message\":\"Cannot read property 'content' of undefined\"}" ] ``` Using auth mode bearer token. Using the credentials from the token created in RC. If I enable import during sync i'm getting an error, if i don't nothing happens. Always 0 users have been changed. Keycloak Logs: `07:08:07,734 ERROR [org.keycloak.services.error.KeycloakErrorHandler] (default task-8) Uncaught server error: java.lang.RuntimeException: com.unboundid.scim2.common.exceptions.ServerErrorException: Cannot read property 'content' of undefined` Not sure if it's an issue with keycloak or rocketchat.
Hofer commented 2022-05-13 07:15:12 +00:00 (Migrated from lab.libreho.st)

Here is the full keycloak.log
keycloak.log

Here is the full keycloak.log [keycloak.log](/uploads/da34a78d11d95ce1705331802e0ae57b/keycloak.log)
hugo.renard commented 2022-05-16 09:46:19 +00:00 (Migrated from lab.libreho.st)

Hey ! Are you using the latest version of the scim apps on both sides ? Because bearer token doesn't work anymore with rc. You need to select basic auth mode on kc and fill the rc user id as username and the rc token as password. Sorry I wasn't clear.

Hey ! Are you using the latest version of the scim apps on both sides ? Because bearer token doesn't work anymore with rc. You need to select basic auth mode on kc and fill the rc user id as username and the rc token as password. Sorry I wasn't clear.
This repo is archived. You cannot comment on issues.
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: libre.sh/rocketchat-scim#12
No description provided.