Closed tjidde-nl closed 1 year ago
@tjidde-nl Thanks for the detailed report.
We have a test for this, which isn't failing, but it looks like it is possible for there to be an NPE in OrganizationAdapter.java:194
. Try building from https://github.com/p2-inc/keycloak-orgs/tree/xgp/bug-141, replacing the keycloak-orgs
jar in your test, and see if that clears up the issue.
@xgp Thanks it worked!
I get the data I want.
Hi all!
We got phase-two/keycloak:22.0.1 running on our test server in docker. With a postgresDB on the same machine.
We added multiple organizations to our realm.
If we do a request to get all members/users from an organization we run in some problems.
We do a call to https://#KEYCLOAKDOMAIN#/auth/realms/#realmname#/orgs/4fd20bdc-6fec-43ad-b5f8-fbbbb3bc5a50/members
We get either just as an result the following
[]{ "error": "unknown_error"}
Or we get the auto generated user and the unknown_error
The token we send with the request has all roles of an organization.
If I turn on the option for debug logging I see the following in the logs
Any tip or solution to fix this problem?
If you all need some more information just ask.