Clearing Caches at Runtime
为了清除 realm or user cache, go to the Keycloak admin console Realm Settings→Cache Config page. On this page you can clear the realm cache, the user cache or cache of external public keys. This will clear the caches for all realms and not only the selected realm.