Flowable user needs to re-login for update the role in keyclaok

In Flowable Keycloak integration, after updating the roles of the user, he/she need to log out and log in again in Flowable for getting the newer access roles.

Is there any env. variable for this or any update in code. Your help will be appreciated. Thank you.