[keycloak-user] How to know when to get a refreshed bearer token

Bill Burke bburke at redhat.com
Wed Jan 7 09:11:07 EST 2015


IIRC, if you're using the correct APIs (in Javascript or on the server 
side), the token will be automatically updated for you when you request it.

On 1/7/2015 4:06 AM, Hubert Przybysz wrote:
> Hi,
>
> My jee web application uses its bearer token when issuing AJAX requests
> to other REST services within the realm (but at different origins). It
> does it by reading the exposed bearer token prior to making an AJAX
> request. Is there a mechanism by which the application may find out when
> the bearer token is refreshed, to make it possible to read the bearer
> token only when needed ?
>
> Br / Hubert.
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com


More information about the keycloak-user mailing list