You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to aggregate user data from various sources in a singular keycloack instance.
To do so I've made various custom attributes inside the user profile of a Realm and I'm populating tehm with a python script that act as middleware between the various data sources and keycloack.
My problem is that when I make a REST call to an user I'll only get the attributes that are currently filled, if an attribute is empty it won't be returned as an empty list, it will simply not be returned.
I thougth the behaviour was dictated by the "Enabled when" field inside the attribute but it's set to always and it still doesn't work.
It's not the end of the world, I can still populate the attributes via API as long as I know how they're named, but if I make an error at import time I receive no indication that there where problems, the request will return 204 anyway and if I send a correctly name attribute in the same call as a wrongly named one the correct attribute will be populated correctly.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I'm trying to aggregate user data from various sources in a singular keycloack instance.
To do so I've made various custom attributes inside the user profile of a Realm and I'm populating tehm with a python script that act as middleware between the various data sources and keycloack.
My problem is that when I make a REST call to an user I'll only get the attributes that are currently filled, if an attribute is empty it won't be returned as an empty list, it will simply not be returned.
I thougth the behaviour was dictated by the "Enabled when" field inside the attribute but it's set to always and it still doesn't work.
It's not the end of the world, I can still populate the attributes via API as long as I know how they're named, but if I make an error at import time I receive no indication that there where problems, the request will return 204 anyway and if I send a correctly name attribute in the same call as a wrongly named one the correct attribute will be populated correctly.
All reactions