Declarative Jenkins pipeline for creating users and assigning roles to them in KeyCloak
The target solution is located in the "HTTP Request Plugin" directory.
You need to change the REST endpoints in the KeyCloak Functions.groovy methods (fullUrl variables). Current endpoints work for the custom fork of Keycloak from version 22.0.3.