Task #17927
WSC: groupnew()
Start date:
Due date:
% Done:
0%
Estimated time:
Description
The web service should accept group details as input and create a corresponding group in Keycloak.
- Use Alya to create the web service.
- Use gocloak to create a group in Keycloak based on the input group details.
- This web service will create a new group attribute with name capabilities with value empty JSON
{}
- It will also create a mapper to map this capabilities attribute with a field in claims called [groupName]Capabilities e.g. if the group name is accounts the mapper name will be accountsCaps and the field in the claims will be accountsCaps.
- Handle any errors that may occur during the group creation process and returning the error response.
- Test the web service to ensure it creates group correctly in Keycloak.