mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-09 23:12:06 -03:30
Add quotes to payload when adding user to organization
Fixes #43812 (cherry picked from commit 0b2d673cb70476369367774a5eacf93700b8537c) Signed-off-by: Stan Silvert <ssilvert@redhat.com>
This commit is contained in:
parent
3442d9b087
commit
1e48f9e512
@ -146,7 +146,7 @@ export const Members = () => {
|
||||
selectedRows.map((user) =>
|
||||
adminClient.organizations.addMember({
|
||||
orgId,
|
||||
userId: user.id!,
|
||||
userId: `"${user.id!}"`,
|
||||
}),
|
||||
),
|
||||
);
|
||||
|
||||
@ -191,7 +191,7 @@ export const Organizations = ({ user }: OrganizationProps) => {
|
||||
return shouldJoin
|
||||
? adminClient.organizations.addMember({
|
||||
orgId: org.id!,
|
||||
userId: id!,
|
||||
userId: `"${user.id!}"`,
|
||||
})
|
||||
: adminClient.organizations.inviteExistingUser(
|
||||
{ orgId: org.id! },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user