As the user is already logged-in just do a redirect to login screen to
obtain a new token. This will be more or less invisible to the user.
On 25 November 2016 at 08:42, Mariusz Chruscielewski - Info.nl <
mariusz(a)info.nl> wrote:
Hi,
In our case, when customer pays for subscription, we add subscription
number and additional role to his account in KC. During this process
customer is logged in, is there a way to smoothly update his session
details, to include new role (without logout/login) ?
We use Java adapter to secure our webapp. Is there a way to update
Keycloak Context from java (API call?)
Kind Regards,
Mariusz ChruĊcielewski
software engineer
mariusz@info.nl<mailto:mariusz@info.nl> | LinkedIn<https://www.linkedin.
com/in/mariusz-chruscielewski> | +31 (0)20 530 9113<tel:+31205309113%20>
info.nl <
http://www.info.nl>
Sint Antoniesbreestraat 16 | 1011 HB Amsterdam | +31 (0)20 530 9100
<tel:+31205309100>
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user