By: Adeel Ansari user 28 Jun 2020 at 3:49 p.m. CDT

2 Responses
Adeel Ansari gravatar
Is it possible to fetch users from another system that has GetUser rest API into Gluu? I am looking for something like cache refresh, but not for AD/LDAP rather a 3rd party system that has GetUser API available. I want to bring those users into Gluu. Thanks

By Michael Schwartz Account Admin 28 Jun 2020 at 9:32 p.m. CDT

Michael Schwartz gravatar
Write a custom authentication script... authenticate versus remote source, fetch attributes, and on the fly create an entry in the Gluu LDAP server. If this is an opportunity for which you would be interested in buying VIP support, let us know, and we can discuss on a Zoom call.

By Aliaksandr Samuseu staff 29 Jun 2020 at 4:22 p.m. CDT

Aliaksandr Samuseu gravatar
If you can first dump all your users (for example, by writing a script that calls your API in a loop) and save them in some easily parse-able format (like JSON or CSV file), a few more options come to mind in addition to what Michael has mentioned: 1. You could try to import CSV/XLS file from oxTrust web UI as described [here](https://gluu.org/docs/gluu-server/4.1/user-management/local-user-management/#import-people-in-oxtrust). It may happen to be quite limiting though, and was reported to handle huge blobs of users not so good 2. In 4.1 and later oxTrust now offers REST API that helps automating many UI tasks. In particular, [this function](https://gluu.org/docs/gluu-server/4.1/api-guide/oxtrust-api/#createperson) allows you to create a user. So you could iterate through your dumped user data by calling it, pushing your users one by one 3. You could employ [SCIM REST API](https://gluu.org/docs/gluu-server/4.1/api-guide/scim-api/) But as Michael has pointed out, to get timely assistance with any of these approaches, you probably would want to have a support contract.