----- Original Message -----
From: "Jae Choi" <jaekun.choi(a)gmail.com>
Sent: Tuesday, February 3, 2015 8:42:56 AM
Subject: [keycloak-dev] How to refresh and update token
Custom User Federator is updated again?
I'm actually storing token retrieved from another service provider as user
attribute. It is stored first time when the user logs in (and saves the user
data into the Keycloak database) but there isn't easy way to update the
attribute with the adaptor?
I don't quite understand your use-case, but it sounds like what you're doing with
your custom user federator is better done in the new identity brokering feature Pedro is
working on which will be available in 1.2.0.Beta1.
The JS adapter provides the updateToken method to refresh the token, see
keycloak-dev mailing list