keycloak-nodejs-admin-client
keycloak-nodejs-admin-client copied to clipboard
group.spec.ts does not contain example of how to add attributes while creating groups
Description
Just started using this library to manage our REST api requests.
Our requirement was to create a group with some attributes but there was no example for the same.
The official documentation mentions the key attribute but representation of the same is missing
After going through QA on stackoverflow i found the representation of attribute map is something like this
kcAdminClient.groups.create({ name: 'Some Group', attributes: { someAttr1: ["val1"], someAttr2: ["val2"] } });
Can we add a testcase for the same to the group.spec.ts ?
Discussion
No response
Motivation
No response
Details
No response
I am all for adding more tests. Feel free to open up a PR for this :+1: