[keycloak-dev] OAuth2 revoke

Marek Posolda mposolda at redhat.com
Mon Sep 22 03:44:50 EDT 2014


Hi,

there is exception in the log like:

Caused by: org.apache.http.conn.HttpHostConnectException: Connection to http://localhost:8081 refused

isn't it possible that adminURL for some of your applications is not 
configured correctly (like there is localhost:8081 instead of 
localhost:8080)?

Btv. I've created JIRA https://issues.jboss.org/browse/KEYCLOAK-709 as 
currently it seems that if ResourceAdminManager.logoutUser wants to call 
logout to more applications (like app1 and app2) and logout to app1 
fails, then RuntimeException is thrown and logout to app2 is not called 
at all, which doesn't seem to be correct behaviour to me.

Marek


On 20.9.2014 17:48, Corinne Krych wrote:
> Hello
>
> Trying to implement AGIOS-206 [1] linked to [2], what iI need is a revoke of all tokens (refresh and access token).
>
> I've tried ‘logout’ with a refresh token this endpoint:
> http://docs.jboss.org/keycloak/docs/1.0.1.Final/rest-api/realms/%7Brealm%7D/tokens/logout/index.html#POST
> for a public client.
> I run appliance 1.0-final distribution of key cloak.
>
> But I run into this exception [3] after a timeout. Anything else I can try or should I just wait for revoke feature to be implemented in Keycloak?
>
> ++
> Corinne
>
> [1] https://issues.jboss.org/browse/AGIOS-206
> [2] https://issues.jboss.org/browse/KEYCLOAK-312
> [3] https://gist.github.com/corinnekrych/53bd73c4e047281a94f1
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev



More information about the keycloak-dev mailing list