-
Notifications
You must be signed in to change notification settings - Fork 323
Closed
Milestone
Description
Looking at the UAA API, I can see that create user does indeed support the zone id header - seems like the UAA Java client library doesn't. Looking at https://docs.cloudfoundry.org/api/uaa/#create64 , X-Identity-Zone
headers are present.
Using below code.
CreateUserRequest createUserRequest = CreateUserRequest.builder()
.userName(USERNAME)
.password(PASSWORD)
.email(Email.builder().primary(true).value(USER_EMAIL).build())
.active(true)
.verified(true)
.name(Name.builder().givenName("test").familyName("user").build())
.build();
CreateUserResponse createUserResponse = izUAAClient.users().create(createUserRequest).block();
Thank you,
Sridhar
Metadata
Metadata
Assignees
Labels
No labels