[GraphQL API] Filtering / getting an user by their ProviderId #7137
Unanswered
PedroPerpetua
asked this question in
Help / Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently trying to write a service that requires to, given a KeycloakId, retrieve the corresponding WikiJS user to be able to associate it with a certain WikiJS group.
Unfortunately, the only way to actually match a Keycloak user to a WikiJS user appears to be to request every single WikiJS user individually until we find a match; the user list API returns a MinimalUser that does not contain the ProviderId; and there's no other way to filter by that attribute.
This is obviously a bad approach, and I'm wondering if there's some other way I'm missing?
Beta Was this translation helpful? Give feedback.
All reactions