Repository navigation
Need to empty User Cache after calling user.leaveGroup() #17080
Unanswered
janinehaas
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
We are customizing Keycloak and we use the Java function user.leaveGroup().
The user is removed from the group as a member (click on group and then members) but the group still shows up in the user´s groups (click on user and then groups). So, the two views does not show the same.
After clearing the user cache manually, the group is also removed under the user´s group tab.
Is there a better posibility than clearing the cache?
Is there an alternative to the depricated session.userCache()?
All reactions