How do we import LDAP groups using the artifactory_ldap_group_setting
resource
#767
-
the LDAP group resource allows for creating the group, however, I still have to click the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
@EkhatorOwen Sorry for the late reply. Let me take a look and get back to you. |
Beta Was this translation helpful? Give feedback.
-
It's possible to emulate the ajax call that the UI makes to the backend, as long as you can obtain a refresh token to pass with it: curl 'https://YOUR_JFROG_HOSTNAME/ui/api/v1/access/api/ui/ldap/groups/import' \
-H 'Content-Type: application/json' \
-H 'Cookie: ACCESSTOKEN='${ACCESS_TOKEN}'; REFRESHTOKEN='${REFRESH_TOKEN} \
-H 'X-Requested-With: XMLHttpRequest' \
--data-raw '{THE PAYLOAD THAT YOU SEE WHEN YOU INSPECT THE UIs IMPORT-GROUP REQUEST IN YOUR BROWSER}' |
Beta Was this translation helpful? Give feedback.
As far as I can tell, there is currently no API support to synchronize and import LDAP groups. Please open a feature request ticket with JFrog customer support. Once the API is released, we can add the support to the provider.