[keycloak-user] Offline tokens - how to revoke a single token?

Przemek Bielicki przemek at gradle.com
Wed Sep 11 05:01:13 EDT 2019


Hi,

afaik it's only possible to revoke all for given user / client: DELETE
http://localhost:5081/keycloak/admin/realms/{realm}/users/{userId}/consents/{client}

I could not find REST API do revoke single tokens. Does it exist?

Cheers,
Przemek

On Wed, Sep 11, 2019 at 10:29 AM Rivat Olivier <orivat at janua.fr> wrote:

> Hi,
>
> Have a look at following blog. With the admin UI or Self self-service
> you easily revoke offLine Sessions.
> http://www.janua.fr/offline-sessions-and-offline-tokens-within-keycloak/
>
> You should also be able to do it with REST API, but I haven't had time
> to describe it.
>
> Regards,
> Olivier Rivat
>
>
> Le 11/09/2019 à 10:19, Przemek Bielicki a écrit :
> > Hi,
> >
> > is it possible to revoke single offline token? How?
> > If not, do you consider adding such feature?
> > If not, why? Is there any specific reason why it's not possible to revoke
> > offline tokens one by one?
> >
> > Thanks,
> > Przemek Bielicki
> > _______________________________________________
> > keycloak-user mailing list
> > keycloak-user at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/keycloak-user
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user


More information about the keycloak-user mailing list