We try to create a user with predefined client- and realm roles and a group with the admin rest api. We want to assign the role 'billing' for client 'webapp', the realm role 'require_otp' and join group 'testGroup' on user creation.
If we send the following request body to /realm/users we get a response 200 with the created user but if we check in the admin console, client roles, realm roles and the group is not assigned.
- Send a post request to /realm/users with the request body specified above
- Check the user in the admin console